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

Re: Fw: Compatibility problems

Hi, what does it mean when a number ist set betweeen {} after the syntax
----- Original Message ----- 
From: "anis" <anbenham@web.de>
To: <>
Sent: Thursday, July 22, 2004 10:21 AM
Subject: Re: Fw: Compatibility problems


which attribute syntax type should I use to define ID´s. My  ID´s are
alphanumeric literals without spaces. For example: anis  or  anis45 or
ani45s  a.s.o.
I have used the object identifier syntax, which is actually wrong :(

Is it possible to limit the size of an attribute? for instance say it should
have a maximum of 8 letters?

Best rtegards

----- Original Message ----- 
From: "Pierangelo Masarati" <ando@sys-net.it>
To: "anis" <anbenham@web.de>
Cc: <openldap-software@OpenLDAP.org>
Sent: Thursday, July 22, 2004 7:51 AM
Subject: Re: Fw: Compatibility problems

> Hi,
> we have updated yesterday our Linux Server from Suse 9.0 to Suse 9.1, and
> we
> have tried to migrate our until now running LDAP based authentication
> service. And this is the result:
> M1RRZSLINUX02:/etc/openldap/LAIF2 # ldapmodify -x -a -D
> "cn=Admin,dc=my-domain,dc=com" -W -f Initial2.ldif
> Enter LDAP Password:
> adding new entry "id=myAppl,ou=Appl,ou=bere,dc=my-domain,dc=com"
> ldapmodify: update failed: id=myAppl,ou=Appl,ou=bere,dc=my-domain,dc=com
> ldap_add: Invalid DN syntax (34)
>         additional info: invalid DN
> The same LDIF--File has worked under Suse 9.0 containing OpenLDAP 2.1.22,
> und doesen´t work now under OpenLDAP 2.2.6.
> Here´s my Schema:
> attributetype (
>  NAME 'id'
>  DESC 'ID'
>  EQUALITY objectIdentifierMatch
>  SYNTAX  )

"id" has syntax OID (and objectIdentifierMatch EQUALITY rule);
"myAppl" is not a valid OID.  So the DN is invalid per syntax.

Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497