Thanks Phil!<div><br></div><div>On Fri, May 13, 2011 at 3:43 PM, Phil Mayers <span dir="ltr"><<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a>></span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 05/13/2011 07:34 PM, Herbert Fischer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if (ldap_group-LDAP-Group != "somegroup") {<br>
</blockquote>
<br></div>
You can't do this.<br>
<br>
You can only test for group membership i.e.<div class="im"><br>
<br>
if (ldap_group-LDAP-Group == somegroup) {<br></div>
# do nothing<br>
}<br>
else {<br>
# ...whatever<br>
}<br>
<br>
The != and other operators don't work for the virtual attribute "LDAP-Group"<div><div></div><div class="h5"><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>