Re: [389-users] Reset Password as Root if User Forgets Password

2014-01-28 Thread Chaudhari, Rohit K.
There is a tab under Data-Password Policy, and what I meant was that checkbox Reset password. I want the ability to programmatically toggle that checkbox. Is there an attribute associated with that? Thanks On 1/27/14 3:21 PM, Dan Lavu d...@lavu.net wrote: There is no tab for it. On 26/01/14

Re: [389-users] Reset Password as Root if User Forgets Password

2014-01-27 Thread Dan Lavu
There is no tab for it. On 26/01/14 22:55, Chaudhari, Rohit K. wrote: Hello 389DS users, I'm trying to figure out how to programmatically control the Change password after reset through Java code. What is the attribute associated with that checkbox in the 389DS password policy tab? Is

[389-users] Reset Password as Root if User Forgets Password

2014-01-22 Thread Chaudhari, Rohit K.
Hello, I need to be able to reset a LDAP user's password if they forget it with the user root. But when I try the passwd command as root for a LDAP user, I get the following: (as root) passwd tuser Changing password for user tuser. Password reset by root is not supported. passwd:

Re: [389-users] Reset Password as Root if User Forgets Password

2014-01-22 Thread Paul Robert Marino
sorry thats not possible. If you are using Kerberos then you can do it via the kadmin command. If not then you have to use one of several other tools like the admin console or ldapmodify for example. On Wed, Jan 22, 2014 at 9:06 AM, Chaudhari, Rohit K. rohit.chaudh...@jhuapl.edu wrote: Hello,

Re: [389-users] Reset Password as Root if User Forgets Password

2014-01-22 Thread Chaudhari, Rohit K.
I'm not using kerberos. The other suggestion about using ldappasswd led to the error: ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) Additional info: TLS: hostname does not match CN in peer certificate Is there a way to create a JNDI equivalent command so that I could add a

Re: [389-users] Reset Password as Root if User Forgets Password

2014-01-22 Thread Nathan Kinder
On 01/22/2014 12:31 PM, Chaudhari, Rohit K. wrote: Before I explore this further, when using ldappasswd, will it still prompt me for the current password before I can type in a new password to replace it? You need to be bound to the LDAP server as a user who has permission to change the