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