[horde] Re: lib/Horde/Prefs/ldap.php, anonymous binding
Ryan Evans
revans at gie.com
Fri Apr 15 09:02:42 PDT 2005
This is a multi-part message in MIME format.
--------------060901090100090904060703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I would love it if you could do this, as I believe this is my problem
why I cannot get my ldap to work with this version :)
cheers!
Ryan
Ben Sommer wrote:
>Hi All.
>
>Here's my problem, and a proposed solution:
>
>Horde's Prefs ldap driver requires either
> A) a root DN and password to search for and modify a user's prefs
>fields, or
> B) a simple-to-concatenate user DN formula (such
>$conf['prefs']['params']['uid'] + a $base_dn)
>
>A) is a problem because root binds to an LDAP server are neither
>necessary nor desired to do most any user-level write operations.
>B) is a problem because my person schema does not conform to such a
>simplistic formula. DNs look like this:
>
> ueid=84kjasd99,ou=8,ou=people,dc=enc,dc=edu
>
>The solution is to make the Prefs ldap driver behave like most LDAP apps
>that need to do write operations: do an anonymous bind, search for the
>entry to modify using a filter, then rebind as the DN of that entry and
>do the write.
>
>I can do this. Any objections?
>
>Best,
>
>
>
--------------------------------------------------------------------------------
Privileged, Proprietary and/or Confidential Information may be contained in
this electronic message. If you are not the intended recipient, you should
not copy it, re-transmit it, use it or disclose its contents, but should
kindly return to the sender immediately and delete your copy from your system.
Gulf Interstate Engineering Company (GULF) does not accept responsibility for
changes made to this electronic message or its attachments.
--------------060901090100090904060703
Content-Disposition: attachment;
filename="revans.vcf"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: revans.vcf
Type: text/x-vcard
Size: 157 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20050415/f058fb4f/revans.vcf
--------------060901090100090904060703--
More information about the horde
mailing list