diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-10 11:48:33 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-10 16:22:06 +0200 |
commit | f95634dbe0b8afbae8b90323ba98ddb69d9dcf6e (patch) | |
tree | 07f194828251859405d38b9dd27aa849bdc0f782 /source4 | |
parent | 1305c9159876f1621710b9888624aaf037046155 (diff) | |
download | samba-f95634dbe0b8afbae8b90323ba98ddb69d9dcf6e.tar.gz samba-f95634dbe0b8afbae8b90323ba98ddb69d9dcf6e.tar.bz2 samba-f95634dbe0b8afbae8b90323ba98ddb69d9dcf6e.zip |
s4:dcesrv_samr_AddGroupMember - also the error code "LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS" is allowed
This is returned when the group is the primary group of the specified entry.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index fafa9d6a16..45d96991e9 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -1990,6 +1990,7 @@ static NTSTATUS dcesrv_samr_AddGroupMember(struct dcesrv_call_state *dce_call, T case LDB_SUCCESS: return NT_STATUS_OK; case LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS: + case LDB_ERR_ENTRY_ALREADY_EXISTS: return NT_STATUS_MEMBER_IN_GROUP; case LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS: return NT_STATUS_ACCESS_DENIED; |