On Tue, 12 Aug 2003, Octavio Ramirez Rojas wrote:

> Hi,
>
> I running radius in mode debug (radiusd -X -A)
>
> I have one LDAP database (*.dbm), that contiens:
>
> dn: cn=octavio,ou=MemberGroupA,dc=prism,dc=fr
> cn: octavio
> sn: Ramirez
> ou: MemberGroupA
> userpassword: octaviosecret
>
> --
> Server LDAP and RADIUS are installed into the same machine.
> When I execute radtest:
>
> #radtest -d /usr/local/etc/raddb octavio octaviosecret localhost 1
> secret
>
> **** I have this effect in debug mode:
>
> rlm_ldap: - authorize
> rlm_ldap: performing user authorization for octavio
> radius_xlat:  '(uid=octavio)'
> radius_xlat:  'dc=prism,dc=fr'
> ldap_get_conn: Got Id: 0
> rlm_ldap: attempting LDAP reconnection
> rlm_ldap: (re)connect to localhost:389, authentication 0

You have freeradius set to bind with the password of secret.  But above
you have the password set as octaviosecret.

> rlm_ldap: bind as cn=Manager,dc=prism,dc=fr/secret to localhost:389
> rlm_ldap: waiting for bind result ...
> rlm_ldap: cn=Manager,dc=prism,dc=fr bind to localhost:389 failed
> Protocol error
> rlm_ldap: (re)connection attempt failed
> rlm_ldap: search failed
> ldap_release_conn: Release Id: 0
>   modcall[authorize]: module "ldap" returns fail
> modcall: group authorize returns fail
> There was no response configured: rejecting request 0
> Server rejecting request 0.
> Finished request 0
>
> ***
> How can I bind LDAP server?
>

Change radiusd.conf

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

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

Reply via email to