bug found in password caching code in HEAD branch
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Fri Jun 11 21:25:07 GMT 1999
On Sat, 12 Jun 1999, Beau Kuiper wrote:
> On Sat, 12 Jun 1999, Luke Kenneth Casson Leighton wrote:
> > > to leave it in there. Anyone have any philosophical objections in
> > > general to const?
> >
> > no, go for it: const is good. it would be excellent if you could fix this
> > hash code.
>
> I may be on weed or something, but it feels wrong to me that we solve
> the password lookup problem with a hash table. Why doesn't the samba
> code do the password lookup once, and then remember that entry for
> any further info, instead of issue the password lookup multiple times?
same difference, if you ask me. this only became a problem when the unix
<-> nt mapping code was added, due to the high number of unix password and
unix group calls required.
More information about the samba-technical
mailing list