summaryrefslogtreecommitdiff
path: root/source3/auth/pampass.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-14 10:22:12 +0200
committerVolker Lendecke <vl@samba.org>2010-08-16 13:13:10 +0200
commit96ae4570230d2d47e23da6909f6e21dd43a19868 (patch)
tree2227d283971d61991b7859ef05a8390e37eb00ee /source3/auth/pampass.c
parenta482b3e14ec4e3eada9c2477c9eae2bfbe017f53 (diff)
downloadsamba-96ae4570230d2d47e23da6909f6e21dd43a19868.tar.gz
samba-96ae4570230d2d47e23da6909f6e21dd43a19868.tar.bz2
samba-96ae4570230d2d47e23da6909f6e21dd43a19868.zip
s3: Remove get_client_fd()
Diffstat (limited to 'source3/auth/pampass.c')
-rw-r--r--source3/auth/pampass.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index e08670f481..6c7294dd8b 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -479,9 +479,10 @@ static bool smb_pam_start(pam_handle_t **pamh, const char *user, const char *rho
#ifdef PAM_RHOST
if (rhost == NULL) {
- our_rhost = client_name(get_client_fd());
+ our_rhost = client_name(smbd_server_fd());
if (strequal(our_rhost,"UNKNOWN"))
- our_rhost = client_addr(get_client_fd(),addr,sizeof(addr));
+ our_rhost = client_addr(smbd_server_fd(), addr,
+ sizeof(addr));
} else {
our_rhost = rhost;
}