Why I require this patch ?
Roundcube password plugin does not sync samba password. This patch can sync your samba password using roundcube password plugin
Apply this patch at your own risk . Dont forget to use --dry-run option before running this patch
How to apply patch ?
- Download patch file from download link listed below.
- Copy patch file to directory /usr/share/roundcube/plugins/password/drivers.
- For a safer side take a backup of your original ldap.php file.
# cp ldap.php ldap.php.org
- Now patch your ldap.php file.
# patch -p0 < rcldappasswd.patch
Where can I download this patch ?
I have uploaded the patch in below location.
Download RCLdapPatch
Thanks for sharing, but when i try to patch i get this error
ReplyDeletepatching file ldap.php
Hunk #1 FAILED at 21.
patch: **** unexpected `***' at line 37: *** ldap.php 2010-05-19 15:28:39.000000000 +0530
Please share your email addres or you can send me mail to praveen.velu84@yahoo.com. I can send the patch by mail
ReplyDeleteHi Praveen,
ReplyDeleteI got same error that Menecio got.
Could you help me?
send me instructions to harryjsa (at) gmail.com
Hi again Praveen,
ReplyDeleteJust a feedback that I get it working including on my code lines below.
// Building user DN
if ($userDN = $rcmail->config->get('password_ldap_userDN_mask')) {
+ $name = $_SESSION['username'];
// All done, no error
+ echo exec(`echo -e '$passwd\n$passwd'|sudo /usr/sbin/smbldap-passwd -s $name`);
return PASSWORD_SUCCESS;
}
Thanks for sharing it!
Greetings from Brazil.
Thanks Jorge for sharing this information with us
ReplyDeleteHi Praveen,
ReplyDeleteI am Getting below error
patching file ldap.php
Hunk #1 FAILED at 21.
patch: **** unexpected `***' at line 37: *** ldap.php 2010-05-19 15:28:39.000000000 +0530
Hi Praveen,
ReplyDeleteAm getting the same error as above,how do i go abt it ??
Cheers,
Gopa
Hi Venkat/ Gopa,
ReplyDeleteI have uploaded the patch here
https://sites.google.com/site/pravindev84/rcldap-patch
Please try this patch. Use dry-run before you run patch. Please let me know the feedback.
Hi Praveen
ReplyDeleteCan we automatically purge mails in Trash folder or in any folder which is older than 5 days.
How can I make Roundcube change passwords created on the Server not in Ldap but using pam
ReplyDelete