Fallback LDAP Attribute Value

Steven Carr steven.carr at sunderland.ac.uk
Tue Jul 7 15:12:33 CEST 2009


Hi list,

I have the following line in my ldap.attrmap file to pull back a users
VLAN assignment:

> replyItem	Tunnel-Private-Group-ID	destinationIndicator

The users file contains the following:

> DEFAULT Ldap-Group == "allowed-access"
> 	Service-Type = Framed-User,
> 	Tunnel-Type = "VLAN",
> 	Tunnel-Medium-Type = "IEEE-802"

For the users which are in the "allowed-access" group those which have a
value in the destinationIndicator attribute in LDAP work OK and are
flipped into the appropriate VLAN. How do I specify a fallback so that
if the user does not have this attribute set or it is empty then they
are put into VLAN 666 for example.

Thanks

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: 257 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090707/1a2d6579/attachment.pgp>


More information about the Freeradius-Users mailing list