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

passwd error



system: redhat 7.1 openldap-servers-2.0.7-14

[root@safari openldap]# service ldap start
Starting slapd: Unrecognized database type (passwd)
                                                           [FAILED]

why ??
in the man page it said that I can set database to "passwd"

[root@safari openldap]# cat slapd.conf
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18
kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
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/rfc822-MailMember.schema
include         /etc/openldap/schema/redhat/autofs.schema
include         /etc/openldap/schema/redhat/kerberosobject.schema

# Load dynamic backend modules:
# modulepath    /usr/sbin/openldap   THIS directory doesn't exist !
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

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

database        passwd
suffix          "dc=ksb-arg, dc=com"
rootdn          "cn=root, dc=ksb-arg,dc=com"

# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          {crypt}sk8YzjVpD2sUQ

[root@safari openldap]#