[Samba] Winbind have repeat "wbinfo -u" before user can authentication

nattapon viroonsri nattaponv at hotmail.com
Wed Oct 5 11:42:55 GMT 2005


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/



More information about the samba mailing list