[Proftpd-user] mod_ldap ip address in filter
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all I’m looking for a way to include the client IP in the ldap filter used for searching the user objects. Something like LDAPUsers ou=users,dc=example,dc=local (&(uid=%v)(service=SFTP)(client_ip=%a)) However, it seems that (as from the docs and checking the code) only %v and %u are supported. Is there any other way to provide the client IP to the ldap server doing the authentication? We want to allow for access control on the LDAP server to allow him to control from where a certain user should be allowed to sign in. We know about mod_wrap but this is too late for us in the session as it only works after authentication. Cheers -ok _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html