Does anyone know how to restrict user search to an specific LDAP branch?

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. 

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}
}     

Regards,
Esteban  
      
 
 



-----------------------------------------------------------------
Obten� tu casilla gratis con 20MB, en: http://www.aconectarse.com


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to