6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2027] uid ignored in dn array when adding new entry in personal_ldap
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__..__.. . |\/|\ /[__][__]| | | | \/ | || ||__|
Comment
> I have this source: > > > > $uid = Auth::getBareAuth(); > > $basedn = 'dc=cyc,dc=ull,dc=es'; > > $cfgSources['personal_ldap'] = array( > > 'title' => _("My Addressbook"), > > 'type' => 'ldap', > > 'params' => array( > > 'server' => 'localhost', > > 'port' => 389, > > 'tls' => false, > > 'root' => 'ou=' . $uid . ',ou=Addressbooks,' . $basedn, > > 'bind_dn' => 'uid=' . $uid . ',ou=Personas,' . $basedn, > > 'bind_password' => Auth::getCredential('password'), > > 'dn' => array('uid'), > > 'filter' => 'objectclass=inetOrgPerson', > > 'objectclass' => array('top', > > 'person', > > 'inetOrgPerson', > > // 'calEntry', > > 'organizationalPerson'), > > 'charset' => 'utf-8', > > 'version' => 3 > > ), > > 'map' => array( > > '__key' => 'dn', > > '__uid' => 'uid', > > 'name' => 'cn', > > 'email' => 'mail', > > 'lastname' => 'sn', > > 'title' => 'title', > > 'company' => 'organizationname', > > 'businessCategory' => 'businesscategory', > > 'workAddress' => 'postaladdress', > > 'workPostalCode' => 'postalcode', > > 'workPhone' => 'telephonenumber', > > 'fax' => 'facsimiletelephonenumber', > > 'homeAddress' => 'homepostaladdress', > > 'homePhone' => 'homephone', > > 'cellPhone' => 'mobile', > > 'notes' => 'description', > > // Evolution interopt attributes: (those that do not require > the evolution.schema) > > 'office' => 'roomNumber', > > 'department' => 'ou', > > 'nickname' => 'displayName', > > 'website' => 'labeledURI', > > > > // These are not stored on the LDAP server. > > 'pgpPublicKey' => 'object_pgppublickey', > > 'smimePublicKey' => 'object_smimepublickey', > > > > // From rfc2739.schema: > > // 'freebusyUrl' => 'calFBURL', > > > > ), > > 'search' => array( > > 'name', > > 'email', > > 'businessCategory', > > 'title', > > 'homePhone', > > 'workPhone', > > 'cellPhone', > > 'homeAddress' > > ), > > 'strict' => array( > > 'dn', > > ), > > 'public' => false, > > 'readonly' => false, > > 'admin' => array($uid), > > 'export' => true > > ); > > > > I can't add new entries because the driver ignore the uid attribute > when making the new rdn. I've seen the same problem when set 'dn' => > array('cn', 'uid'). I've solved the problem with de attached patch.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers