Hi .
I faced with issue when i added custom attribute to ldap. I followed this docs . I want to create new attribute , it is called logic .That is why i added this code block to /opt/gluu/schema/openldap/custom.schema .
But when i check this step : 4)/opt/symas/bin/slaptest -f /opt/symas/etc/openldap/slapd.conf -F /opt/symas/etc/openldap/slapd.d i get issue , then i replaced gluuCustomPerson class with getLogic which maybe does not exist here . Then i get success here and i started registering that attribute in oxtrust. But when i click save , i get error . you can see that in this screen-shot
Hello Sakit,
I just tried 'logic' attribute, it created successfully. Here is the snippet from 'custom.schema'
GLUU.root@allinone3:~# cat /opt/gluu/schema/openldap/custom.schema
attributetype ( 1.3.6.1.4.1.48710.1.3.1001 NAME 'myCustomAttr1'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Gluu - dynamic registration custom attribute' )
attributetype ( 1.3.6.1.4.1.48710.1.3.1002 NAME 'myCustomAttr2'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Gluu - dynamic registration custom attribute' )
attributetype ( 1.3.6.1.4.1.48710.1.3.1003 NAME 'logic'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Gluu - dynamic registration custom attribute' )
objectclass ( 1.3.6.1.4.1.48710.1.4.101 NAME 'gluuCustomPerson'
SUP ( top )
AUXILIARY
MAY ( telephoneNumber $ mobile $ logic )
X-ORIGIN 'Gluu - Custom persom objectclass' )
objectclass ( 1.3.6.1.4.1.48710.1.4.102 NAME 'oxAuthClientCustomAttributes'
SUP ( top )
AUXILIARY
MAY ( myCustomAttr1 $ myCustomAttr2 )
X-ORIGIN 'Gluu - Custom client objectclass' )
Also attaching two screenshots.
It worked .
Thanks.