Hello,

I'm facing an issue with SOGo password recovery and would like some guidance.

Environment:
- SOGo version: 5.12.4.20251209-1
- OS: Ubuntu 24.04.1 LTS
- Authentication backend: LDAP (OpenLDAP, iRedMail style)
- Profile / store backend: MariaDB
- SOGoPasswordRecoveryEnabled = YES
- SOGoPasswordChangeEnabled = YES

Problem description:
- User accesses the SOGo web interface
- Clicks "Forgot password"
- No password recovery email is sent

Relevant behavior in logs:
The password recovery request reaches SOGo, a recovery token is generated
and stored in sogo_user_profile, but the request then fails and returns HTTP 
501.

Relevant log excerpt:
Dec 11 22:20:42 sogod[...] starting method 'POST' on uri 
'/SOGo/so/passwordRecoveryEmail'
...
EXCEPTION: NSInvalidArgumentException
REASON: Tried to add nil value for key 'userName' to dictionary
...
"POST /SOGo/so/passwordRecoveryEmail" 501

---

At this point I'm not sure whether this is a configuration issue,
a limitation of LDAP-based authentication, or something else.

Any guidance on how password recovery is expected to work with LDAP
would be greatly appreciated.

Thank you,
Saksit

Reply via email to