[Tickets #11888] Re: Add possibility for composite RDNs in LDAP

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Jun 4 10:36:38 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/11888
------------------------------------------------------------------------------
  Ticket           | 11888
  Aktualisiert Von | Jan Schneider <jan at horde.org>
  Zusammenfassung  | Add possibility for composite RDNs in LDAP
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Enhancement
  Status           | Feedback
  Priorität        | 2. Medium
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2014-06-04 12:36) hat geschrieben:

This is a very hacky approach. A much more intuitive solution would be  
to provide elements of multi-value RDNs as what they are: multiple  
values. So instead of passing a single attribute-value-pair to build a  
single-value RDN for the DN, pass an array of attribute-value-pairs to  
build a multi-value RDN.

Horde_Ldap::quoteDN(array(
     array(
         array('cn', 'Joe Doe'),
         array('ou', 'Department'),
     ),
     array('dc', 'example'),
     array('dc', 'com'),
))

=> CN=Joe Doe+OU=Department,dc=example,dc=com





More information about the bugs mailing list