summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-11 16:40:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:20 -0500
commit703881988bfa825fcaec0739904d9648c5ade29e (patch)
tree1810618215f7c0181993ff5e287712ba2d84ee4e /source3
parent5c14584d21d786792212bc4eca63605a16f3488d (diff)
downloadsamba-703881988bfa825fcaec0739904d9648c5ade29e.tar.gz
samba-703881988bfa825fcaec0739904d9648c5ade29e.tar.bz2
samba-703881988bfa825fcaec0739904d9648c5ade29e.zip
r18390: give a better error code
metze (This used to be commit b2709f4fe529e89fcabfa3fc2ff27e09a192b3b6)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_unixinfo_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_unixinfo_nt.c b/source3/rpc_server/srv_unixinfo_nt.c
index 2d479b42f6..5afbb7bed0 100644
--- a/source3/rpc_server/srv_unixinfo_nt.c
+++ b/source3/rpc_server/srv_unixinfo_nt.c
@@ -89,7 +89,7 @@ NTSTATUS _unixinfo_gid_to_sid(pipes_struct *p,
{
DOM_SID sid;
- r_u->status = NT_STATUS_NO_SUCH_USER;
+ r_u->status = NT_STATUS_NO_SUCH_GROUP;
if (q_u->gid == 0) {
gid_to_sid(&sid, q_u->gid);