Manuel Izquierdo
2015-01-05 11:28:45 UTC
Hi
I am new using freeradius.
I am trying to configure freeradius to authenticate with LDAP and it is working well. Also I want to use a local user in the users file to use from network manager server but this user must be authenticated in local and donÂŽt go to the LDAP.
This is my configuration:
/etc/raddb/sites-available/default
authorize {
preprocess
chap
mschap
digest
files
ldap
}
/etc/raddb/users
admin Cleartext-Password := šsetupš
DEFAULT LDAP-GROUP == šNetwork-monitorâ
DEFAULT Auth-Type = Local
Fall-Through = yes
With this configuration always is working LDAP, if you do a debug using the local user I can see:
- [ files ] returns ok
- Now start again LDAP ?? âŠ. WARNING: Auth-Type already set. Not setting to PAP
Failed to authenticate the user
I donât know why it trying using LDAP. Please, would you mind the simplest way to have a local user and LDAP working. If it is the local user donÂŽt use LDAP or if LDAP not found the user user local file.
Regards
Manuel Izquierdo Calvo
Senior Technical Specialist
Mail: ***@gmail.com <mailto:***@gmail.com>
Mob: + 61 431 452 049
I am new using freeradius.
I am trying to configure freeradius to authenticate with LDAP and it is working well. Also I want to use a local user in the users file to use from network manager server but this user must be authenticated in local and donÂŽt go to the LDAP.
This is my configuration:
/etc/raddb/sites-available/default
authorize {
preprocess
chap
mschap
digest
files
ldap
}
/etc/raddb/users
admin Cleartext-Password := šsetupš
DEFAULT LDAP-GROUP == šNetwork-monitorâ
DEFAULT Auth-Type = Local
Fall-Through = yes
With this configuration always is working LDAP, if you do a debug using the local user I can see:
- [ files ] returns ok
- Now start again LDAP ?? âŠ. WARNING: Auth-Type already set. Not setting to PAP
Failed to authenticate the user
I donât know why it trying using LDAP. Please, would you mind the simplest way to have a local user and LDAP working. If it is the local user donÂŽt use LDAP or if LDAP not found the user user local file.
Regards
Manuel Izquierdo Calvo
Senior Technical Specialist
Mail: ***@gmail.com <mailto:***@gmail.com>
Mob: + 61 431 452 049