svn commit: samba r9454 - in trunk/source/rpc_server: .
jra at samba.org
jra at samba.org
Sun Aug 21 19:33:39 GMT 2005
Author: jra
Date: 2005-08-21 19:33:38 +0000 (Sun, 21 Aug 2005)
New Revision: 9454
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9454
Log:
Fixup fixme comment. Ensure pipe is sealed.
Jeremy.
Modified:
trunk/source/rpc_server/srv_samr_nt.c
Changeset:
Modified: trunk/source/rpc_server/srv_samr_nt.c
===================================================================
--- trunk/source/rpc_server/srv_samr_nt.c 2005-08-21 19:04:41 UTC (rev 9453)
+++ trunk/source/rpc_server/srv_samr_nt.c 2005-08-21 19:33:38 UTC (rev 9454)
@@ -1455,15 +1455,13 @@
BOOL ret;
NTSTATUS nt_status;
- if (p->auth.auth_type != PIPE_AUTH_TYPE_NTLMSSP) {
+ if (p->auth.auth_type != PIPE_AUTH_TYPE_NTLMSSP || p->auth.auth_type != PIPE_AUTH_TYPE_SPNEGO_NTLMSSP) {
return NT_STATUS_ACCESS_DENIED;
}
-#if 0 /* JRA FIXME ! */
- if (!(p->auth.a_u.ntlmssp_auth->ntlmssp_chal_flags & NTLMSSP_NEGOTIATE_SIGN) ||
- !(p->auth.a_u.ntlmssp_auth->ntlmssp_chal_flags & NTLMSSP_NEGOTIATE_SEAL))
+ if (p->auth_level != PIPE_AUTH_LEVEL_PRIVACY) {
return NT_STATUS_ACCESS_DENIED;
-#endif
+ }
/*
* Do *NOT* do become_root()/unbecome_root() here ! JRA.
More information about the samba-cvs
mailing list