I use freeradius 0.8.1 with Ldap.In my ldap I have the attribute
radiusAuthType (ldap1,ldap2,ldap3) and when i authenticate the user all work
fine.
I have tried to do the same thin with authorization but it's not
working.why?

radiusd.conf

ldap ldap1{
                server = "intranet.***.**"
                identity = "cn=******,dc=csp,dc=it"
                password = "*****"
                basedn = "dc=***,dc=**"
                filter =
"(&(uid=%{Stripped-User-Name:-%{User-Name}})(mobile=none))"
                start_tls = no
                tls_mode = no
                access_attr = dialupAccess
                dictionary_mapping = ${raddbdir}/ldap.attrmap
                ldap_connections_number = 5
                password_header = "{md5}"
                password_attribute = userPassword
                timeout = 4
                timelimit = 3
                net_timeout = 1
                # compare_check_items = yes
                access_attr_used_for_allow = yes
        }

.
.
.
.
authorize {
           autztype LDAP1   {
                  ldap1
          }

         autztype LDAP2   {
                 ldap2
          }
         }





user....

DEFAULT Auth-Type:=LDAP
            Fall-Through = 1
DEFAULT Autz-Type:=LDAP1,Auth-Type:=LDAP1
DEFAULT Autz-Type:=LDAP2,Auth-Type:=LDAP2




Thanks

Roberto Pioli



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

Reply via email to