[Tickets #1814] Improving LDAP support
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Apr 20 16:01:42 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1814
-----------------------------------------------------------------------
Ticket | 1814
Updated By | mbydalek at compunetconsulting.com
Summary | Improving LDAP support
Queue | Turba
Version | FRAMEWORK_3
State | Unconfirmed
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
mbydalek at compunetconsulting.com (2005-04-20 16:01) wrote:
Hi Ben,
I remember reading your initial posting to the list a week ago, and
something didn't sit right with me in terms of what you were saying. I
partially agreed, but partially didn't, and finally I had some time to sit
down and look at some code.
Basically, I agree with what you are saying about having a 'cn' as the RDN,
it just won't work. But, there already is a generateUID() function which
can be used. Rather than modifying all the existing code, just changing the
order of add() in Driver.php should do the trick.
I'm not sure how this would affect other drivers, but if you can get in
$attributes the 'dn' (incorrectly named, should be 'rdn' as you pointed out)
for when you do the _makeKey() call, you could use that to set your dn
giving you a perfectly unique entry each time.
I hope some of this makes sense as it does get confusing after looking at it
for a while ;)
-Mike
More information about the bugs
mailing list