> Hi,
> Is there a way to add an ldap attritbute to an entry and then definate
[quoted text clipped - 16 lines]
> int SSN=12345
> ldapAttr1 = new LDAPAttribute("Social Security",SSN);
May be you must first add the new attribute in the Objectclass, and
then load the objectclass of this entry.
NY
> Hi,
> Is there a way to add an ldap attritbute to an entry and then definate
[quoted text clipped - 16 lines]
> int SSN=12345
> ldapAttr1 = new LDAPAttribute("Social Security",SSN);
Any attribute you use in an LDAP directory must have a definition in the schema
as an attributetype. This defines the meaning of the attribute and the types of
data it holds. The schema for an objectclass defines what attributes can be
contained within the object. You can't just add any piece of text as an
attribute.
What is the schema for your user id, and does it include any attribute for
"Social Security"?

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
RigasMinho - 29 Mar 2007 13:04 GMT
> > Hi,
> > Is there a way to add an ldap attritbute to an entry and then definate
[quoted text clipped - 33 lines]
>
> - Show quoted text -
Yeah i resolved it - i just created another ldap attribute and used
the replace function.