[Date Prev][Date Next]
Re: ldap cant connect
Thanks for responding....i have since cured my slapd issue..it was
indeed a simple thing...
it seems that doing the default installs the initial slapd.conf created
doesnt match up pathwise with where things get put by default...and on
top of that when you try to start slapd it doesnt bark at you if the
path is wrong and it doesnt find slapd...it just doesnt start...so you
end up going...hmmmm ps ax.....i dont see slapd.....why??? in anycase i
did fix the path that had been generated...however it would have been
much easier on my eye strain :) if the defaults had all matched up with
my current issue now is working on learning these ldapcommands....and
the proper syntax...some of these things seem quite picky....but things
thanks for responding...
"Prashant K.S" wrote:
> try doing ps ax|grep slapd and if you find slapd
> process,then there may be some other problem.If slapd
> is not running, then login as root using su - root and
> then check if the file /etc/openldap/slpad.conf
> exists.If yes simply run slapd and continue ldapadd,
> else first check for slapd.conf and run slapd with -f
> option followed by the path for slapd.conf.
> Now try running ldapadd.
> --- Ray Schneider <email@example.com> wrote:
> > Completely new to LDAP....I have followed the
> > directions on the
> > Quick-Start on the site....
> > Everything seems to be okay....but then I try to do
> > the following
> > command and get...
> > command:
> > ldapadd -D "cn=root, dc=schneiderystems, dc=com" -W
> > <conf.ldif
> > Enter LDAP Password: <i enter the password>
> > ldap_bind: Can't contact LDAP server
> > I have been parsing thru all the archives and howtos
> > and such....I
> > suspect that this is simply that the ldap server
> > isnt really starting
> > when I issue
> > su root -c '/usr/local/libexec/slapd -f slapd.conf
> > but, alas I havent been able to cure this...any help
> > on this would be
> > great....Im sure its just something simple that I
> > must be
> > overlooking....
> > tia-
> > Ray
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
Operations Engineer http//:www.scoreboardinc.com
Founded gmulug http//:www.af-design.com/gmulug
Imagination is more important than knowledge.