re-adding user to group

Gerald (Jerry) Carter jerry at samba.org
Wed Aug 17 20:56:12 GMT 2005


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

Chris Nicholls wrote:
> Hi,
> 
> I've been doing some testing on the libmsrpc group functions.  I can add
> a user to a group and then remove that user from the group, but if i
> immediately try to re-add the user to the group it fails with
> NT_STATUS_MEMBER_NOT_IN_GROUP.
> 
> If i close the session and disconnect, and then connect again I can add
> the user to the group, but again if i remove and attempt to re-add them
> it fails with the same ntstatus.
> 
> I've gone through my code and I can't see anything that would be causing
> this.
> 
> Originally i was using Samba 3.0.14 with LDAP but I installed 3.0.20rc2,
> and I'm getting the same problem.
> 
> Could this be a problem with my configuration?

I'd assume a caching bug in our server code.  Can you
test against a Windows DC by chance?

I would also recommend looking at a Simple Samba DC using
tdbsam and troll the level 10 debug to see why smbd is returning
that error.





cheer,s jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDA6RsIR7qMdg1EfYRArhXAKDTZvXm5J5CEHxg6dcF7T7ldJS20gCfddDj
BCJNl2EhOpMjCV8lwvT9lFk=
=FiHz
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list