diff options
author | Jeremy Allison <jra@samba.org> | 2003-10-21 21:18:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-10-21 21:18:58 +0000 |
commit | db8e98175c47cddd89e07b5e1c4c8b5f88651ccc (patch) | |
tree | edbf4a702c7dc1b8acc468a4f7fa5ae217c6ed2b /source3/rpc_server | |
parent | af4263e46e744bde8d637a2fff016f1a6ca3e543 (diff) | |
download | samba-db8e98175c47cddd89e07b5e1c4c8b5f88651ccc.tar.gz samba-db8e98175c47cddd89e07b5e1c4c8b5f88651ccc.tar.bz2 samba-db8e98175c47cddd89e07b5e1c4c8b5f88651ccc.zip |
Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
(This used to be commit 7fde193efeb856ec325d5d563f1e710c45dc65d7)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index f2fb02176b..15578f6148 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2598,7 +2598,8 @@ static BOOL spoolss_connect_to_client(struct cli_state *the_cli, } the_cli->protocol = PROTOCOL_NT1; - + cli_setup_signing_state(the_cli, lp_client_signing()); + if (!cli_negprot(the_cli)) { DEBUG(0,("spoolss_connect_to_client: machine %s rejected the negotiate protocol. Error was : %s.\n", remote_machine, cli_errstr(the_cli) )); cli_shutdown(the_cli); |