2 Oct
2009
2 Oct
'09
2:33 p.m.
Anja Ruckdaeschel wrote:
Now I did it with unlang in the authorize section before the files module....
if (Acct-Session-Id) { if (Acct-Session-Id =~ /^[^\(]+([\(])([^\)]+).+$/ ) {
update request { ldapgroups1-Ldap-Group := "cn=%{2},ou=vpn,ou=test,o=test,c=de"
The "ldapgroups1-Ldap-Group" attribute can *only* do comparisons. Assigning to it is not supported. And even if assigning to it was supported, the LDAP-Group attribute checks group *names*. It doesn't support LDAP queries like "cn=...,ou=..." Perhaps you could try to describe what you are trying to do. Describe it in terms of ideas, not pieces of configuration files. The configuration pieces you posted are wrong, and won't work. Alan DeKok.