Now, seriously this is giving me headaches. i added one attribute
"secretA" and class "userPerson" using JNDI. The code is given below.
Attributes atAttrs = new BasicAttributes(true);
atAttrs.put("attributeTypes",
"(1.3.6.1.4.1.18060.0.4.3.4.1 NAME 'secretA' DESC 'answer of secret
question' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE)");
ctx.modifyAttributes("cn=schema", DirContext.ADD_ATTRIBUTE
, atAttrs);
Attributes ocAttrs = new BasicAttributes(true);
ocAttrs.put("objectClasses", "(
1.3.6.1.4.1.18060.0.4.3.5.2 NAME 'userPerson' DESC 'An entry which
represents employee values' SUP inetOrgPerson STRUCTURAL MUST cn MAY (
secretAnswer ) )");
ctx.modifyAttributes("cn=schema", DirContext.ADD_ATTRIBUTE
, ocAttrs);
Restarted the server and checked the schema browser in apacheds directory
studio which donot shows the entries. Previously i added some attributed
and different class using same program and the schema browser showed them.
This is kind a frustrating. Is this some bug in apacheds or am i doing
wrong.
need help.
-Manish Kutaula
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you