svn commit: samba r9601 - in trunk/source/rpc_server: .
Stefan (metze) Metzmacher
metze at samba.org
Thu Aug 25 08:05:46 GMT 2005
> Modified: trunk/source/rpc_server/srv_pipe.c
> ===================================================================
> --- trunk/source/rpc_server/srv_pipe.c 2005-08-25 00:57:21 UTC (rev 9600)
> +++ trunk/source/rpc_server/srv_pipe.c 2005-08-25 01:02:14 UTC (rev 9601)
> @@ -2081,13 +2081,17 @@
> BOOL api_pipe_request(pipes_struct *p)
> {
> BOOL ret = False;
> + BOOL changed_user = False;
> PIPE_RPC_FNS *pipe_fns;
>
> - if (p->pipe_bound && p->auth.auth_type == PIPE_AUTH_TYPE_NTLMSSP) {
> + if (p->pipe_bound &&
> + ((p->auth.auth_type == PIPE_AUTH_TYPE_NTLMSSP) ||
> + (p->auth.auth_type == PIPE_AUTH_TYPE_SPNEGO_NTLMSSP))) {
Hi Jeremy,
maybe just use p->auth.auth_type != PIPE_AUTH_TYPE_NONE
( != 0)
do we become the user for the ipc$ share before?
as with auth_type == 0 we need to run the call as the user that connected
to the ipc$ share.
--
metze
Stefan Metzmacher <metze at samba dot org>
More information about the samba-cvs
mailing list