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

printer and schema trouble

I'm using OpenLDAP 2.3.34 on CentOS 4.4.

I'm trying to get some printer information stored in OpenLDAP and I'm having trouble getting the schema to work. I've obtained the ldap-printer.schema and ldap-slp.schema from http://www.kalamazoolinux.org/projects/awilliam/ldap.html.

The problem seems to be with ldap-slp.schema. There error that I get is as follows:

[:user@ldap-server:] /etc/init.d/ldap restart
Checking config file /etc/openldap/slapd.conf: [FAILED]
/usr/share/openldap/schema/ldap-slp.schema: line 38: Syntax not found: ""
slaptest: bad configuration file!

The part of the schema where the error occurs has the following entry:

attributetype (
     NAME 'service-advert-service-type'
     DESC 'The service type of the service advertisement, including
           the "service:"; prefix.'
     EQUALITY caseExactIA5Match

...and the "syntax not found" error appears to reference an entry at the very top of the schema file:

     DESC 'SLP Service Type' )

The odd thing about this entry (to me) is that they don't have an attributetype or objectclass in the description.

Does anybody have a working printer schema configuration that they would be willing to share or know why mine is not working?

Joshua M. Miller - RHCE,VCP