the Apache Directory Studio schema editor reexports 'versionNumber ' as dmVyc2lvbk51bWJlciA= in LDIF. I read that there is a convention that strings with trailing spaces have to be encoded in LDIF. This LDIF has been imported into Apache DS 1.5.7 and the server was able to restart. So the persistent storage of this value might have been done incorrectly by Apache DS trunk.



On 11/16/2010 7:47 AM, Alex Karasulu wrote:
This might be due to the attribute value being binary rather than there being an extra trailing space. Lookie here:

On Tue, Nov 16, 2010 at 4:21 AM, Antoine Levy-Lambert (JIRA) <> wrote:
attribute type with trailing space in the description prevents apacheds from restarting

                Key: DIRSERVER-1581
I had one attribute type with a trailing space in the description

attributetype ( NAME 'versionNumber' DESC
'versionNumber ' EQUALITY caseIgnoreMatch SUBSTR
caseIgnoreSubstringsMatch SYNTAX SINGLE-VALUE)

using directory 1.5.7 this translates in the following ldif :
m-description:: dmVyc2lvbk51bWJlciA=

Note the description field is being used as a binary attribute and this is probably why the error occurred on startup. Something is translating the description field into a binary value instead of a directory string if that space is present from the LDAP representation ==> ApacheDS LDIF format.

Sorry would have put this in JIRA but my damn password is not working ... have to reset.
Alex Karasulu
My Blog ::
Apache Directory Server ::
Apache MINA ::
To set up a meeting with me: