[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: symbolic syntax definition (ITS#1907)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Reading the man page I thought that such keywords like Binary or
DirectoryString are known to the parser? And then I found the definitions in
schema_init.c starting at line 3687 (server source tree in OpenLDAP 2.0.25).
How can I use these definitions?
On Tuesday 25 June 2002 23:22, you wrote:
> The server knows no symbolic names for syntaxes. In
> LDAP, syntaxes are generally referred to by OID. You
> can, of course, add OID macros (see slapd.conf) if
> you prefer to use symbolic names.
>
> Kurt
>
> At 07:53 AM 2002-06-25, h.nardmann@secunet.de wrote:
> >Full_Name: Heiko Nardmann
> >Version: 2.0.25
> >OS: Solaris 8
> >URL: ftp://ftp.openldap.org/incoming/
> >Submission from: (NULL) (194.112.101.130)
> >
> >
> >I am trying to use the string "Binary" as a syntax definition as follows:
> >
> >attributetype ( my-attributetype:1 NAME 'my-attributetype' SYNTAX 'Binary'
> > )
> >
> >Then I get:
> >
> >Unexpected token before
> >
> >I also tried
> >
> >attributetype ( my-attributetype:1 NAME 'my-attributetype' SYNTAX Binary )
> >
> >Then I get:
> >
> >OID Binary not recognized
- --
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj0a+d8ACgkQpm53PRScYygXLwCfZbhxrzy4HJbxmlNvEc7y22rQ
5oAAoLBtDwQnh6yExjWVkt9YwLeg8bz6
=a/d2
-----END PGP SIGNATURE-----