directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Error 'attributeType w/ OID 1.3.6.1.1.1.1.15 not registered' when importing LDIF
Date Tue, 13 May 2008 06:40:16 GMT
Suriya Simsuwat wrote:
> Hi all,
> 
> I got a problem when trying to import the new schema to Apacheds V. 1.5.2 with Studio
V. 1.1.0.
> 
> To import LDIF file consisting of custom schema to LDAP I did the following steps,
> 
> 1. Open a new schema project. 
> 2. Import the schema file in schema window to schema project by using the 
>     option 'Import schemas from OpenLdap files'.
>   
>     The schema content is defined as below. 
>   
>     objectclass ( 1.0.0.5.2.1.3.8 
>     NAME 'myListener' 
>     DESC 'Listening Service' 
>     SUP (top $ ipHost $ ipService) 
>     STRUCTURAL 
>     MUST ( cn $ host $ ipServicePort ) 
>     MAY ( ipHostNumber $ ipServiceProtocol ) 
>     ) 

With step 2 you just imported the schema into Studio. You must export it
for ApacheDS, then import the created LDIF (it contains the schema
format for ApacheDS) using the LDAP Browser. Then you could continue
with step 3.


> 3. Go back to LDAP browser and then import LDIF file to LDAP and then I got the     error.
> 
>     The content in LDIF stated as follows.
> 
>     dn: cn=service,dc=com
>     changetype: add
>     objectclass: top
>     objectclass: ipHost
>     objectclass: ipService
>     objectclass: myListener
>     cn: service
>     host: testing
>     ipServicePort: 7023
> 
>     The error message after importing the LDIF file
> 
>     #!RESULT ERROR
>     #!CONNECTION ldap://localhost:10389 
>     #!DATE 2008-05-13T09:40:51.733
>     #!ERROR [LDAP: error code 17 - failed to add entry cn=service,dc=com:       
>     attributeType w/ OID 1.3.6.1.1.1.1.15 not registered!]
>     dn: cn=service,dc=com
>     changetype: add
>     host: testing
>     objectclass: top
>     objectclass: ipHost
>     objectclass: ipService
>     objectclass: myListener
>     ipServicePort: 7023
>     cn: service
> 
> Could anyone help me how to fix this error? Thank you in advance.
> 
> Best regards,
> 
> Suriya
> 
>  
>        
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.


Mime
View raw message