← Back to team overview

enterprise-support team mailing list archive

[Bug 1809938] [NEW] delta syncrepl generates reqMod Attribute 'colon' with emtpty value

 

Public bug reported:

The BUG occurs in 2.4.45+dfsg-1ubuntu1.1 (Ubuntu 18.04.x)
The BUG occurs in 2.4.46+dfsg-5ubuntu1.1 (Ubuntu 18.10.x)
The BUG doesn't occur in 2.4.42+dfsg-2ubuntu3.4 (Ubuntu 16.4.x)

It seems, the BUG only occurs when importing an LDIf file.
The BUG then only affects locations with a multi-line statement
'changetype: modify'
Only statements in which the modify affects the >>same attribute<< are affected!
The order of the action, 'delete', 'add' or eg 'add' twice does not matter.
Also the name of the attribute does not matter.

Example: (Instead of pst, it could also be another multivalue attribute 
version: 1

dn: uid=someuid,cn=Personen,dc=charite.de
changetype: modify
delete: pst
pst: 00000000
-
add: pst
pst: 50074372

...
The entry is processed by the provider during the import, so far so good:
But the entry in the accesslog (delta syncrepl) contains a reqMod too much for an attribute called ':' (colon), with empty value!
...
reqMod    pst: -00000000
reqMod    :
reqMod    pst: +50074372
...

The consumers acknowledge this with:
...
Dec 22 22:18:18 oscar slapd[30317]: syncrepl_accesslog_mods: rid=333 Invalid attribute :, empty AttributeDescription
...
We tested several other LDIF files with different attributes and other multiple actions on the same attribute. Whenever the o.g. Conditions apply, this error occurs in the accesslog.

We tested that for
2.4.45+dfsg-1ubuntu1.1 (Ubuntu 18.04.x)
2.4.46+dfsg-5ubuntu1.1 (Ubuntu 18.10.x)
2.4.42+dfsg-2ubuntu3.4 (Ubuntu 16.4.x)
On 2.4.42 + dfsg-2ubuntu3.4 the error did not occur yet

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to openldap in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1809938

Title:
  delta syncrepl generates reqMod Attribute 'colon'  with emtpty value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1809938/+subscriptions


Follow ups