diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-13 12:13:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:06 -0500 |
commit | 0bfa0d115c18ab48cd53cbdc3dba6a110ce148c3 (patch) | |
tree | 591cb64f52c6a4b43be709bdd780ef24a8b8926e /source4/dsdb/common | |
parent | 732027b87a25e1b0d2df3335bab95be90b6cc984 (diff) | |
download | samba-0bfa0d115c18ab48cd53cbdc3dba6a110ce148c3.tar.gz samba-0bfa0d115c18ab48cd53cbdc3dba6a110ce148c3.tar.bz2 samba-0bfa0d115c18ab48cd53cbdc3dba6a110ce148c3.zip |
r15076: give the correct return code
metze
(This used to be commit 92a06638126b0565c0aec45862c549ef91e7212b)
Diffstat (limited to 'source4/dsdb/common')
-rw-r--r-- | source4/dsdb/common/sidmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/common/sidmap.c b/source4/dsdb/common/sidmap.c index ee314cddec..2b1de42cf0 100644 --- a/source4/dsdb/common/sidmap.c +++ b/source4/dsdb/common/sidmap.c @@ -264,7 +264,7 @@ _PUBLIC_ NTSTATUS sidmap_sid_to_unixgid(struct sidmap_context *sidmap, 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 @@ _PUBLIC_ NTSTATUS sidmap_sid_to_unixgid(struct sidmap_context *sidmap, 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); |