nattapon viroonsri
2005-Oct-05 11:43 UTC
[Samba] Winbind have repeat "wbinfo -u" before user can authentication
OS: Redhat Enterprise Linux V.4 update1 samba-client-3.0.10-1.4E samba-common-3.0.10-1.4E system-config-samba-1.2.21-1 samba-common-3.0.10-1.4E samba-3.0.10-1.4E ### winbind configuration ### idmap uid = 10000-50000 idmap gid = 10000-50000 ldap admin dn = cn=manager,dc=mycompany,dc=com ldap idmap suffix = ou=Idmap ldap suffix = dc=mycompany,dc=com idmap backend = ldap:ldap://127.0.0.1 template shell = /bin/bash template homedir = /vmail/%D/%U winbind use default domain = yes password server = 192.168.16.8 realm = MYCOMPANY.COM winbind enum groups = yes winbind enum users = yes ### nsswitch.conf ### passwd: file winbind group: file winbind shadow: file winbind ############# I can join active directory as member server and can authenticate via ssh or imap successfull but after about 5 minute user can not authenticate any more until i manually run "wbinfo -u" command then user can authenticate again /var/log/samba/winbind.log show as below if i try to authenticate as user1 nsswitch/winbindd_user.c:winbindd_getpwnam(161) user 'user1' does not exist And run "getent passwd user1" return nothing I can authenticate success again if manual run "wbinfo -u" and "getent passwd user1" return info about user1 Regard, Nattapon _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Gerald (Jerry) Carter
2005-Oct-05 12:44 UTC
[Samba] Winbind have repeat "wbinfo -u" before user can authentication
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 nattapon viroonsri wrote:> > OS: Redhat Enterprise Linux V.4 update1 > samba-client-3.0.10-1.4E > samba-common-3.0.10-1.4E > system-config-samba-1.2.21-1 > samba-common-3.0.10-1.4E > samba-3.0.10-1.4E > > ### winbind configuration ### > idmap uid = 10000-50000 > idmap gid = 10000-50000 > ldap admin dn = cn=manager,dc=mycompany,dc=com > ldap idmap suffix = ou=Idmap > ldap suffix = dc=mycompany,dc=com > idmap backend = ldap:ldap://127.0.0.1 > > template shell = /bin/bash > template homedir = /vmail/%D/%U > winbind use default domain = yes > password server = 192.168.16.8 > realm = MYCOMPANY.COM > winbind enum groups = yes > winbind enum users = yes > > ### nsswitch.conf ### > passwd: file winbind > group: file winbind > shadow: file winbind > ############# > > > I can join active directory as member server and > can authenticate via ssh or imap successfull > but after about 5 minute user can not authenticate any more until i > manually run "wbinfo -u" command then user can authenticate againI'm pretty sure this has been fixed in a later release. Didn't you file a bug report on the recently and I commented the same thing? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDQ8pSIR7qMdg1EfYRAuimAKCm6rrHLMXrC6koYhqLMZV2UQSxxQCgwXWg IkpD24du1x7F+3TY3VP61PI=tIMk -----END PGP SIGNATURE-----
Possibly Parallel Threads
- Can not change password via winbind
- Winbind to map all user from active directory to same uid
- Equivalence RHEL 3 update1 or update2?
- Update1: easy - automated setup : Debian Wheezy with sernet samba 4.1 : join a domain
- FW: Update1: easy - automated setup : Debian Wheezy with sernet samba 4.1 : join a domain