[Date Prev][Date Next] [Chronological] [Thread] [Top]

OL 2.0.8 & ldapmodify error handling



Hi !

I just expire that ldapmodify doesnt hendl error corectly or OL doesnt
recognize attribute value.

I try to add one entry to LDAP server with command

/usr/local/bin/ldapmodify -H ldap://10.0.0.1:389/ -a -c -x -D
"cn=master,dc=domena,dc=hr" -W -f something.ldif

something.ldif have only one entry and located problem are :

<snip>
facsimileTelephoneNumber: +385 --------
mobile: -----------
<snip>

if I add that entry ldapmodify add antry without return any error, OL
doesnt have that entry, but after changing value to

<snip>
facsimileTelephoneNumber: +385
mobile: +385
<snip>

everything work well entry is corectly add to OL, but I saw something
strange ldap search return that value of attributs are :

<snip>
facsimileTelephoneNumber:: KzM4NSA=
mobile:: KzM4NSA=
<snip>

but on same entry TelephonNumber have corect value +385 98 111 112

acording schema all three attributs are type

" ...
Attribute: facsimileTelephoneNumber
Description:
The phone number in the international notation according to CCITT E.123.
The separator `-` instead of space may be used according to the local
habit, it should be used consistently within a country.


      Format: "+"   ["x" ]

      Example: +41 1 268 1540



BNC Syntax: 2.5.4.23 NAME 'facsimileTelephoneNumber' SYNTAX
1.3.6.1.4.1.1466.115.121.1.22

..."

so - are legitme character.

Dubravko Penezic
University Computing Center, Zagreb, Croatia