re-adding user to group

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

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
> 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
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


More information about the samba-technical mailing list