[imp] bind several branches in the LDAP tree for authentication
Atif Ghaffar
aghaffar@developer.ch
Wed, 03 Apr 2002 10:37:58 +0200
HAHN Nicolas wrote:
> Hi everybody :-)
>
You mean bind to one of the several branches of the LDAP server.
How are your branches separated?
Are you using multiple branches for domains to avoid unique name clashes?
If yes, then you are not doing the right thing. You should have atleast
one _unique_ attribute in the record to identify that record.
If thats not the case, you dont have to bind to a different branch anyway.
Example:
If you have
dn: uid=aghaffar, domain=developer.ch, o=something
and
dn: uid=aghaffar, domain=horde.org, o=something
then its a poor directory design
If on the other hand you have only _one_ record per uid.
dn: uid=aghaffar, domain=developer.ch, o=something
dn: uid=chuck, domain=horde.org, o=something
the you just can use o=something as your base branch to search for
binding users.
ldapsearch -b "o=something" uid=chuck
ldapsearch -b "o=something" uid=aghaffar
should both give you a result.
hope, i wasnt too confusing.
best regards.
> Just a quick question: in my LDAP server, I have several branches where
> I have several users for each one. In this case, how IMP can
> authenticate my users, I mean how to configure it, and is it possible
> in the last version 3.1RC1 ?
>
> If imp can bind a user only in one branch (the one which is configured
> via the binddn), would it be possible to implement the 'multi-branches'
> bind for the Release 3.1 ?
>
> Thanks a lot :-)
>
> =====
> Nicolas HAHN, ICQ: 51593394
> System/Network administrator & webmaster
> UNIX / LINUX engineer
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
--
Atif Ghaffar
---------------------------.
+41 78 845 31 64 ¦ tel
aghaffar@developer.ch ¦ email
http://atifghaffar.com ¦ www
8206786 ¦ icq
>From Vincent.Dekeersmaeker@broederlijkdelen.be Date: Wed, 3 Apr 2002 11:03:29 +0200
Return-Path: <Vincent.Dekeersmaeker@broederlijkdelen.be>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 73421 invoked from network); 3 Apr 2002 09:13:33 -0000
Received: from eudslpro-213-49-15-31.bxl-paille.eunet.be (HELO mail.bdwzz.be) (213.49.15.31)
by clark.horde.org with SMTP; 3 Apr 2002 09:13:33 -0000
Received: (from wwwrun@localhost)
by mail.bdwzz.be (8.11.6/8.11.6/SuSE Linux 0.5) id g3393TV28592;
Wed, 3 Apr 2002 11:03:29 +0200
Received: from 213.49.15.31 ( [213.49.15.31])
as user vincent@192.168.1.67 by mail.bdwzz.be with HTTP;
Wed, 3 Apr 2002 11:03:29 +0200
Message-ID: <1017824609.3caac56149f16@mail.bdwzz.be>
Date: Wed, 3 Apr 2002 11:03:29 +0200
From: Vincent De Keersmaeker <Vincent.Dekeersmaeker@broederlijkdelen.be>
To: Loic BERARD <loic.berard@memscap.com>
Cc: imp@lists.horde.org
References: <1017759139.3ca9c5a30804e@mail.bdwzz.be> <3CA9CD91.E2886211@memscap.com>
In-Reply-To: <3CA9CD91.E2886211@memscap.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 213.49.15.31
Subject: Re: [imp] configuring preferences - identities
you're absolutely rigth. After editing my prefs.php it works perfectly.
Thanks.
Vincent
Citeren Loic BERARD <loic.berard@memscap.com>:
> vincent@broederlijkdelen.be wrote:
> >
> > Hello,
> >
> > propably there's something i am missing completely, but for some reason,
> all
> > changes i do in the preferences for imp using prefs.php, are totally gone
> the
> > next time i log in. using horde 2.0 and imp 3.0. is there something i
> should
> > change in the conf.php to be able to use that? futhermore, i have added
> the
> > perfs in the menubar by changing the menu.php file. Is that the correct
> way
> > of doing or am i again missing something over there?
> >
> > greetings,
> >
> > vincent
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
> --
>
> Certainly you didn't set any backend to store user preferences, I have
> used a mysql database.
> See horde.php to access mysql (or other database)
>
>
>
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> |Loic BERARD |
|
> |Network & System Administrator | MEMSCAP S.A |
> |Email: loic.berard@memscap.com | 50, allee des Dauphins |
> |Direct Phone: 33 (0)4-76-52-55-89 | ZAC du Pont Rivet |
> |Standard Phone: 33 (0)4-76-52-55-80 | FR-38330 St ISMIER |
> |Fax Number: 33 (0)4-76-52-55-81 | FRANCE |
> |http://www.memscap.com |
|
> | | |
> -------------------------------------------------------------------------
> This message and any attachment are confidential and may be privileged
> or otherwise protected from disclosure. If you are not the intended
> recipient, please telephone or email the sender and delete this message
> and any attachment from your system. If you are not the intended
> recipient you must not copy this message or attachment or disclose the
> contents to any other person."
> -------------------------------------------------------------------------
>
****$test imp