3.55.2. SearchFilter Previous topic Parent topic Child topic Next topic

This parameter specifies the LDAP search filter that is used to find the LDAP records containing remote RADIUS server data. The default value is (oscRadiusTarget=%1), which is compatible with the example schema provided in goodies/radiator-ldap.schema, and selects a record where oscRadiusTarget matches the user's realm.
SearchFilter can contain any of the special characters. For more information, see Section 3.3. Special characters. %0 is replaced by the host counter. It is an integer that starts at 1 and counts the searches made for a given request. %1 is replaced by the realm of the user name in the current request. Use %0 to select a different record each time HostSelect is run for a given record, allowing you to choose, for example, primary or secondary server.