Freeradius v3.0.11 LDAP "userpassword: {SASL}bob" problems
Hello, I installed freeradius version 3.0.11. I have two LDAP directory servers. An LDAP server prinicpal A that contains all users. and an LDAP server B directly connected to radius server (same network). LDAP server B contacts the prinicpal server A when needed to authenticate a user. The password fields of users on the server B are in the form userpassword: {SASL}bob bob is the username. Here is a part of debug output when authentificating a user: rlm_ldap (ldap): Reserved connection (2) (8) ldap: EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}}) (8) ldap: --> (uid=kouata) (8) ldap: Performing search in "dc=example,dc=com" with filter "(uid=bob)", scope "sub" (8) ldap: Waiting for search result... ldap: User object found at DN "uid=bob,ou=People,o=Myentreprise,dc=example,dc=com" (8) ldap: Processing user attributes (8) ldap: control:Password-With-Header += '{SASL}bob' rlm_ldap (ldap): Released connection (2) (8) [ldap] = updated (8) [expiration] = noop (8) [logintime] = noop (8) pap: Unknown header {{SASL}} in Password-With-Header, re-writing to Cleartext-Password (8) pap: Removing &control:Password-With-Header My radius server can not authenticate users from LDAP server B. Can anyone help me? thank you!
On Jun 15, 2016, at 4:54 AM, Kouata Modibo <sande7kouata@gmail.com> wrote:
I installed freeradius version 3.0.11. I have two LDAP directory servers. An LDAP server prinicpal A that contains all users. and an LDAP server B directly connected to radius server (same network). LDAP server B contacts the prinicpal server A when needed to authenticate a user. The password fields of users on the server B are in the form userpassword: {SASL}bob
That isn't supported by FreeRADIUS. You will need to put real passwords into LDAP for it to work. Alan DeKok.
On 16 Jun 2016, at 10:13, Alan DeKok <aland@deployingradius.com> wrote:
On Jun 15, 2016, at 4:54 AM, Kouata Modibo <sande7kouata@gmail.com> wrote:
I installed freeradius version 3.0.11. I have two LDAP directory servers. An LDAP server prinicpal A that contains all users. and an LDAP server B directly connected to radius server (same network). LDAP server B contacts the prinicpal server A when needed to authenticate a user. The password fields of users on the server B are in the form userpassword: {SASL}bob
That isn't supported by FreeRADIUS.
You will need to put real passwords into LDAP for it to work.
Alan DeKok.
I think OP is using it as some kind of weird aliasing thing, in which case it's doable, OP just needs to read 'man unlang' and figure out the logic OP's self. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Kouata Modibo