summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-10 11:48:33 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-10 16:22:06 +0200
commitf95634dbe0b8afbae8b90323ba98ddb69d9dcf6e (patch)
tree07f194828251859405d38b9dd27aa849bdc0f782 /source4/rpc_server
parent1305c9159876f1621710b9888624aaf037046155 (diff)
downloadsamba-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/rpc_server')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c1
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;