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

rootDSE /etc/openldap/rootDSE.ldif (ITS#2172)



Full_Name: Stefan Metzmacher
Version: 2.1.4
OS: linux i386 SuSE 8.1 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (80.141.96.155)


Hi,

I have set 'rootDSE /etc/openldap/rootDSE.ldif'
in slapd.conf, but then slapd don't start fine...
something with the parsing the file rootDSE.ldif is wrong.
If I comment out this line slapd starts fines.
(btw I have checked the cvs 2.1.4 should be the same as 2.1.8)

PDC:/etc/openldap # ls
.   ldap.conf          rootDSE.ldif  slapd.conf
..  ldap.conf.default  schema        slapd.conf.default
PDC:/etc/openldap # more rootDSE.ldif
dn: 
cn: W2K.BASE:pdc$@W2K.BASE
PDC:/etc/openldap # mc

PDC:/etc/openldap # rcldap restart
Shutting down ldap-server                                            done
Starting ldap-serverroot_dse: could not parse entry (line=3)
slapd: entry.c:345: entry_free: Assertion `e != ((void *)0)' failed.
startproc:  signal catched /usr/lib/openldap/slapd: Aborted
                                                                     failed



without rootDSE:

PDC:/etc/openldap # ldapsearch -x -h localhost -b "" -s base -LLL 
"(objectClass=*)"  "+" "*"
dn:
objectClass: top
objectClass: OpenLDAProotDSE
structuralObjectClass: OpenLDAProotDSE
namingContexts: dc=MX,dc=BASE
supportedControl: 2.16.840.1.113730.3.4.2
supportedControl: 1.2.826.0.1.334810.2.3
supportedExtension: 1.3.6.1.4.1.4203.1.11.3
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.1466.20037
supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
supportedFeatures: 1.3.6.1.4.1.4203.1.5.2
supportedFeatures: 1.3.6.1.4.1.4203.1.5.3
supportedFeatures: 1.3.6.1.4.1.4203.1.5.4
supportedFeatures: 1.3.6.1.4.1.4203.1.5.5
supportedLDAPVersion: 3
subschemaSubentry: cn=Subschema