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 <[email protected]> 
Sent: Friday, September 18, 2020 2:12 AM
To: [email protected]
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"
> <[email protected]> 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

[email protected]

Worteks | 
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.worteks.com&d=DwIFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=BQ_G-uwK8fNzomGg07UAOw&m=JkEezWqPIi0HQAngObEYkgHRG3blN7SiTL9vXqkI040&s=_JfXDZEl4hCn6WPOT72QreOWZ8PQeAWKdPNU3ZKtEJ4&e=
 

Reply via email to