NIS, Samba
Gerald W. Carter
cartegw at Eng.Auburn.EDU
Fri Nov 5 21:09:12 GMT 1999
Alexandre Lecuyer wrote:
>
> Hi,
>
> I have samba 2.1 (last month cvs) working as a PDC
> on a linux machine.
> Everything works fine except for the connection (opening
> a session), which is very slow.
> Login could take up to 5minutes.
> Making the samba server a slave NIS server helped a lot,
> however it still gets extremely slow when several (>20) users
> try to login at the same time.
> This problem occurs only when there are many users in the NIS
> passwd file/smbpasswd.
> (there are about 300 workstations entries, and 1800 users entry).
This has to do with the passwd caching code. Remove it. Look for
hashed_getpwnam()
calls in the source. If you need help, contact me offline.
Cheers,
jerry
________________________________________________________________________
Gerald ( Jerry ) Carter
Engineering Network Services Auburn University
jerry at eng.auburn.edu http://www.eng.auburn.edu/users/cartegw
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba
mailing list