patch: (samba/nss_ldap) calling initgroups with correct pw_name
Jeremy Allison
jra at samba.org
Fri Oct 19 16:51:03 GMT 2001
On Sat, Oct 20, 2001 at 01:38:45AM +0200, Jochen Schneider wrote:
> Hi everybody,
>
> i've tracked down a very nasty problem, that prevents users with
> uppercase
> uid's form accessing group folders if their password information is
> stored
> in LDAP directories (nss_ldap an --with-ldap/--with-samldap).
> The initgroups call must not be called with the user parameter, but
> with the actual passwd->pw_name for the uid.
> This patch is against 2.2.1a, but should do against against 2.2.2 also.
Thanks for tracking down the problem, but I don't think that
the getpwXX lookup calls should be done inside the sec_ctx.c code.
Can you move this into the LDAP code instead ?
Jeremy.
More information about the samba-technical
mailing list