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

Re: LDAP stopping without apparent reason



Michael Ströder escreveu:

> 
> overlay ppolicy
> ppolicy_default "cn=default,ou=policies,dc=example,dc=com"
> 
>>        objectClass: pwdPolicy
>>        objectClass: person
>>        objectClass: top
>> [..]
>> ldap_add: Invalid syntax (21)
>>         additional info: objectClass: value #0 invalid per syntax


in the slapd.conf:

moduleload      ppolicy
suffix          "dc=xxxxxxx,dc=com,dc=br"
rootdn          "cn=suporte,dc=xxxxxxxxx,dc=com,dc=br"
rootpw          secret
overlay         ppolicy
ppolicy_default "cn=default,ou=Policies,dc=xxxxxxxx,dc=com,dc=br"


But, on restart slapd process on the message of error:

# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd - failed:
User Schema load failed for attribute "pwdAttribute". Error code 17:
attribute type undefined

obviously, cn=default does not exist in the database, that is the
question that I could not understand who should be first in slapd.conf

unless the problem is in my schemas:

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/java.schema
include         /etc/ldap/schema/misc.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/openldap.schema
include         /etc/ldap/schema/samba.schema
include         /etc/ldap/schema/qmail.schema
include         /etc/ldap/schema/authldap.schema
include         /etc/ldap/schema/RADIUS-LDAPv3.schema

thanks.
-- 
Márcio Luciano Donada <mdonada at auroraalimentos dot com dot br>
Aurora Alimentos - Cooperativa Central Oeste Catarinense
Departamento de T.I.