diff options
author | Gerald Carter <jerry@samba.org> | 2003-01-15 17:22:48 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-01-15 17:22:48 +0000 |
commit | 7a4c87484237308cb3ad0d671687da7e0f6e733b (patch) | |
tree | 88fedc00b863d96c245084896f2c49a6056424fe /source/rpc_server | |
parent | 1102a6f8cdf295d564df5447a223b354be72895d (diff) | |
download | samba-7a4c87484237308cb3ad0d671687da7e0f6e733b.tar.gz samba-7a4c87484237308cb3ad0d671687da7e0f6e733b.tar.xz samba-7a4c87484237308cb3ad0d671687da7e0f6e733b.zip |
merging some rpcclient and net functionality from HEAD
Diffstat (limited to 'source/rpc_server')
-rw-r--r-- | source/rpc_server/srv_samr_nt.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/rpc_server/srv_samr_nt.c b/source/rpc_server/srv_samr_nt.c index c72153eda75..2896fd79e40 100644 --- a/source/rpc_server/srv_samr_nt.c +++ b/source/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(); |