PAM and LDAP
Gerald Carter
gcarter at valinux.com
Mon Apr 30 14:13:13 GMT 2001
On Mon, 30 Apr 2001 08:07:49 Andrew Bartlett wrote:
> Samba spends much of its day doing getpwnam lookups, even when it does
> not make sense. Its probably one of those that is failing. I have
> been
> looking at authentication generally, and PAM in particular for a major
> rewrite - some of which is slowly creeping into the samba tree. There
> is no reason to do a getpwnam() call for PDC authentications, so
> finding the problematic one shouldn't be too much of an issue.
Sure there is. You have to generate a RID to fill in the
NET_USE_INFO struct returned to the client. RID currently
are generated from uid's (althought this will eventually be
changed and the RID will be stored in the passdb).
Cheers, jerry
----------------------------------------------------------------------
/\ Gerald (Jerry) Carter Professional Services
\/ http://www.valinux.com/ VA Linux Systems gcarter at valinux.com
http://www.samba.org/ SAMBA Team jerry at samba.org
http://www.plainjoe.org/ jerry at plainjoe.org
"...a hundred billion castaways looking for a home."
- Sting "Message in a Bottle" ( 1979 )
More information about the samba
mailing list