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

This widget could not be displayed.
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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

602 views 8 6
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