[Evolution] Bug#466693: evolution-data-server: LDAP addRequest with naming Violation

Marco Maisenhelder marco at nethype.de
Wed Feb 20 13:05:09 UTC 2008


Package: evolution-data-server
Version: 1.12.3-1
Severity: normal


In the current version it's apparently impossible to add a new contact into LDAP 
due to a problem with the dn line that is used in the addRequest. I took a look
at the tcpdump of the communication btw. evo and the openldap server and found
this:

Lightweight-Directory-Access-Protocol
    LDAPMessage addRequest(109)
        messageID: 109
        protocolOp: addRequest (8)
            addRequest
                entry: cn=test%2C tester,ou=addressbook, dc=laendle
                attributes: 5 items
                    Item cn
                        type: cn
                        vals: 1 item
                            test, tester
                    Item sn
                        type: sn
                        vals: 1 item
                            test
                    Item mail
                        type: mail
                        vals: 1 item
                            test at test.de
                    Item fileAs
                        type: fileAs
                        vals: 1 item
                            test, tester
                    Item objectClass
                        type: objectClass
                        vals: 5 items
                            top
                            person
                            organizationalPerson
                            inetOrgPerson
                            evolutionPerson

This gets answered by LDAP with this error:

Lightweight-Directory-Access-Protocol
    LDAPMessage addResponse(109) namingViolation (value of naming attribute 'cn' is not present in entry)
        messageID: 109
        protocolOp: addResponse (9)
            addResponse
                resultCode: namingViolation (64)
                matchedDN:
                errorMessage: value of naming attribute 'cn' is not present in entry

The problem could also be related to a recent LDAP upgrade and I think I read somewhere
that the server now checks more thoroughly for correctness.

If you need the raw packets I can supply those, but the problem is easily duplicated 
by just adding a new contact and writing "blah, blah" in the Full Name field and adding
an email address (to complete the entry as in the "add to addressbook" context menu).

Excuse me if I have violated any rules or not supplied enough data - it is my first
bug report ;)

Marco

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages evolution-data-server depends on:
ii  evolution-data-server 1.12.3-1           architecture independent files for
ii  libbonobo2-0          2.20.2-1           Bonobo CORBA interfaces library
ii  libc6                 2.7-5              GNU C Library: Shared libraries
ii  libcamel1.2-10        1.12.3-1           The Evolution MIME message handlin
ii  libcomerr2            1.40.3-1           common error description library
ii  libdb4.4              4.4.20-11          Berkeley v4.4 Database Libraries [
ii  libebook1.2-9         1.12.3-1           Client library for evolution addre
ii  libecal1.2-7          1.12.3-1           Client library for evolution calen
ii  libedata-book1.2-2    1.12.3-1           Backend library for evolution addr
ii  libedata-cal1.2-6     1.12.3-1           Backend library for evolution cale
ii  libedataserver1.2-9   1.12.3-1           Utility library for evolution data
ii  libegroupwise1.2-13   1.12.3-1           Client library for accessing group
ii  libgconf2-4           2.20.1-2           GNOME configuration database syste
ii  libglib2.0-0          2.14.4-2           The GLib library of C routines
ii  libgnome2-0           2.20.1.1-1         The GNOME 2 library - runtime file
ii  libgnomevfs2-0        1:2.20.1-1         GNOME Virtual File System (runtime
ii  libgnutls13           2.0.4-1            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.7-4            OpenLDAP libraries
ii  libnspr4-0d           1.8.0.10-3         NetScape Portable Runtime Library
ii  libnss3-1d            3.12.0~1.9b1-2     Network Security Service libraries
ii  liborbit2             1:2.14.10-0.1      libraries for ORBit2 - a CORBA ORB
ii  libpopt0              1.10-3             lib for parsing cmdline parameters
ii  libsoup2.2-8          2.2.100-1          an HTTP library implementation in 
ii  libxml2               2.6.30.dfsg-3      GNOME XML library
ii  zlib1g                1:1.2.3.3.dfsg-8   compression library - runtime

evolution-data-server recommends no packages.

-- no debconf information





More information about the Pkg-evolution-maintainers mailing list