ldap - Tivoli Directory Server - How to set pwdReset to false for a user through Java -


i need set attribute pwdreset false through java. code works other attributes, attribute's value remains false if set false. don't error while modifying attribute either. (i know operational attribute , should not changed explicitly not have choice value doesn't change false after password changed after reset.) following code -

basicattribute attr = new basicattribute("pwdreset","false"); modslist.add(new modificationitem(dircontext.replace_attribute, attr)); modificationitem [] modsarr = modslist.toarray(new modificationitem[modslist.size()]); ctx.modifyattributes(username, modsarr); 

i have tried integer.tostring(0), false etc. values attribute none worked. please help?


Comments