summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-04 17:57:21 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-04 17:57:21 +0000
commit51deca6bc9bbf6a07cbf5126cc6b2598484ef29c (patch)
tree4f2196fb173d0b037054d06eccdcd34bae2321c2 /source3/rpc_server
parent5dc2b72f9ba0623066946c7206d236b6d5e197fd (diff)
downloadsamba-51deca6bc9bbf6a07cbf5126cc6b2598484ef29c.tar.gz
samba-51deca6bc9bbf6a07cbf5126cc6b2598484ef29c.tar.bz2
samba-51deca6bc9bbf6a07cbf5126cc6b2598484ef29c.zip
There's a specific error message NT_STATUS_ALIAS_EXISTS.
(This used to be commit f0d99f318c67852ac5bf9b606faa115ad36a5f80)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 35a6f37e17..70ae4d170e 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -3964,7 +3964,7 @@ NTSTATUS _samr_create_dom_alias(pipes_struct *p, SAMR_Q_CREATE_DOM_ALIAS *q_u, S
/* check if group already exists */
if ( (grp=getgrnam(name)) != NULL)
- return NT_STATUS_GROUP_EXISTS;
+ return NT_STATUS_ALIAS_EXISTS;
/* we can create the UNIX group */
if (smb_create_group(name, &gid) != 0)