diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-27 09:48:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-27 15:28:12 +0100 |
commit | f6d8d94510498796e24fe5c52cb5ff3b14fd7f97 (patch) | |
tree | 31c954b85ebb5e5cf1227dd9360caf10b9deb814 | |
parent | e0232934fbf69a9e72de1d9844b14d70b34a2d6a (diff) | |
download | samba-f6d8d94510498796e24fe5c52cb5ff3b14fd7f97.tar.gz samba-f6d8d94510498796e24fe5c52cb5ff3b14fd7f97.tar.bz2 samba-f6d8d94510498796e24fe5c52cb5ff3b14fd7f97.zip |
s3:rpc_server: use get_client_fd() instead of smbd_server_fd()
Both are absolutely the same, but smbd_server_fd() is otherwise
only used in smbd/*.c and would like to remove smbd_server_fd() soon.
metze
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index ba2fe774b8..e61d343731 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1701,7 +1701,7 @@ WERROR _spoolss_open_printer_ex( pipes_struct *p, SPOOL_Q_OPEN_PRINTER_EX *q_u, /* check smb.conf parameters and the the sec_desc */ - if ( !check_access(smbd_server_fd(), lp_hostsallow(snum), lp_hostsdeny(snum)) ) { + if ( !check_access(get_client_fd(), lp_hostsallow(snum), lp_hostsdeny(snum)) ) { DEBUG(3, ("access DENIED (hosts allow/deny) for printer open\n")); return WERR_ACCESS_DENIED; } |