Can I force user password changes via confluence to OpenLDAP to bind as the user

Dexter AWS June 12, 2015

I have a confluence server that authenticates against an OpenLDAP server.  This is working fine, it obeys the groups, obeys the users, lets users change their password, etc.

This is also where the problem comes in, when changing passwords it doesn't seem to be behaving the same way a ldappasswd command would, it is allowing users to override the password policy for instance (length, complexity).  Those are being enforced when I run ldappasswd or passwd on a general linux machine.  

I assume this is happening because the query is being executed as the bind user, which has access to change the userPassword field without going through the pwpolicy module.

Is there a way to have Confluence bind as the user vs the binddn for password changes?  That should fix that problem.

1 answer

0 votes
Boris Berenberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2015

I don't think that this is currently possible. The simplest workaround would be to use a bind user that can not bypass the pwpolicy module. Long term, it may be best to file a suggestion against Confluence and Crowd for this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events