GNOME Bugzilla – Bug 236010
No way to anonymously modify LDAP entries
Last modified: 2013-09-10 14:04:09 UTC
Evolution considers any LDAP server accessed anonymously to be read-only, although it is not necesarilly the case (for instance in my organization I would like to allow anonymous modification authorizing client only by the IP address). My observations: - I configured some slapd instance to accept anonymous modifications (and it worked as expected - I double checked using perl scripts with Net::LDAP) - When I configured evolution to use this host I found that evolution does not offer double-click adding new entry, does not allow modifying the existing entries etc (but it allowed me to create new entry via the main menu File/New) Probably the easiest solution: in the Directory server configuration some switch The server accepts modifications [ Guess \/] Yes No
I've discovered this problem as well. I can copy contacts into my anonymous addressbook, but I can't edit or delete them.
To add onto this, I've discovered this interesting behaviour: 1) Create LDAP addressbook in Evo as anonymous. 2) Try and edit a contact, you can't, fields are greyed out. 3) Change addressbook to DN authentication and entire a DN. 4) Try and edit a contact, you can, fields are editable. Make a change, save. 5) Dialog becomes greyed out for several minutes ... waiting for password prompt for LDAP server ... 6) Dialog disappears, no password prompt every appeared. 7) Note that contact has changed in LDAP server and now you can operate on the addressbook as anonymous. When I restart Evolution I'm prompted for a password as expected.
Created attachment 114315 [details] [review] proposed eds patch for evolution-data-server; We cannot check on LDAP server whether we have general write access on it, thus report we have immediately after loading the source successfully. There will be a "Permission Deny" message in case we are wrong.
Also, a bit easier way to let it think it's writeable was to go offline and back online.
COmmit it Milan.
Committed to Trunk as r9149 http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=9149