LDAP Problems.

LDAP Problems.

Post by Richard Hort » Wed, 21 Aug 2002 23:17:09



Hi,

I'm running openldap on a RH7.3, and can't create any new records or
view the base dn...

My relevant information from slapd.conf is:-

suffix "o=KeCrypt,c=uk"
rootdn "cn=DirectoryManager,o=KeCrypt,c=uk"
rootpw <thingy>

directory /var/lib/ldap

The index lines are as per the default initial slapd.conf.

I can connect to my ldap server okay both locally and remotely as the
directory manager, but can't seem to create any objects either via
ldapadd, slapadd or using Ldap browser. Ldap brower complains "Reason:
[LDAP: error code 1 - Operations Error]". Part of the problem might be
that in LDAP browser it can't locate the entry for the suffix...

Help!

 
 
 

LDAP Problems.

Post by Bernd Eckenfel » Thu, 22 Aug 2002 00:24:39



> The index lines are as per the default initial slapd.conf.

what access lines do you have?

How have you initialized your databse? You might want to do it afain. Delete
all data and follow the instructions in:

http://www.openldap.org/doc/admin/dbtools.html

Greetings
Bernd

 
 
 

LDAP Problems.

Post by Richard Hort » Thu, 22 Aug 2002 20:53:41




> > The index lines are as per the default initial slapd.conf.

> what access lines do you have?

> How have you initialized your databse? You might want to do it afain. Delete
> all data and follow the instructions in:

> http://www.openldap.org/doc/admin/dbtools.html

> Greetings
> Bernd

My slapd.conf is as follows:-
# Sample Access Control
#       Allow read access of root DSE
#       Allow self write access
#       Allow authenticated users read access
#       Allow anonymous users to authenticate
#
#access to dn="" by * write
access to *
        by self write
        by users read
        by anonymous auth
#
# if no access controls are present, the default is:
#       Allow read by all
#
# rootdn can always write!

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm    
suffix          "o=KeCrypt,c=gb"
rootdn          "cn=DirectoryManager,o=KeCrypt,c=gb"

# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw <A SHA HASH>

# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory       /var/lib/ldap

# Indices to maintain
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,subinitial

The only change from the real one is the rootpw ;>

Trying to use the sample ldif file as per the instructions gives me
the operations error...

Any suggestions welcome,

TIA,
Richard.

 
 
 

1. LDAP problem in SuSE 7.1 ftp

Hi.

I have a very hard time to configure SuSE 7.1
PAM to accept LDAP authentication...
Can you please help me with /etc/pam.d/ftp and
/etc/pam.d/login ?
I would like to connect to Suse's 7.1 ftp server and
be able to authenticate over LDAP. I kinda figured
out the "login" but I have no clue on the 'pam ftp'.

Thank you,
Alex.

2. mouse problems in SW 3.5

3. ldap: problems with ldif

4. Where is libc.so.6.*?

5. Known Solaris and LDAP Problems

6. ports/41147: linux-sun-jdk1.4 was crashed

7. mod-ldap problem/question

8. Problem installing KDE 2

9. LDAP: Problems adding elements to Dir!

10. LDAP problem with SuSE 7.1

11. ldap problem on clusre2.2

12. LDAP Problems

13. ldap problems