Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of BindDN for updating #15

Open
Elethiomel opened this issue Oct 26, 2012 · 1 comment
Open

Use of BindDN for updating #15

Elethiomel opened this issue Oct 26, 2012 · 1 comment

Comments

@Elethiomel
Copy link

Our Bind DN is only used for searching. It does not have the privileges to update the users entry.

Is there some way the users credentials can be used to do the update?

This plugin is exactly what we need!

@Elethiomel
Copy link
Author

I managed to fix this by changing the binddn to be the user's (construct using the %email_local variable) I then set the password via %password which seems to be the password the user logged in to roundcube using

// Bind DN
$rcmail_config['vacation_ldap_binddn'] = 'uid=%email_local,ou=People,dc=foo,dc=bar,dc=com';

// Bind password
$rcmail_config['vacation_ldap_bindpw'] = '%password';

As the bind is as the user and the user can update their own entry, everything works now :) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant