bug in init_ldap_from_sam(pdb_ldap)

Jelmer Vernooij jelmer at nl.linux.org
Tue Apr 8 22:06:29 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 08 April 2003 23:33, Dariush Forouher wrote:
> some days ago I noticed that with current 3_0 cvs it is impossible to
> add new machines to ldapsam_nua backend, because samba doesn't set the
> rid and primaryGroupID attributes.
>
> After looking into pdb_ldap.c, I think I've found the reason for this
> behaviour:
> If a non-unix account is added, init_ldap_from_sam gets a SAM_ACCOUNT
> with USERSID set to 0. A new rid will be discovered in this case, but
> need_update still compares against sampass and therefore thinks that the
> rid has not to be changed. To the GroupRID this applies IMHO too.
>
> Can somebody please comment on this? My knowledge about the samba code
> is very limited, so please forgive me if this is far away from reality.
> ;-)
I've seen the same here. Will do more investigation later this week.

I'll keep you informed.

Jelmer

- -- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
 00:06:02 up  9:02,  7 users,  load average: 0.24, 0.89, 0.94
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+k0flPa9Uoh7vUnYRAgvQAJ0fm57hpJJsNNlfqEw6tyF7Xd5q1QCfTQx8
l/Lp4qeE6camqcIPcgcQ2SE=
=ehpq
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list