LDAP & Java a luta continua

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.

Eu estou com esse mesmo problema…
pelo que eu entendi nas minhas pesquisas, algum atributo obrigatório foi preenchido e forma errada ou não foi preeenchido…
mas no Ldif que eu adicionei, esta a mesma estrutura que eu estou tentando adicionar

Meu Ldif:

/* 
# ROLES ENTRIES
dn: cn=role1,ou=Roles,dc=my-domain,dc=com
objectClass: top
objectClass: groupOfNames
cn: role1
member: uid=user1,ou=People,dc=my-domain,dc=com
member: uid=user2,ou=People,dc=my-domain,dc=com
ou: role1
*/

Meu código:

LDAPAttributeSet attributeSet = new LDAPAttributeSet();
attributeSet.add(new LDAPAttribute("cn", "role3"));
attributeSet.add(new LDAPAttribute("objectClass", "top"));
attributeSet.add(new LDAPAttribute("objectClass", "groupOfNames"));
attributeSet.add(new LDAPAttribute("ou", "role3"));
attributeSet.add(new LDAPAttribute("member", "uid=user1,ou=People,dc=my-domain,dc=com"));
attributeSet.add(new LDAPAttribute("member", "uid=user2,ou=People,dc=my-domain,dc=com"));
String  dn  = "cn=role3,ou=Roles,dc=my-domain,dc=com";      
LDAPEntry newEntry = new LDAPEntry( dn, attributeSet );

Meu ldif roda… meu código não =T
o erro é o mesmo do camarada acima…