summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-15 17:22:48 +0000
committerGerald Carter <jerry@samba.org>2003-01-15 17:22:48 +0000
commit4242eda183393b0535ac8ef880b4f441c60137af (patch)
tree661f28140c58a598567a22932406885a19c5ce7b /source3/rpc_server
parent6999ff1d484ea8f1957b3479b24ec3fea228fdd0 (diff)
downloadsamba-4242eda183393b0535ac8ef880b4f441c60137af.tar.gz
samba-4242eda183393b0535ac8ef880b4f441c60137af.tar.bz2
samba-4242eda183393b0535ac8ef880b4f441c60137af.zip
merging some rpcclient and net functionality from HEAD
(This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr_nt.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index c72153eda7..2896fd79e4 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -1180,6 +1180,18 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u,
/* Get what we need from the password database */
switch (q_u->switch_level) {
case 0x1:
+ /* When playing with usrmgr, this is necessary
+ if you want immediate refresh after editing
+ a user. I would like to do this after the
+ setuserinfo2, but we do not have access to
+ the domain handle in that call, only to the
+ user handle. Where else does this hurt?
+ -- Volker
+ */
+#if 0
+ /* We cannot do this here - it kills performace. JRA. */
+ free_samr_users(info);
+#endif
case 0x2:
case 0x4:
become_root();