After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 236010 - No way to anonymously modify LDAP entries
No way to anonymously modify LDAP entries
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
pre-1.5 (obsolete)
Other other
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks: 327508 327510
 
 
Reported: 2002-12-20 22:36 UTC by Marcin Kasperski
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (1.66 KB, patch)
2008-07-10 15:01 UTC, Milan Crha
committed Details | Review

Description Marcin Kasperski 2002-12-20 22:36:23 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
Comment 1 Andrew Ruthven 2007-06-11 02:59:32 UTC
I've discovered this problem as well.  I can copy contacts into my anonymous addressbook, but I can't edit or delete them.
Comment 2 Andrew Ruthven 2007-06-11 04:00:58 UTC
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.
Comment 3 Milan Crha 2008-07-10 15:01:09 UTC
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.
Comment 4 Milan Crha 2008-07-10 15:03:20 UTC
Also, a bit easier way to let it think it's writeable was to go offline and back online.
Comment 5 Srinivasa Ragavan 2008-07-20 17:04:24 UTC
COmmit it Milan.
Comment 6 Bharath Acharya 2008-07-20 19:34:22 UTC
Committed to Trunk as r9149
http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=9149