[Date Prev][Date Next] [Chronological] [Thread] [Top]

linuxppc problems




>hello, im pretty new, i read implementing ldap by mark wilcox and jsut got
>implementing directory services by archie reed, im pretty sure i got the
>basic theory down, its just i was going off the openldap quickstart site and
>i keep getting ldap_bind: Can't contact LDAP server, and i've been following
>your quickstart guide and trouble shooting faqs, but dont know whats wrong. when i comment everything out in the ldap.conf or comment everything except the BASE and HOST i get the ldap_bind: no such object error when i try to ldapadd -D "cn=Manager, dc=beth, dc=k12, dc=pa, dc=us" -W < myldif.ldif

>i start my server like it says in the quickstart guide->
>/usr/sbin/slapd -f /etc/openldap/slapd.conf
>
>here are my config files, see anything wrong ?
>heres my ldap.conf
>#
># LDAP Defaults
>#
>
># See ldap.conf(5) for details
># This file should be world readable.
>
>BASE    dc=beth, dc=k12, dc=pa, dc=us
>HOST    nc-99.beth.k12.pa.us
>
>HOST    nc-99.beth.k12.pa.us:666
>PORT    389
>
>SIZELIMIT       12
>TIMELIMIT       15
>DEREF           never
>
>heres my slapd.conf
>
>include         /etc/openldap/slapd.at.conf
>include         /etc/openldap/slapd.oc.conf
>schemacheck     off
>#referral       ldap://root.openldap.org/
>pidfile         /var/run/slapd.pid
>rgsfile        /var/run/slapd.args
>#################################################################
># ldbm database definitions
>#######################################################################
>
>database        ldbm
>suffix          "dc=beth, dc=k12, dc=pa, dc=us"
>#suffix         "o=My Organization Name, c=US"
>rootdn          "cn=Manager, dc=beth, dc=k12, dc=pa, dc=us"
>#rootdn         "cn=Manager, o=My Organization Name, c=US"
>rootpw          secret
># cleartext passwords, especially for the rootdn, should
># be avoid.  See slapd.conf(5) for details.
>directory       /var/lib/ldap
>
>and heres myldif.ldif
>
>dn: dc=beth, dc=k12, dc=pa, dc=us
>dc: beth
>o: basd
>objectclass: organization
>objectclass: dcObject
>
>dn: cn=Manager, dc=beth, dc=k12, dc=pa, dc=us
>cn: Manager
>sn: Manager
>objectclass: person
>_____________________________________________________________________
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com