Do not query LDAP if authenticated via proxy

Steven Carr steven.carr at sunderland.ac.uk
Mon Aug 10 15:48:26 CEST 2009


On 10/8/09 14:34, Alan DeKok wrote:
>   So... use "unlang" to check for your local domain, and run the "ldap"
> module only if it matches the local domain
> 
> 	if (User-Name =~ /@my_domain.com/) {
> 		ldap
> 	}
> 

Ta for the pointer :) now works as I want it.

Steve

-- 
Steven Carr
Systems Development Officer
SLS/ITS/Systems - (0191) 515 3953

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090810/16900a25/attachment.pgp>


More information about the Freeradius-Users mailing list