1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

There's a specific error message NT_STATUS_ALIAS_EXISTS.

(This used to be commit 0ad00bce0752373a1ac471f6629a5e64ee5af280)
This commit is contained in:
Volker Lendecke 2004-03-04 17:59:25 +00:00
parent e9e6bd66cd
commit 381485668a

View File

@ -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)