My example.ldif:

dn: dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: TFG Database
dc: db

dn: cn=Manager,dc=example,dc=com
objectclass: organizationalRole
cn: Manager

Also, copied DB_CONFIG.example to /var/lib/ldap/DB_CONFIG.

Thanks for the help.

-ron

Gavin Henry wrote:
<quote who="Ron Parker">
  
OK, I got past this problem by simply configuring all overlays (required
installing application that provided sql.h library):

./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--enable-backends --enable-overlays

Started slapd with these warnings:

     ...
    WARNING: No dynamic config support for database relay.
    config_build_entry: "olcDatabase={2}relay"
    WARNING: No dynamic config support for overlay rwm.
    config_build_entry: "olcOverlay={0}rwm"
    backend_startup_one: starting "dc=example,dc=com"
    bdb_db_open: Warning - No DB_CONFIG file found in directory
    /var/lib/ldap: (2)
    Expect poor performance for suffix dc=example,dc=com.
    bdb_db_open: dbenv_open(/var/lib/ldap)
    backend_startup_one: starting "dc=alias,dc=example,dc=com"
    slapd starting
    

Yes, warnings. You can add a DB_CONFIG file later. There's a sample one
provided in /etc/openldap (since you prefixed --sysconfdir=/etc)



  
    [root@db workarea]# ldapadd -x -D "cn=Manager,dc=example,dc=com" -W
-f example.ldif
    Enter LDAP Password:
    

  
    <= entry_decode: str2ad(n): AttributeDescription contains
inappropriate characters
    <= entry_decode: slap_str2undef_ad(n): AttributeDescription contains
inappropriate characters
    

Can we see your example.ldif

Thanks.

__________ NOD32 2520 (20070911) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



  


-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com