From: p d. t. <pdo...@an...> - 2003-01-25 02:50:18
|
(cc'd to SM-PLUGINS) If getting the IMAP server address from a basic LDAP query would be that easy, then we should find someone to help do that. I haven't done any LDAP programming, although I suppose if it's that easy, I could probably fake it... but it'd be nice if someone else could offer their assistance here. I will try (no promises, busy weekend ahead) to take a look at putting the multilogin plugin together again so it works with all versions of SM and is as solid as I can manage. Anyone else have ideas? > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jca...@sp...] > Sent: Friday, January 24, 2003 9:51 AM > To: 'p dont think' > Subject: RE: [SM-PLUGINS] multiserver login plugin (multilogin) > > I've managed to install it. I think. Here's what I did: > > 1) Extracted the multilogin tarball to the plugins directory. > > 2) Glanced at the README and the INSTALL. Compared the instructions to what > was actually in the directory and puzzled a bit over the inconsistency of > the name of the diff file. > > 3) Ignored the patch install, in part because it's for SM 1.2.9 and I'm > running with 1.2.10. > > 4) Copied config.php.sample to config.php. Took a quick look at it, but due > to lack of docs, merely uncommented the samples, just to see which way was > up. > > 5) Changed to the config directory and ran ./conf.pl. Added the multilogin > plugin and saved. > > 6) Checked the SM login screen. The pull-down menu with the 2 samples were > there. I became a little wiser which parts were what in the plugin's > config.php file. > > 7) Attempted to login; expected failure, and was not disappointed. > > 8) Edited multilogin's config.php to create a new entry for my server; saved > file. > > 9) Refreshed login screen. New entry now exists. > > 10) Attempted to login; expected success, and was not disappointed. > > 11) Went to co-worker (our NT admin/guru), got the name of his IMAP server. > Added another definition to config.php and removed the sample entries. > Saved file. > > 12) Had co-worker attemp to login, specifying his IMAP server; expected > success, but alas, no joy. > > 13) Co-worker puzzled over this, and commented that he has his domain login, > but also an AD login, from what he remembers. He tried various attempts, > but still no go. > > 14) I attempted to apply both the 1.2.9 (included in tarball) and 1.2.10 > (the file you sent me previously) patches. Not being terribly familiar with > the patch command, I followed his instructions of "patch -p0 <filename". In > the case of the former I was told that the file was missing; I cut-paste > every file listed to get through the patch. With the latter patch, it ran > through (seemingly successfully), but with a few entries it indicated that > the patch had already been applied. > > 15) Logged myself out; logged back in successfully. > > 16) Had co-worker try again. Still no joy. > > 17) Will seek other co-workers to try; will create new entries in config.php > where required. > > That's where we're at. I'm uncertain what the patches did and why the first > one (seemingly) misbehaved. However, the plugin itself (with or without the > patches) does look quite promising. I would be quite glad to work with you > on getting this up to snuff as a patch. I'd also be happy to help document > config.php better, so that others will find it easier to set up. > > Related to this: If you can think of a way for a user to do a trivial call > to an LDAP server (Active Directory) with their own user/pass in order to > retrieve mailHost, that might be the best solution of all. If not, that's > cool; I'm grateful for what appears to be a reasonable solution. > > TIA, > > jc > > > -----Original Message----- > > From: p dont think [mailto:pdo...@an...] > > Sent: Thursday, January 23, 2003 2:59 AM > > To: Carroll, Jim P [Contractor] > > Subject: FW: [SM-PLUGINS] multiserver login plugin (multilogin) > > > > > > Found it. The last email I forwarded to you was a patch to > > make it work > > in 1.2.10 I think. As I've said before, when I looked it over, this > > plugin did have a couple things that might be better changed > > if it were > > to become a full-fledged stable plugin. If you end up using > > it, I'd be > > glad to help get it to that point. > > > > Hope this helps, > > > > paul > > > > -----Original Message----- > > From: squ...@li... > > [mailto:squ...@li...] On Behalf Of > > benoit bourdin > > Sent: Wednesday, December 04, 2002 5:37 AM > > To: squ...@li... > > Subject: [SM-PLUGINS] multiserver login plugin (multilogin) > > > > I just finished a squirremail plugin designed to add a server > > selection > > in the login page. > > > > You just need to put your IMAP servers/domains/names in the config.php > > file. > > > > In order to do my plugin, I needed another hook (session_recall, when > > variables are extracted from the PHP session). > > You need to patch squirrelmail also, I give here a patch for the 1.2.9 > > version. > > > > Of course, this plugin is under the GPL license. > > > > benoit bourdin (aka bennyben) > > > > |