Re: [Postfixadmin-devel] postfixadmin with ldap
Brought to you by:
christian_boltz,
gingerdog
From: Vikas P. <par...@gm...> - 2014-11-24 18:26:56
|
Hi Robert/Boltz, Thanks for your support. Actually, i have done it for one of my client in which i have put a elif condition and call the ldap query there. i don't think so it's a right thing to go ahead. Personally, i want to write a plugin that we can easily attached just like a patch. Hope, i shall give you some good news soon. On Mon, Nov 24, 2014 at 12:58 PM, Robert Moskowitz <rg...@ht...> wrote: > > On 11/24/2014 12:49 PM, Christian Boltz wrote: > >> Hello, >> >> Am Dienstag, 18. November 2014 schrieb Vikas Parashar: >> >>> Some days back i have written some code to use postfixadmin with ldap >>> backend. But i think before put it on the repo. I want to write a >>> plugin that will help to add the ldap backend with postfixadmin. >>> >> Adding LDAP support sounds like lots of work - basically you need to >> replace all db_*() functions and also need to "translate" the SQL >> queries to something that LDAP understands. >> >> Most queries are built in PFAHandler.php and some db_*() functions >> nowadays, but we still have some hand-written queries here and there. >> > > Oh it is more than that. All the subsystems that are expecting an sql db > for the domain and users and vacations and, would have to be changed. All > the postfix, spamassasin, dovecot, amavis-new, roundcube,... Need I go on? > > Though one might say that there are already instructions for different sql > backends for most of these, so an ldap backend would just be one more. As > it is, I have heard some rumblings about mariadb. > > > >> To make things interesting, LDAP is quite different from SQL. >> >> Don't get me wrong - I don't want to stop you. I just want to warn you >> that this won't be an easy ride ;-) >> >> BTW: list-admin.php, list-domain.php, fetchmail.php and vacation.php >> will be replaced by list.php and edit.php sooner or later, so better >> don't invest time on them. >> >> Could any body please give me some suggestion or guidelines on it. >>> >> I'm afraid I can't offer a simple receipe ;-) - maybe the easiest way is >> to join the #postfixadmin IRC channel on freenode and to ask there. >> I'm usually there in the (CET) evening (username "cboltz"). >> >> >> Regards, >> >> Christian Boltz >> > > |