[Date Prev][Date Next]
Re: Adding additional schema - objectClass: value #1 invalid per syntax
I added the following to my schema directory:[...etc...]
attributeTypes: ( 184.108.40.206.4.1.159220.127.116.11 NAME 'sudoUser' DESC 'User(s) who
may run sudo' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch
SYNTAX 18.104.22.168.4.1.1422.214.171.124.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.