View Issue Details

IDProjectCategoryView StatusLast Update
0005846SOGoGUIpublic2023-11-27 09:01
ReporterMrT2020 Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version11 and 12
Product Version5.8.4 
Summary0005846: passwordRecovery via Email with OpenLDAP server 2.5 fails because sending old new to Ldap
Description

sogo 5.8.4.20230821-1
slapd 2.5.13+dfsg-5

is not an issue with ACL on slapd, because access is granted:

=> slap_access_allowed: auth access granted by manage(=mwrscxd)
=> access_allowed: auth access granted by manage(=mwrscxd)

sogo triggers PASSMOD on slapd with old new -> unwilling to verify old password (how old password is fetch because user does input it - in passwordRecovery via gui only new is queried, of course ;-) )

PASSMOD id="" new -> only submitting the new password would work

Any chance to get a kind of ldap configuration parameter enforcing ldap password change with new password only (for open ldap) ?

br

TagsNo tags attached.

Activities

MrT2020

MrT2020

2023-11-17 00:24

reporter   ~0017440

same situation with 5.9.0

sogo.conf important section

bindDN = "uid=sogo,dc=internal";
bindAsCurrentUser = YES;

openldap with ppolicy working as aspected using default tools like ldappasswd (ppolivy Attribute pwdSafeModify : FALSE )
ldappasswd -x -H ldap://localhost -D uid=sogo,dc=internal -S uid=test5.test5,ou=People,ou=internal,ou=Domains,dc=internal -W ->

slap_access_allowed: add access granted by write(=wrscxd) (userPassword)
conn=1059 op=1 PASSMOD id=uid=test5.test5,ou=People,ou=internal,ou=Domains,dc=internal" new -> OK

ldappasswd -x -H ldap://localhost -D uid=sogo,dc=internal -S uid=test5.test5,ou=People,ou=internal,ou=Domains,dc=internal -W -A (old pwd prompt)->

slap_access_allowed: add access granted by write(=wrscxd) (userPassword)
conn=1059 op=1 PASSMOD id=uid=test5.test5,ou=People,ou=internal,ou=Domains,dc=internal" old new -> OK

with SOGo -> passwordRecovery -> SOGo is sending PASSMOD id=uid=test5.test5,ou=People,ou=internal,ou=Domains,dc=internal" old new
-> text=unwilling to verify old password

Ldap Binds/ACL are correct - bind as , permission, query, etc.....

the only issue is using openldap (with ppolicy pwdSafeModify : FALSE):
PASSMOD without an old one has to be only with the new one -> PASSMOD new

so another try:
Any chance to get a kind of ldap configuration parameter enforcing ldap password change with new password only (for open ldap) ?

f.e.
passwordPolicy = YES;
passwordPolicySafeModify = FALSE;
passwordPolicySafeModifyModule = ("passwordRecovery ");

sebastien

sebastien

2023-11-27 09:01

administrator   ~0017469

Thank you for reporting this !

Sebastien

Issue History

Date Modified Username Field Change
2023-08-22 16:19 MrT2020 New Issue
2023-11-17 00:24 MrT2020 Note Added: 0017440
2023-11-27 09:01 sebastien Note Added: 0017469