ldapsearch -x -b "dc=br" -h x.y.z.w
But, I use radius to authentication. When I use ldapsearch all is okay.
Look may config ldap:
-----------------------------------------------
include /usr/home/andersonalves/work/radius/core.schema
include /usr/home/andersonalves/work/radius/gnugk.schema
loglevel 296
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
allow bind_v2
database bdb
suffix "dc=br"
rootdn "cn=root,dc=voip,dc=nce,dc=ufrj,dc=br"
rootpw xxx
directory /usr/home/andersonalves/work/radius/db/
index objectClass eq
index uid eq
mode 0600
cachesize 2000
replogfile /usr/home/andersonalves/work/radius/log/replog
-------------------------------------------------
Look my radius config in ldap session:
----------------------------------
ldap {
server="x.y.z.w"
identify="cn=root,dc=voip,dc=nce,dc=ufrj,dc=br"
password=xxx
basedn="ou=users,dc=voip,dc=nce,dc=ufrj,dc=br"
filter="(&(uid=%u)(objectclass=radiusprofile))"
start_tls = no
tls_mode = no
dictionary_mapping = /usr/local/etc/raddb/ldap.attrmap
ldap_cache_timeout = 120
ldap_cache_size = 0
ldap_connections_number = 10
password_attribute = userPassword
timeout = 3
timelimit = 5
net_timeout = 1
compare_check_items = no
}
------------------------------------
On Wed, 12 Jan 2005, Dustin Doris wrote:
> Can you bind with that username/password using a command line such as
> ldapsearch?
>
>
> On Wed, 12 Jan 2005, Anderson Alves de Albuquerque wrote:
>
> >
> >
> >
> > I only put "rootpw teste" in my slapd.conf.
> > I put in slapd.conf 'rootdn "cn=root,dc=voip,dc=nce,dc=ufrj,dc=br"'
> > and 'suffix "dc=br"'.
> > After I use "ldapadd" to create my tree with all struct expect
> > "cn=root,dc=voip,dc=nce,dc=ufrj,dc=br" .
> > I don�t create "cn=root,dc=voip,dc=nce,dc=ufrj,dc=br".
> >
> >
> >
> > Is this correct?
> >
> > Is there another step to config this ?
> >
> >
> >
> >
> > I only make this steps to config my "cn=root".
> >
> >
> > On Wed, 12 Jan 2005, Pete Conkin wrote:
> >
> > > From: "Anderson Alves de Albuquerque" <[EMAIL PROTECTED]>
> > > >
> > > > My RADIUS is make authentication in LDAP, there this error:
> > > >
> > > > rlm_ldap: LDAP login failed: check login, password settings in ldap
> > > > section of radiusd.conf
> > > > rlm_ldap: (re)connection attempt failed
> > >
> > > This part of your log seems to indicated the cause of the problem.
> > >
> > > Might be best to check the login/password in the ldap section of
> > > radiusd.conf :p
> > >
> > > Pete
> > >
> > >
> > > -
> > > 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