lists.arthurdejong.org
RSS feed

pam_authz_search parameters

[Date Prev][Date Next] [Thread Prev][Thread Next]

pam_authz_search parameters



Hi,

 

I have SSHD is running in virtual box centos 7.  We are using $rhost parameter in pam_authz_search, to get the ipaddress of the remote host. When I am connected to LAN in my desk I get the ipaddress (ip=192.168.56.26). But when connecting my laptop at different location and I get hostname in $rhost(ip=alb1212.rnet.com).So because of which I am not able to do IP validation. Could provide your inputs suggestions or directions to resolve this issue.

 

Following is the configuration in nslcd.conf

 

uri  ldap://192.168.56.101:10389

 

filter passwd (uid=*)

 

pam_authz_search (&(uid=$username)(ip=$rhost)(tty=$tty))

 

Thanks,

Prem


---------------------------------------- The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. This message may be an attorney-client communication and/or work product and as such is privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.

-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/