bug in init_ldap_from_sam(pdb_ldap)
jelmer at nl.linux.org
Tue Apr 8 22:06:29 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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 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)
-----END PGP SIGNATURE-----
More information about the samba-technical