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

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 vote
Boris Berenberg Community Champion Jun 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

900 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you