Hi,
please let's have a look at my little ruby program! It adds
an entry to an ldap server and the binary fields are ended at
the first \000 char. Is it the libldap-ruby library's error?
Or maybe the underlaying OpenLDAP library does something?
(Strings in C are terminated exactly this way. Is there
any connection?) Or am I doing something wrong?
How can I add binary data containing the \0 character?
The programs output is this:
|
|written: "after the \000 character THIS IS ALWAYS LOST Why!??"
|read: "after the "
|
The first string is added, the second has read back after the
add method.
--
bSanyI