Java Netscape LDAP Remove One Attribute

Posted by spex on Stack Overflow See other posts from Stack Overflow or by spex
Published on 2010-04-06T14:36:09Z Indexed on 2010/04/06 15:23 UTC
Read the original article Hit count: 298

Filed under:
|
|
|
|

Hi, I have LDAP schema where are users. I need remove one attribute named "notify" which have values: phone number or mail or remove attribute from user. I found method

LDAPConnection myCon = new LDAPConnection("localhost",389);
myCon.delete("uid=test1, ou=People, o=domain.com, o=isp");

but this remove whole user and i need remove only one attribute "notifyTo" of this user. I need remove whole attribute not only its value.

Thanks for reply

© Stack Overflow or respective owner

Related posts about java

Related posts about netscape