Pages

Saturday, May 10, 2014

Adding the eduMember schema to Openldap

Importing the eduMember Ldap Schema to Open Ldap


1. Create the eduMember.ldif file


dn: cn={12}eduMember,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: {12}eduMember
olcAttributeTypes: {0}( 1.3.6.1.4.1.5923.1.5.1.1 NAME 'isMemberOf' DESC 'Identifiers for groups to which containing entity belongs' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcAttributeTypes: {1}( 1.3.6.1.4.1.5923.1.5.1.2 NAME 'hasMember' DESC 'Identifiers for entities that are members of the group' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
olcObjectClasses: {0}( 1.3.6.1.4.1.5923.1.5.2 NAME 'eduMember' DESC 'eduMember for Groups' AUXILIARY MAY ( isMemberOf $ hasMember ) )


2. Import the eduMember.ldif to the openldap



ldapadd -x -h localhost -p 389 -D cn=config -W -f eduMember.ldif





No comments:

Post a Comment