svn commit: samba r15076 - in
branches/SAMBA_4_0/source/dsdb/common: .
metze at samba.org
metze at samba.org
Thu Apr 13 12:13:41 GMT 2006
Author: metze
Date: 2006-04-13 12:13:40 +0000 (Thu, 13 Apr 2006)
New Revision: 15076
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15076
Log:
give the correct return code
metze
Modified:
branches/SAMBA_4_0/source/dsdb/common/sidmap.c
Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/common/sidmap.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/common/sidmap.c 2006-04-13 12:10:02 UTC (rev 15075)
+++ branches/SAMBA_4_0/source/dsdb/common/sidmap.c 2006-04-13 12:13:40 UTC (rev 15076)
@@ -264,7 +264,7 @@
DEBUG(0,("unixName '%s' for sid %s does not exist as a local group\n",
s, dom_sid_string(tmp_ctx, sid)));
talloc_free(tmp_ctx);
- return NT_STATUS_NO_SUCH_USER;
+ return NT_STATUS_NO_SUCH_GROUP;
}
*gid = grp->gr_gid;
talloc_free(tmp_ctx);
@@ -278,7 +278,7 @@
if (!grp) {
DEBUG(0,("sAMAccountName '%s' for sid %s does not exist as a local group\n", s, dom_sid_string(tmp_ctx, sid)));
talloc_free(tmp_ctx);
- return NT_STATUS_NO_SUCH_USER;
+ return NT_STATUS_NO_SUCH_GROUP;
}
*gid = grp->gr_gid;
talloc_free(tmp_ctx);
More information about the samba-cvs
mailing list