summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-08 10:26:08 +0200
committerVolker Lendecke <vl@samba.org>2010-06-08 11:38:08 +0200
commit34b29b11986095531488cd0139ecec6dd22e55d3 (patch)
treecc0cd34bd3fab4df13eba3a90e6ce99468cf6b58 /source3/rpc_server
parent984fec252af70ef54461ca84a6afedb97ff81dec (diff)
downloadsamba-34b29b11986095531488cd0139ecec6dd22e55d3.tar.gz
samba-34b29b11986095531488cd0139ecec6dd22e55d3.tar.bz2
samba-34b29b11986095531488cd0139ecec6dd22e55d3.zip
Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 4678aeb698..d1f9823b49 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -713,10 +713,9 @@ static bool pipe_ntlmssp_verify_final(pipes_struct *p, DATA_BLOB *p_resp_blob)
TALLOC_FREE(p->server_info);
- status = auth_ntlmssp_server_info(p, a, &p->server_info);
- if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("auth_ntlmssp_server_info failed to obtain the server info for authenticated user: %s\n",
- nt_errstr(status)));
+ p->server_info = auth_ntlmssp_server_info(p, a);
+ if (p->server_info == NULL) {
+ DEBUG(0, ("auth_ntlmssp_server_info failed to obtain the server info for authenticated user\n"));
return false;
}