Hello Clement,
What is strange, is I do not receive any error, the script runs and shows the below:
----- root pdprfsl4.sldc.sbc.com /root ----- $ cat ResetPW.ldif # dn: uid=foxdiv,ou=People,dc=att,dc=com changetype: modify replace: pwdReset pwdReset: TRUE - replace: userPassword userPassword: Linux0NE -
******** Below is what is returned ************* ----- root pdprfsl4.sldc.sbc.com /root ----- $ ./ResetPW.sh modifying entry "uid=foxdiv,ou=People,dc=att,dc=com"
----- root pdprfsl4.sldc.sbc.com /root ----- $
Thanks, Ed
-----Original Message----- From: Clément OUDOT clement.oudot@worteks.com Sent: Friday, September 18, 2020 2:12 AM To: openldap-technical@openldap.org Subject: Re: Issues with resetting user password
Le 18/09/2020 à 00:57, Quanah Gibson-Mount a écrit :
--On Thursday, September 17, 2020 11:41 PM +0000 "CLARKE, ED C" ec4397@att.com wrote:
[Image: ""]
Hello,
I am new to this arena, I have a Open LDAP installed on my Linux server RHEL 7.8.
I am not able to reset user passwords, I have checked the systemctl status slapd.service And it is active & running.
Below is an example of the resetpw.ldif:
Are you using the ppolicy module? You've provided no information about your configuration.
The correct way to change a user password is to use an LDAPv3 password modify operation, not an ldapmodify change. See the ldappasswd(1) command.
Note that we can't modify pwdReset attribute trough ldappasswd, as far as I know.
Ed, what is the error returned by your ldapmodify command?
-- Clément Oudot | Identity Solutions Manager
clement.oudot@worteks.com
Worteks | https://urldefense.proofpoint.com/v2/url?u=https-3A__www.worteks.com&d=D...