1
0
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 f0d99f318c67852ac5bf9b606faa115ad36a5f80)
This commit is contained in:
Volker Lendecke 2004-03-04 17:57:21 +00:00
parent 5dc2b72f9b
commit 51deca6bc9

View File

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