winbind & nsswitch & FreeBSD domain member

Oleg Palij my_ml at pisem.net
Wed Dec 10 18:35:56 GMT 2003


I installed Samba 3 from ports on FreeBSD 5.1.
I have problems with winbind+nsswitch. When 
domain user tryed to connect to my computer over 
SMB protocol, he asked about username & 
password. And on my comp:
!!!!!!!!!!!!!!!!!!!!!!!!
# id PRIDN\\Administrator
id: PRIDN\Administrator: no such user
!!!!!!!!!!!!!!!!!!!!!!!!

BUT:
# wbinfo -u | grep Admini
PRIDN\Administrator

# wbinfo -t
checking the trust secret via RPC calls 
succeeded

# less /etc/nsswitch.conf
passwd: files winbind
group: files winbind

# ls /usr/lib/*winbin*
/usr/lib/libnss_winbind.so      
/usr/lib/nss_winbind.so
/usr/lib/libnss_winbind.so.1    
/usr/lib/nss_winbind.so.1
/usr/lib/libnss_winbind.so.2    
/usr/lib/pam_winbind.so

# cat /usr/local/etc/smb.conf
[global]
        workgroup = PRIDN
        netbios name = ISCMPD-OLEG_f
        server string = "FreeBSD 5.1"
        security = DOMAIN
        encrypt passwords = Yes
        password server = ISC-CLA SPD
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = lmhosts wins
        load printers = No
        show add printer wizard = No
        os level = 34
        local master = no
        domain master = False
        dns proxy = No
        wins server = 10.6.100.20 10.6.100.2
        idmap uid = 10000-20000
        winbind use default domain = no
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        winbind cache time = 10
        winbind enum users = yes
        winbind enum groups = yes
        template homedir = /home/winnt/%D/%U
        template shell = /usr/local/bin/bash
        guest account = nobody
        dos charset = 866
        unix charset = koi8-r
        message command = wall `echo from %m: `` 
cat %s`;


More information about the samba-technical mailing list