On Wed, 5 Sep 2001, Federico Sevilla III wrote:
..
> Hi everyone,
> (special mention: Orly Andico)
try doing queries as the root-dn first using ldapsearch BEFORE doing
anything fancy. if you can't connect and query your LDAP server using the
very basic stuff, you're already frying in your own fat.
for example, here's a trivial config..
/etc/openldap/slapd.conf:
..
database ldbm
suffix "dc=fubar,dc=org"
rootdn "cn=root,dc=fubar,dc=org"
..
then run ldapsearch like so..
ldapsearch -D "cn=root,dc=fubar,dc=org" -x -W -h 127.0.0.1 "uid=jijo"
which should give you something like a finger(1) (assuming you've imported
your data in RFC2307 compliant format)
If you can't get the above to work.. you're seriously screwed. If you
can.. on to the next step!! you can get nss_ldap to work fairly easily
(assuming you can connect and query), see the /etc/ldap.conf file for
nss_ldap
--
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]