if ((&request:User-Password) && (Client-IP-Address == "192.41.170.3")) { update control { Auth-Type = LDAPFIREWALL Ldap-UserDN = "uid=%{User-Name},ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th" } }
instead, and it works fine. I can customize it by client IP (having different instances of the ldap module, with different filters).
Ok... If that's how you want to/can do it, that's fine. :-) Glad you got that working then. With Regards Stefan Paetow Moonshot Industry & Research Liaison Coordinator t: +44 (0)1235 822 125 gpg: 0x3FCE5142 xmpp: stefanp@jabber.dev.ja.net skype: stefan.paetow.janet jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc¹s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.