summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-04 17:59:25 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-04 17:59:25 +0000
commit381485668af40f83f17139c9f79772480cd62580 (patch)
tree2291dec7831564d28f7d1686976f08aa0d910f41 /source3/rpc_server/srv_samr_nt.c
parente9e6bd66cdc56f6369b2a4f3b2d9f1477e33899e (diff)
downloadsamba-381485668af40f83f17139c9f79772480cd62580.tar.gz
samba-381485668af40f83f17139c9f79772480cd62580.tar.bz2
samba-381485668af40f83f17139c9f79772480cd62580.zip
There's a specific error message NT_STATUS_ALIAS_EXISTS.
(This used to be commit 0ad00bce0752373a1ac471f6629a5e64ee5af280)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-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 15a4cf1ae4..42d19271e1 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -3999,7 +3999,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)