Reported by dupondje on 13 Oct 2011 14:41 UTC as Trac ticket #1488123
I just installed the newest version of Roundcube.
Everything is working without issues, but there is some small bug in the LDAP backend.
The country field cannot be saved to the LDAP.
Also if its set, it doesn't get read.
Whats wrong exactly:
All the data is a simple attribute, EXCEPT country.
Country is a new child of the ObjectType "country".
So the country can't be saved as a simple attribute, but a new child should be created.
Also when the data is read (with ldap_read), its not read, because childs doesn't get fetched.
Therefor we should use ldap_search (so childs gets included).
Milestone changed by @alecpl on 13 Oct 2011 15:57 UTC
Comment by dupondje on 20 Feb 2012 12:12 UTC
Any news on this?
Comment by @alecpl on 23 Mar 2012 08:53 UTC
I could work on this, but I need test LDAP server (accessible from my box). If you can provide it write to alec at alec dot pl.
Comment by @alecpl on 26 Mar 2012 07:03 UTC
Attached patch implements reading of the country attribute. It adds additional ldap_list call after ldap_read().
Comment by @alecpl on 29 Mar 2012 11:16 UTC
Fixed in 13db9ee. The feature is configurable. You'll need to add
'sub_fields' => array('c' => 'country'),
to addressbook configuration.
Status changed by @alecpl on 29 Mar 2012 11:16 UTC
new => closed