Hello, I'm using RH9 with latest Samba 3.0.x-x I configured winbind as per http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#id2935561 I use the default smb.conf with following (from URL above) added to its global section: winbind separator = + idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum groups = yes use nss_winbind = yes template homedir = /home/winnt/%D/%U template shell = /bin/bash I cannot login using Active Directory's "username"; instead I must use login "DOMAIN+username" at login prompt as recommended at http://lists.samba.org/archive/samba/2002-June/045313.html, otherwise I get the same error as mentioned at this URL. Why is that? I want to auth SMTP users via winbind so I want to be able to use "user" instead of "DOMAIN+user". Thanks SL
John H Terpstra
2003-Dec-31 15:49 UTC
[Samba] Winbind login: has "DOMAIN+user", wants "user"
On Wed, 31 Dec 2003, Sean Lee wrote:> Hello, > > I'm using RH9 with latest Samba 3.0.x-x > > I configured winbind as per > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#id2935561 > I use the default smb.conf with following (from URL above) added to its > global section: > > winbind separator = + > idmap uid = 10000-20000 > idmap gid = 10000-20000 > winbind enum users = yes > winbind enum groups = yes > use nss_winbind = yes > template homedir = /home/winnt/%D/%U > template shell = /bin/bashAdd: winbind use default domain = Yes> > I cannot login using Active Directory's "username"; instead I must use > login "DOMAIN+username" at login prompt as recommended at > http://lists.samba.org/archive/samba/2002-June/045313.html, otherwise I > get the same error as mentioned at this URL. > > Why is that? I want to auth SMTP users via winbind so I want to be able > to use "user" instead of "DOMAIN+user".If the above change does not work for you let me know. PS: For this to work you must: 1. Make the change shown 2. Stop Samba 3. Delete your existing /var/lib/samba/*tdb files (could be in /var/cache/samba/*tdb or /usr/local/samba/var/(tdb) 4. Restart Samba Make certain that: getent passwd shows your accounts without the Domain name portion. - John T. -- John H Terpstra Email: jht@samba.org
Reasonably Related Threads
- "ld.so.1: ls: fatal: relocation error: file /usr/lib/nss_ winbind.so.1: symbol socket: referenced symbol not found" - Samba Team?
- Winbind Problem after Update from 3.0.21b -> 3.0.23b
- winbind / nss_winbind with Solaris with large amout of uses/groups
- Winbind issues! HELP!
- winbind auth against ads not working via remote login - solaris 10.