git.samba.org
/
import
/
samba-svnimport.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4211d54
)
r16785: BUG 3908: Fix rpc bin authentication failure which broke user password changes
author
Gerald Carter
<jerry@samba.org>
Mon, 3 Jul 2006 16:12:16 +0000
(16:12 +0000)
committer
Gerald Carter
<jerry@samba.org>
Mon, 3 Jul 2006 16:12:16 +0000
(16:12 +0000)
Jeremy, please review.
source/rpc_server/srv_pipe.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_pipe.c
b/source/rpc_server/srv_pipe.c
index b0873bce35644fbfbd69572339c86db9528f1301..e2c5e865ed183cd34fb3df5c5ac51418fd8502bf 100644
(file)
--- a/
source/rpc_server/srv_pipe.c
+++ b/
source/rpc_server/srv_pipe.c
@@
-615,7
+615,10
@@
static BOOL pipe_ntlmssp_verify_final(pipes_struct *p, DATA_BLOB *p_resp_blob)
ZERO_STRUCT(reply);
+ /* this has to be done as root in order to verify the password */
+ become_root();
status = auth_ntlmssp_update(a, *p_resp_blob, &reply);
+ unbecome_root();
/* Don't generate a reply. */
data_blob_free(&reply);