I agree with Jerry and others. You'll need to put something, and
something unmistakable like "-" would do the trick. Putting in control
characters may actually break scripts (even though, technically, the
script writer should write better code).

Why are you using inetOrgPerson if you don't need that field? If you are
forcing data fields to behave in odd ways, then perhaps you're using the
wrong object class. 

In other words, there may be a better way to solve this problem
entirely.

-----Original Message-----
From: bounce-ldap-3356...@listserver.itd.umich.edu
[mailto:bounce-ldap-3356...@listserver.itd.umich.edu] On Behalf Of
Gerard Seibert
Sent: Tuesday, June 23, 2009 1:21 PM
To: ldap@listserver.itd.umich.edu
Subject: [ldap] Entering a 'NULL' character

Is it possible to enter a 'NULL' character into a LDIF field? In some
cases, I do not have a legitimate surname to enter in the sn: field. The
inetorgperson.schema requires it. I tried this:

sn:: IA==

I thought I could enter the base64 representation of a space; however,
that does not work. i receive an error message. I would like to enter a
true NULL but that doesn't seem possible.




Reply via email to