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

Re: Exported group can't be imported again: Invalid syntax (21) additional info: objectClass: value #0 invalid per syntax



Am 21.01.2011 21:55, schrieb Howard Chu:
> Thomas Schweikle wrote:
>> Am 21.01.2011 13:19, schrieb Brian Candler:
>>> On Thu, Jan 20, 2011 at 08:04:00PM +0100, Thomas Schweikle wrote:
>>>> The group I want to add:
>>>>
>>>> dn: cn=somegroup,ou=Groups,dc=example,dc=org
>>>> objectClass: posixGroups
>>>> objectClass: top
>>>> gidNumer: 3000
>>>> cn: somegroup
>>>> memberUid: someuser
>>>
>>> Are you sure you mean posixGroups, not posixGroup ?
>>> And gidNumer instead of gidNumber ?
>> This was the point: the export was with "posixGroups", but the newer
>> schema only allowed "posixGroup". Must have been changed sometime
>> ... :(
> 
> This schema has not changed in a dozen years. Your previous LDAP
> server simply didn't do schema validation and allowed you to store
> whatever garbage you gave it without checking.

Yes, that's the case: the old server does not check the syntax at
all. You're right it is possible to store any garbage you want.

-- 
Thomas

Attachment: signature.asc
Description: OpenPGP digital signature