Страница 1 из 1

Samba3 и шары

Добавлено: 2006-11-24 12:06:28
chani
Народ спасайте! Поднимаю файл сервер, вроде все по статье... Но на этапе подключения клитка, полный облом. При этом wbinfo показывает и группы и пользователей ...


есть пара мест в логах что напрягают:
log.192.168.0.185 -- это клиент

Код: Выделить всё

[root@smb /home/chani]# /var/log/samba/log.192.168.0.185
[2006/11/24 11:59:18, 5] lib/username.c:Get_Pwnam_alloc(131)  Finding user IBG\CHANI
[2006/11/24 11:59:18, 5] lib/username.c:Get_Pwnam_internals(75)  Trying _Get_Pwnam(), username as lowercase is ibg\chani
И соответственно
log.winbindd

Код: Выделить всё

[2006/11/24 12:04:02, 10] nsswitch/winbindd_cache.c:cache_retrieve_response(1995)
  Retrieving response for pid 83531
[2006/11/24 12:04:02, 7] nsswitch/winbindd_async.c:idmap_sid2gid_async(370)
  idmap_sid2gid_async: Resolving S-1-5-21-771996332-3413666989-3700619370-512 to a gid
smb.conf

Код: Выделить всё

[global]
        dos charset = cp866
        unix charset = koi8-r
        display charset = utf8
        workgroup = IBG
        realm = IBG.LOCAL
        server string = Samba Server %v
        interfaces = 192.168.0.110/24
        security = ADS
        auth methods = winbind
        map to guest = Bad User
        password server = 192.168.0.100
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        log level = 10
        log file = /var/log/samba/log.%m
        max log size = 50
        client signing = Yes
        printcap name = /etc/printcap
        disable spoolss = Yes
        os level = 10
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind use default domain = Yes
        printer admin = root
        inherit acls = Yes
        guest ok = Yes
        hosts allow = 192.168.0., 192.168.1., 127.
        map acl inherit = Yes
        case sensitive = No

[tmp]
        comment = Temporary file space
        path = /tmp
        read only = No
        create mask = 0666
        directory mask = 0777

[films]
        comment = Films, films, films
        path = /usr/shares/films
        read list = "@ibg\Domain Users"
        write list = "@ibg\Domain Admins"
        read only = No
        create mask = 0666
        directory mask = 0777
Плиз хелп !

Добавлено: 2006-11-24 21:16:52
Alex Keda
х.з. :)))