mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
There's a specific error message NT_STATUS_ALIAS_EXISTS.
(This used to be commit 0ad00bce0752373a1ac471f6629a5e64ee5af280)
This commit is contained in:
parent
e9e6bd66cd
commit
381485668a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user