You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Si...@saaconsultants.com on 2007/09/20 16:48:25 UTC

Attribute 'm-oid' is syntactically incorrect

I have generated an schema LDIF using the Studio function: "Export For Apache DS"

When I import the LDIF file it fails: Attribute 'm-oid' is syntactically incorrect.

Is the fault in Studio or the Directory or...?


TIA

Simon Temple


#!RESULT ERROR
#!CONNECTION ldap://localhost:10389
#!DATE 2007-09-20T15:42:49.281
#!ERROR [LDAP: error code 21 - failed to add entry m-oid=11.2.826.0.1.2221664.1.2.7,ou=objectClasses,cn=clientUploadInformation,ou=schema: Attribute value '11.2.826.0.1.2221664.1.2.7' for attribute 'm-oid' is syntactically incorrect]
dn: m-oid=11.2.826.0.1.2221664.1.2.7, ou=objectClasses, cn=clientUploadInfor
 mation, ou=schema
objectclass: metaObjectClass
objectclass: metaTop
objectclass: top
m-oid: 11.2.826.0.1.2221664.1.2.7
m-name: clientUploadInformation
m-description: Network File Upload information
m-supObjectClass: top
m-must: cn
m-may: remoteLocation
m-may: finalName
m-may: tempName
m-may: originalName
m-may: uniqueFilenameRequired
m-may: maxFilenameLength
m-may: maxRetryTime
m-may: autoAcknowledge

Re: Attribute 'm-oid' is syntactically incorrect

Posted by Emmanuel Lecharny <el...@gmail.com>.
Hi Simon,

oids should start with either a 0, 1 or 2.

11.xxx is not valid.

On 9/20/07, Simon.Temple@saaconsultants.com
<Si...@saaconsultants.com> wrote:
>
>
> I have generated an schema LDIF using the Studio function: "Export For
> Apache DS"
>
> When I import the LDIF file it fails: Attribute 'm-oid' is syntactically
> incorrect.
>
> Is the fault in Studio or the Directory or...?
>
>
> TIA
>
> Simon Temple
>
>
> #!RESULT ERROR
> #!CONNECTION ldap://localhost:10389
> #!DATE 2007-09-20T15:42:49.281
> #!ERROR [LDAP: error code 21 - failed to add entry
> m-oid=11.2.826.0.1.2221664.1.2.7,ou=objectClasses,cn=clientUploadInformation,ou=schema:
> Attribute value '11.2.826.0.1.2221664.1.2.7' for attribute 'm-oid' is
> syntactically incorrect]
> dn: m-oid=11.2.826.0.1.2221664.1.2.7, ou=objectClasses, cn=clientUploadInfor
>  mation, ou=schema
> objectclass: metaObjectClass
> objectclass: metaTop
> objectclass: top
> m-oid: 11.2.826.0.1.2221664.1.2.7
> m-name: clientUploadInformation
> m-description: Network File Upload information
> m-supObjectClass: top
> m-must: cn
> m-may: remoteLocation
> m-may: finalName
> m-may: tempName
> m-may: originalName
> m-may: uniqueFilenameRequired
> m-may: maxFilenameLength
> m-may: maxRetryTime
> m-may: autoAcknowledge
>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com