Galera to com o seqguinte problema
quando tento salvar uma entrada no ldap
Object Class Violation (65) Object Class Violation LDAPException:
Server Message: no structural object class provided
que na lista de erro seria o codigo seria correspondente a
[b]
OBJECT_CLASS_VIOLATION
public static final int OBJECT_CLASS_VIOLATION
Indicates that the add, modify, or modify DN operation violates
the object class rules for the entry.
For example, the following types of request return this error:
* The add or modify operation tries to add an entry without a
value for a required attribute.
* The add or modify operation tries to add an entry with a
value for an attribute which the class definition does not contain.
* The modify operation tries to remove a required attribute
without removing the auxiliary class that defines the attribute as
required.
OBJECT_CLASS_VIOLATION = 65
[/b]
mais eu preencho o objectclass assim como estou vendo nos ja exitentes
attributeSet.add(new LDAPAttribute("objectclass", new String("top")));
attributeSet.add(new LDAPAttribute("objectclass", new
String("ispmanDomain")));
attributeSet.add(new LDAPAttribute("objectclass", new
String("PureFTPdUser (structural)")));
attributeSet.add(new LDAPAttribute("objectclass", new
String("posixAccount")));
alguem que tenha trabahado com ldap tem ideia do que pode ser, o erro é relamente no objectclass??
valeu.