Hi everyone,
I found this thread today, great work Heritz
, but sadly it was not suited for my environment (IMAP+LDAP),
so i decided to spend few hours and with some small changes I manged to merge Heritz's patch with the squirrelmail "Change LDAP Password" plugin.
The result is Heritz's cPanel11 functionality with optional LDAP management capability (including SAMBA password management)
I hope this will save someone's time.
Attaching 3 files - the install archive, the diff against password.inc, and the diff against squirrelmail change_ldappass/functions.php
Diff files are only for reference. The install archive contains all that is needed to install the patch.