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: "1.3.6.1.4.1.6252.2.27.6.2.2" slaptest: bad configuration file!
The part of the schema where the error occurs has the following entry:
attributetype ( 1.3.6.1.4.1.6252.2.27.6.1.4 NAME 'service-advert-service-type' DESC 'The service type of the service advertisement, including the "service:" prefix.' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.6252.2.27.6.2.2 SINGLE-VALUE )
...and the "syntax not found" error appears to reference an entry at the very top of the schema file:
( 1.3.6.1.4.1.6252.2.27.6.2.2 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?
TIA,