Le mar 12/08/2003 � 17:41, Dustin Doris a �crit : > Nevermind, about the octaviosecret part. Still getting my coffe. > But just to be sure, is cn=Manager,dc=prism,dc=fr with the password of > secret correct?
yes, it's correct, I have this information into "slapd.conf" file. ...and "octaviosecret" is the password for the user "octavio" > > It says protocol error. What version of openldap are you running? openldap-2.1.21 The database for LDAP works with Berkeley, therefore i have an *.dbd file for the users. You think that i must re-make the instalation/configuration of radius with the option rlm_dbd? --with-rlm-dbd-include-dir=/path/to/ldap/include --with-rlm-dbd-lib-dir=/path/to/ldap/lib Your help is apreciated! Octavio > > > > On Tue, 12 Aug 2003, Dustin Doris wrote: > > > 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 > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
