Displaying 1 result from an estimated 1 matches for "werr_server_unavail".
2011 Mar 18
1
[PATCH] s3: Add "spoolss backchannel" parameter
...--git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index afc27fe..5fb00d0 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -2617,6 +2617,12 @@ WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(pipes_struct *p,
return WERR_SERVER_UNAVAILABLE;
}
+ if (!lp_spoolss_backchannel(snum)) {
+ DEBUG(10, ("_spoolss_RemoteFindFirstPrinterChangeNotifyEx: "
+ "backchannel disabled\n"));
+ return WERR_SERVER_UNAVAILABLE;
+ }
+
if (!interpret_string_addr(&client_ss, p->client_address,
AI_NUMERICHOST...