[Samba] Login via winbind -> hangs for certain time
bgmilne at cae.co.za
Wed Dec 11 19:38:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
> Message: 14
> Date: Wed, 11 Dec 2002 08:15:08 +0100
> From: Heiko Ettelbrueck <hbruckynews at gmx.net>
> To: samba at lists.samba.org
> Subject: [Samba] Login via winbind -> hangs for certain time
> I have a box running with samba 2.2.7 and winbind (nmbd and winbindd
> to allow users of the local NT domain to login. The config files for
> /etc/nsswitch.conf have been configured correctly so logins are now
> using the local console (login), ssh, xdm and su.
> Almost everything works fine - everything but the time that is needed for
> the login process of an NT user to complete. Directly after having
> user name and password, I get the local welcome message (in this case
> "Have a lot of fun"), but after that, it takes several seconds with
> usage taken by a process of "ls" with argument "-l".
> Another problem that goes together with the behaviour described above: If
> working in a directory where there are files or directories owned by an NT
> user, it takes the same long time to do a "ls -l".
> And last but not least my third reception: A "ps -A" once again takes
> of (cpu and "normal") time and seems to hang meanwhile.
What happens with :
$ getent passwd
$ wbinfo -u
> Any suggestions where I could search for the problem? I couldn't find any
> hint searching the web and the newsgroups listed at Google.
How was your winbind conpiled? I think I found this to be an issue when
compiling with the winbind ldap hack (ie running ./configure for samba
with '--with-winbind-ldap-hack'). Try compiling without this option (if
you don't need it).
If this is not the case, you may also have success with nscd (typically
used for NIS and LDAP to cache lookups), but winbind is supposed to do
caching anyway, and I normally don't find it necessary.
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba