Patrick McLean
2006-Jun-01 15:42 UTC
[Samba] wbinfo -u works, getent passwd doesn't (samba 3.0.22 and 3.0.23rc1)
Hi, I am having problems getting winbind working properly on an x86_64 server here. wbinfo -u and wbinfo -g work fine, as with wbinfo -a, but when I try to use getent passwd, I only get local accounts. Here is the relevant part of my nsswitch.conf: passwd: files winbind shadow: files winbind group: files winbind Here is my smb.conf: [global] workgroup = XXXX netbios name = XXXX server string = # log file = /var/log/samba/log.%m max log size = 5000 log level = 1 security = domain password server = * socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 wins server = XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX preserve case = yes os level = 1 winbind separator = + winbind uid = 20000-30000 winbind gid = 20000-30000 winbind trusted domains only = yes winbind use default domain = yes allow trusted domains = yes load printers = no [test] comment = tmp path = /tmp browseable = yes read only = no guest ok = no I can provide output from winbindd -d 10 if needed, but it is a little large to post on-list.
Adam Nielsen
2006-Jun-01 23:15 UTC
[Samba] wbinfo -u works, getent passwd doesn't (samba 3.0.22 and 3.0.23rc1)
> Hi, I am having problems getting winbind working properly on an x86_64 > server here. wbinfo -u and wbinfo -g work fine, as with wbinfo -a, but > when I try to use getent passwd, I only get local accounts.Are you running winbindd? Have you copied the winbind NSS library file into /lib? Cheers, Adam.
Apparently Analagous Threads
- wbinfo -u works, getent passwd doesn't, not nsswitch.conf
- wbinfo -u and -g work, getent passwd works, getent group DOES NOT WORK
- AD integration: "getent passwd" can't see *new* users, but "wbinfo -u" can
- Winbind - wbinfo -u works, getent passwd only gives local users
- getent passwd and wbinfo -u returns machine names too