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

Re: telephoneNumber Syntax...



> Hi!
>
>    I'm using Openldap 2.1.29 under Linux and I'm developing a little
> C program with libldap. My problem is, doing a ldap_modify_s(),
> every time I get an "Invalid Syntax" for the attribute telephoneNumber.
>
>    Anybody knows the right syntax for telephoneNumber attribute ??

Anyway, see RFC2252, 6.30:

<snip>
6.30. Telephone Number

   ( 1.3.6.1.4.1.1466.115.121.1.50 DESC 'Telephone Number' )

   Values in this syntax are encoded as if they were Printable String
   types.  Telephone numbers are recommended in X.520 to be in
   international form, as described in E.123 [15].

   Example:

      +1 512 305 0280
</snip>
<snip>
   [15] ITU-T Rec. E.123, Notation for national and international
        telephone numbers, 1988.
</snip>

I don't have access to the latter doc, though; apparently,
you need to pay for it:

http://www.itu.int/rec/recommendation.asp?type=items&lang=e&parent=T-REC-E.123-200102-I

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it