  | |  | Creating openldap database | Creating openldap database 2004-11-11 - By Nicole H�hnel
Back Hi,
I 'm trying to setup a ldap database for samba.
But when starting the ldap server, the database will not be created.
I get this message with "slapcat -d 255 ":
slapcat startup: initiated.
backend_startup: starting database
= > ldbm_cache_open( "id2entry.dbb ", 16, 600 )
* <= ldbm_cache_open NULL "id2entry.dbb " errno=2 reason= "No such file or
directory ")*
Could not open/create id2entry.dbb
slapcat: could not open database.
slapd.conf:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/autofs.schema
include /etc/openldap/schema/redhat/kerberosobject.schema
include /etc/openldap/schema/samba.schema
loglevel 4096
pidfile /tmp/slapd.pid
argsfile /tmp/slapd.args
modulepath /usr/sbin/openldap
access to * by * read
*database ldbm*
suffix "dc=ag-pc106,dc=de "
rootdn "cn=Manager,dc=ag-pc106,dc=de "
rootpw secret
directory /var/lib/ldap
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname
What is missing to create the database?
On Fedora Core 3 I can change the database backend to bdb an this works.
But this works not on rhel.
Thanks!
Nicole
--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |