[Date Prev][Date Next]
Re: Adding additional schema - objectClass: value #1 invalid per syntax
I added the following to my schema directory:[...etc...]
attributeTypes: ( 126.96.36.199.4.1.159188.8.131.52 NAME 'sudoUser' DESC 'User(s) who
may run sudo' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch
SYNTAX 184.108.40.206.4.1.14220.127.116.11.26 X-ORIGIN 'SUDO' )
and referenced it in slapd.conf as:
This looks like you're mixing a classic config file and a back-config
configuration. My guess is you need to include sudoers.schema using
On reviewing the list of available objectClasses with the GQ application, I
can't find the objectClass sudoRole, although I _can_ find the five
attributes, in the attribute list.
Eh, or maybe there's something worse going on...
I also can't figure out how to dump the schemas with ldapsearch or any other
command, so I can check to see for myself what's in there.
All gq is doing is searching under "cn=Subschema" base. You can do that
Your real debugging maneuver, assuming you're in a position to do this, is
to restart slapd with "-d config" debug option.