VUlik@cz.soluziona.com
2003-Dec-17 16:31 UTC
[Samba] "getent passwd" doesn't list domain users
__________________ Hi all, I've configured samba 3.0 as a domain memeber in NT 4.0 domain. Server has been added to the domain, without any problems, BUT, for three days...., I'm not able to find a way how to use NT domain resourses for this samba server. I can list domain users and groups with "wbinfo" command from but "getent passwd" lists only the local users. Does anyone know where can be the problem? Thanks Vasek
Did you remember to edit /etc/nsswitch.conf, I always forget that. passwd: files winbind shadow: files group: files winbind -----Original Message----- From: VUlik@cz.soluziona.com [mailto:VUlik@cz.soluziona.com] Sent: 17 December 2003 16:29 To: samba@lists.samba.org Subject: [Samba] "getent passwd" doesn't list domain users __________________ Hi all, I've configured samba 3.0 as a domain memeber in NT 4.0 domain. Server has been added to the domain, without any problems, BUT, for three days...., I'm not able to find a way how to use NT domain resourses for this samba server. I can list domain users and groups with "wbinfo" command from but "getent passwd" lists only the local users. Does anyone know where can be the problem? Thanks Vasek -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Try putting - winbind use default domain = yes In your smb.conf -----Original Message----- From: VUlik@cz.soluziona.com [mailto:VUlik@cz.soluziona.com] Sent: 17 December 2003 16:51 To: Ganguly, Sapan Subject: Odp: RE: [Samba] "getent passwd" doesn't list domain users Yes I did. I edited pam.d/login and system-auth, as well. any other idea? I'll appreciate all of them....... V. "Ganguly, Sapan " <Sapan.Ganguly@th alesgroup.com> Komu "'VUlik@cz.soluziona.com'" 17.12.2003 17:30 <VUlik@cz.soluziona.com>, "'samba@lists.samba.org'" <samba@lists.samba.org> Kopie P?edm?t RE: [Samba] "getent passwd" doesn't list domain users Did you remember to edit /etc/nsswitch.conf, I always forget that. passwd: files winbind shadow: files group: files winbind -----Original Message----- From: VUlik@cz.soluziona.com [mailto:VUlik@cz.soluziona.com] Sent: 17 December 2003 16:29 To: samba@lists.samba.org Subject: [Samba] "getent passwd" doesn't list domain users __________________ Hi all, I've configured samba 3.0 as a domain memeber in NT 4.0 domain. Server has been added to the domain, without any problems, BUT, for three days...., I'm not able to find a way how to use NT domain resourses for this samba server. I can list domain users and groups with "wbinfo" command from but "getent passwd" lists only the local users. Does anyone know where can be the problem? Thanks Vasek -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Try putting both links in anyway, it says you have to in the HOWTO. -----Original Message----- From: VUlik@cz.soluziona.com [mailto:VUlik@cz.soluziona.com] Sent: 17 December 2003 17:45 To: Joe Blow Cc: samba@lists.samba.org; samba-bounces+vulik=cz.soluziona.com@lists.samba.org Subject: Odp: RE: RE: [Samba] "getent passwd" doesn't list domain users Yes both of those thinks are probably ok. I've just one link, but it should be enought : .......lrwxrwxrwx 1 root root 17 Nov 5 12:04 /lib/libnss_winbind.so.2 -> libnss_winbind.so in a log "log.mycomputer" where mycomputer is a machine from which I'm trying access the samba server via srvmgr is a following record ......[2003/12/17 16:27:57, 2] auth/auth.c:check_ntlm_password(309) check_ntlm_password: Authentication for user [VUlik] -> [VUlik] FAILED with error NT_STATUS_NO_SUCH_USER and there is my smb.conf [global] dos charset = UTF-8 display charset = UTF-8 workgroup = MYDOMAIN server string = Backup Server interfaces = eth0, 172.17.1.x/24 security = DOMAIN auth methods = guest, sam, winbind obey pam restrictions = Yes passdb backend = tdbsam:/usr/local/samba/private/passdb.tdb, \ smbpasswd:/usr/local/samba/private/smbpasswd log level = 3 log file = /var/log/samba/log.%m name resolve order = hosts lmhosts wins bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 add machine script = /usr/sbin/useradd -n -d /dev/null -c -s /bin/false -M %u os level = 0 preferred master = No local master = No domain master = No wins server = 172.17.1.x idmap uid = 10000-20000 idmap gid = 10000-20000 winbind cache time = 15 winbind use default domain = Yes admin users = root, MYDOMAIN\vulik I'm really helpless Joe Blow <sambaigen2004@ya hoo.com> Komu Odeslal: samba@lists.samba.org samba-bounces+vul Kopie ik=cz.soluziona.c om@lists.samba.or P?edm?t g RE: RE: [Samba] "getent passwd" doesn't list domain users 17.12.2003 18:27 --- "Ganguly, Sapan " <Sapan.Ganguly@thalesgroup.com> wrote:> > > Try putting - > > winbind use default domain = yes > > In your smb.conf > >Also, make sure all your symlinks are good especially the ones in /lib. For example: lrwxrwxrwx 1 root root 19 2003-12-01 17:48 libnss_winbind.so -> libnss_winbind.so.2 lrwxrwxrwx 1 root root 32 2003-12-01 17:48 libnss_winbind.so.2 -> /usr/local/lib/libnss_winbind.so __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba