Home Forums OS X Server and Client Discussion Open Directory Help needed extending OD schema

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #358367
    cormierjohn
    Participant

    I am having some trouble extending the schema using the directions in the guide, following examples, and reading the OPENLDAP docs. I know I’m somewhere on the right track because WGM was not allowing the directory owner to authenticate until I stopped taking shortcuts on the syntax of attributes and objectclasses.

    However, I am getting these pesky ëError of type -14136 on line 428 of NimrodPluginView.mmí errors when attempting to add my custom objectclass to a user record with WGM’s inspector. An even peskier side-effect is that once WGM errors out, the user record disppears from WGM, never to be seen again. This is also the error when I add a ‘random’ value to the objectclass list for any user, so I’m not sure if it’s my schema addition, or some step I’m missing for OD to be able to see it and accept it.

    I have put the schema additions in a seperate .schema file in the /etc/openldap/schema folder and matched the ownership and permissions of the other files in there. I modified the slapd.conf file and added an include that points to my schema file.

    Can anyone help point me in the right direction? Any help would be greatly appreciated!!!

    John Cormier

    Here’s my schema file contents…

    attributetype ( 1.3.6.1.4.1.42.2.27.1.2.6
    NAME ‘testattribute’
    DESC ‘Test Attribute’
    EQUALITY caseIgnoreIA5Match
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
    SINGLE-VALUE )

    objectClass ( 1.3.6.1.4.1.42.2.27.1.2.12
    NAME ‘testobjectclass’
    DESC ‘Test ObjectClass’
    SUP top STRUCTURAL
    MAY testattribute )

    #358379
    honestpuck
    Participant

    Hi John,

    I’ve given up on WGM for everything except adding accounts, deleting them and changing passwords.

    If you want to do anything else then may I suggest phpLDAPadmin which goes onto OS X Server like a dream and works like a charm. I had lots of the sort of problems you describe using WMG in Inspector mode while pLa just does it. So the problem may well be WGM rather than your schema, which looked fine.

    Tony

    #358456
    cormierjohn
    Participant

    phpLDAPAdmin worked like a charm as promised. I’ve got a support call open with AppleCare regarding which WGM plist files to modify and will post back once greater knowledge is obtained.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed