Full_Name: Jan Synacek Version: master OS: Linux - Fedora 18 URL: http://jsynacek.fedorapeople.org/openldap/0001-Fix-config_build_schema_inc.patch Submission from: (NULL) (209.132.186.34) When converting a slapd.conf into the DIT configuration, slaptest incorrectly handles 'include' directives containing a custom file instead of a schema file. Example: custom.file: include /etc/ldap/schema/cosine.ldif slapd.conf ... include /path/to/custom.file ... Slaptest does not properly include cosine.ldif into the new configuration.
jsynacek@redhat.com wrote: > Full_Name: Jan Synacek > Version: master > OS: Linux - Fedora 18 > URL: http://jsynacek.fedorapeople.org/openldap/0001-Fix-config_build_schema_inc.patch > Submission from: (NULL) (209.132.186.34) > > > When converting a slapd.conf into the DIT configuration, slaptest incorrectly > handles 'include' directives containing a custom file instead of a schema file. > > Example: > custom.file: > include /etc/ldap/schema/cosine.ldif > > slapd.conf > ... > include /path/to/custom.file > ... > > Slaptest does not properly include cosine.ldif into the new configuration. Your example is invalid since slapd.conf format doesn't support including LDIF files. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
On 06/17/2013 02:41 PM, Howard Chu wrote: > jsynacek@redhat.com wrote: >> Full_Name: Jan Synacek >> Version: master >> OS: Linux - Fedora 18 >> URL: >> http://jsynacek.fedorapeople.org/openldap/0001-Fix-config_build_schema_inc.patch >> Submission from: (NULL) (209.132.186.34) >> >> >> When converting a slapd.conf into the DIT configuration, slaptest incorrectly >> handles 'include' directives containing a custom file instead of a schema file. >> >> Example: >> custom.file: >> include /etc/ldap/schema/cosine.ldif >> >> slapd.conf >> ... >> include /path/to/custom.file >> ... >> >> Slaptest does not properly include cosine.ldif into the new configuration. > > Your example is invalid since slapd.conf format doesn't support including LDIF > files. > Sorry, I meant "schema" instead of "ldif". s/cosine.ldif/cosine.schema
changed notes changed state Open to Closed
Fixed in ITS#7739 (patch provided here was actually correct)