>
> Does anyone know how to restrict user search to an specific LDAP branch?
the basedn setting in radiusd.conf ldap section.
>
> I want to find in an specific ldap branch if an specific DNIS arrives.
>
> I tried these setting, but when the user is noy found in the specific branch,
> the search then try to find the user in the other ldaps that I set.
Are you saying you want to try the search in the other branch if not found
in the first branch? Or, are you saying it is searching in the other
branch, but you don't want it to?
>
> I tried setting the user file:
> DEFAULT Called-Station-Id == "123456", Auth-type := client1 , Autz-Type :=
> ldap_client1
>
> and in the radiusd.conf:
>
> ldap ldap_client1 { server = "192.168.1.1"
> basedn = "ou=client1, dc=abc , dc=com"
> .....
> .....
> }
>
> authorize {
> preprocess
> files
> chap
> group {
> ldap1
> ldap2
> }
> autztype ldap_client1
> ldap_client1
> }
>
> Authenticate
> {
> authtype CHAP{chap}
> authtype LDAP {
> redundant{
> ldap1
> ldap2
> }
> }
> authtype client1 {
> ldap_client1}
> }
What does radiusd -X show? Please be more specific in what you want to
happen and then include the radiusd -X debug showing what is happening.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html