Solved: interpret check-Item and change reply-item to set VLAN

2010-09-14 Thread Michael Bathe
Thanks for reply! I have solved my attempt to set VLAN-Group-ID based on checkItem by insert this line in post-auth section of 'sites-available/default' -- $INCLUDE ${confdir}/setTunnelGroup -- In the file setTunnelGroup I insert this: -- if (reply:SectionNetwork == "sec11") { update reply {

Re: interpret check-Item and change reply-item to set VLAN

2010-09-13 Thread Alan DeKok
Michael Bathe wrote: > is there any how_to or solution to interpret the ldap checkItem and > change the replyItem (I think in inner-tunnel)? > f.e.: If the checkItem match one of 'sec11', 'Sec11', 'SEC11'... the > replyItem should be set to '111'. $ man unlang The ldap module doesn't do generic

Re: interpret check-Item and change reply-item to set VLAN

2010-09-13 Thread Phil Mayers
On 09/13/2010 01:44 PM, Michael Bathe wrote: Hallo Liste, is there any how_to or solution to interpret the ldap checkItem and change the replyItem (I think in inner-tunnel)? f.e.: If the checkItem match one of 'sec11', 'Sec11', 'SEC11'... the replyItem should be set to '111'. ldap.attrmap: chec

interpret check-Item and change reply-item to set VLAN

2010-09-13 Thread Michael Bathe
Hallo Liste, is there any how_to or solution to interpret the ldap checkItem and change the replyItem (I think in inner-tunnel)? f.e.: If the checkItem match one of 'sec11', 'Sec11', 'SEC11'... the replyItem should be set to '111'. ldap.attrmap: checkItem Tunnel-Private-Group-Id sec