One way to solve slow logins with NT-domains
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Thu May 6 18:06:48 GMT 1999
jani, do you want to do the cleanup? i have committed your latest changes
so that other people can play with them and we'll see how they perform in
other environments too.
On Fri, 7 May 1999, Jeremy Allison wrote:
> I *love* Open Source :-).
hee hee
> This was a bunch of code that I knew I was going to have to write
> and now I don't :-).
>
> A couple of comments.
>
> Firstly, a slightly nicer way to do this would be to
> change the calls to wrappers around all the
> getpwxxx functions.
>
> eg. getpwnam -> sys_getpwnam
>
> Check lib/system.c for details. We can then replace
> all getpwxxx calls to go through the wrappers and
> get a more coherent view into the users hash table.
>
> Secondly we should add a hash by uid as well and allow
> lookups on both name and uid. Getting fancy we should
> also store this table in either a file or shared
> memory and allow it to be shared across smbd's.
>
> Great first hack though !
>
> Thanks,
>
> Jeremy Allison,
> Samba Team.
>
>
>
> --
> --------------------------------------------------------
> Buying an operating system without source is like buying
> a self-assembly Space Shuttle with no instructions.
> --------------------------------------------------------
>
<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://samba.org" > Samba Web site </a>
=====================================================================
Luke Kenneth Casson Leighton | Direct Dial : (678) 443-6183
Systems Engineer / ISS XForce Team | ISS Front Desk: (678) 443-6000
Internet Security Systems, Inc. | ISS Fax : (678) 443-6477
http://www.iss.net/ *Adaptive Network Security for the Enterprise*
ISS Connect - International User Conference - May '99
=====================================================================
More information about the samba-technical
mailing list