git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f05d888
)
s3-samr: Do not return users in _samr_QueryDisplayInfo() for builtin domain.
author
Günther Deschner
<gd@samba.org>
Thu, 7 May 2009 16:40:39 +0000
(18:40 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 7 May 2009 22:41:40 +0000
(
00:41
+0200)
Found by torture test.
Guenther
source3/rpc_server/srv_samr_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_samr_nt.c
b/source3/rpc_server/srv_samr_nt.c
index e0ba51c68ac27e3d87263d40d88848e77d1ada68..929d5df10f61d49aa904c44997b622f466c3ee6e 100644
(file)
--- a/
source3/rpc_server/srv_samr_nt.c
+++ b/
source3/rpc_server/srv_samr_nt.c
@@
-1397,6
+1397,11
@@
NTSTATUS _samr_QueryDisplayInfo(pipes_struct *p,
return status;
}
return status;
}
+ if (sid_check_is_builtin(&dinfo->sid)) {
+ DEBUG(5,("_samr_QueryDisplayInfo: no users in BUILTIN\n"));
+ return NT_STATUS_OK;
+ }
+
/*
* calculate how many entries we will return.
* based on
/*
* calculate how many entries we will return.
* based on