diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-16 11:01:26 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-18 11:18:23 +0200 |
commit | 4b5e252354660501576c8452f48514852f40270e (patch) | |
tree | 16f112b0719f6252bd833f7a759f33bff1397abb /source3/rpc_server/srv_spoolss_nt.c | |
parent | 6d10684556e9f9e847ec03dd8af057e8d4558e35 (diff) | |
download | samba-4b5e252354660501576c8452f48514852f40270e.tar.gz samba-4b5e252354660501576c8452f48514852f40270e.tar.bz2 samba-4b5e252354660501576c8452f48514852f40270e.zip |
s3: Add "client_id" to pipes_struct
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 4854488ba6..cdb03ff897 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2451,9 +2451,9 @@ WERROR _spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct pipes_struct *p, return WERR_BADFID; DEBUG(10,("_spoolss_RemoteFindFirstPrinterChangeNotifyEx: " - "client_address is %s\n", p->client_address)); + "client_address is %s\n", p->client_id->addr)); - if (!interpret_string_addr(&client_ss, p->client_address, + if (!interpret_string_addr(&client_ss, p->client_id->addr, AI_NUMERICHOST)) { return WERR_SERVER_UNAVAILABLE; } @@ -6111,7 +6111,7 @@ static WERROR update_printer(struct pipes_struct *p, { /* add_printer_hook() will call reload_services() */ if (!add_printer_hook(tmp_ctx, p->server_info->ptok, - printer, p->client_address, + printer, p->client_id->addr, p->msg_ctx)) { result = WERR_ACCESS_DENIED; goto done; @@ -7420,7 +7420,7 @@ static WERROR spoolss_addprinterex_level_2(struct pipes_struct *p, if (*lp_addprinter_cmd() ) { if ( !add_printer_hook(p->mem_ctx, p->server_info->ptok, - info2, p->client_address, + info2, p->client_id->addr, p->msg_ctx) ) { return WERR_ACCESS_DENIED; } |