Problem with multiple LDAP servers

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu May 5 00:09:05 CEST 2016


> On 4 May 2016, at 14:55, A.L.M.Buxey at lboro.ac.uk wrote:
> 
> Hi,
> 
>> It's the better way.
> 
> if you go this route, whats the way to do eg
> 
> if ( "%{ldap:ldaps:///dc=foo,dc=bar?department?sub?(&(sAMAccountName=%{User-Name})(memberOf=CN=leet staff,OU=p45,OU=possible,DC=foo,DC=bar))}" ) {
> 	stuff here
> }

Redundant blocks register their own expansions, even in v3.0.x.

You just need to declare the redundant block in the instantiate section and give it a name.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160504/b1a7473b/attachment.sig>


More information about the Freeradius-Users mailing list