Operator "!=" not allowed for LDAP group comparisons

Rodrigo Antunes rodrigoaantunes at yahoo.com.br
Mon Feb 17 18:32:00 UTC 2025


Hi, how can I reject an ldap user if it is not member of a group by using the users file?


I tried this:

DEFAULT NAS-Identifier == "openVPN", LDAP-Group != "01-PL-Allow-VPN", Auth-Type := Reject


But in the logs I see this:

ERROR: files: Operator "!=" not allowed for LDAP group comparisons


More information about the Freeradius-Users mailing list