You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Sebastian L (JIRA)" <ji...@apache.org> on 2014/08/20 10:40:27 UTC

[jira] [Comment Edited] (DIRSTUDIO-991) Not able to import ldif

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103620#comment-14103620 ] 

Sebastian L edited comment on DIRSTUDIO-991 at 8/20/14 8:39 AM:
----------------------------------------------------------------

The server I like to inject into is a Red Hat Enterprise Linux Server 6.2 with ApacheDS.

#!RESULT ERROR
#!CONNECTION ldap://localhost:20389
#!DATE 2014-08-19T14:13:20.656
#!ERROR [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for MessageType : ADD_REQUEST Message ID : 566     Add Request : Entry     dn[n]: cn=mlesher,o=LH,ou=organizations,ou=system     objectClass: organizationalPerson     objectClass: person     objectClass: extensibleObject     objectClass: inetOrgPerson     objectClass: top     uid: mlesher     member: cn=R_F_GENERAL_INFO_SERVICE,ou=roles,ou=system     member: cn=R_F_MSTR_INTEGRITYMANAGER,ou=roles,ou=system     userPassword:xxxxxxxxx     sn: mlesher     c: US     cn: mlesher     preferredLanguage: E : ERR_04269 ATTRIBUTE_TYPE for OID member does not exist!]
dn: cn=mlesher,o=LH,ou=organizations,ou=system
changetype: add
objectClass: organizationalPerson
objectClass: person
objectClass: extensibleObject
objectClass: inetOrgPerson
objectClass: top
uid: mlesher
userPassword:: xxxxxxxxxx
preferredLanguage: E
sn: mlesher
c: US
member: cn=R_F_GENERAL_INFO_SERVICE,ou=roles,ou=system
member: cn=R_F_MSTR_INTEGRITYMANAGER,ou=roles,ou=system
cn: mlesher


When i create a local server the import works:

#!RESULT OK
#!CONNECTION ldap://localhost:10389
#!DATE 2014-08-20T08:22:39.118
dn: cn=mlesher,o=LH,ou=organizations,ou=system
changetype: add
objectClass: organizationalPerson
objectClass: person
objectClass: extensibleObject
objectClass: inetOrgPerson
objectClass: top
uid: mlesher
userPassword::xxxxxxxxx
preferredLanguage: E
sn: mlesher
c: US
member: cn=R_F_GENERAL_INFO_SERVICE,ou=roles,ou=system
cn: mlesher

I also tried to create a new entry with "member" attribute for both servers with Directory Studio. For my local server it works fine. With the Red Hat server it doesn't. I am not even able to choose the attribute "member" from the scroll down list.

does this information help?  


was (Author: slan):
The server I like to inject into is a Red Hat Enterprise Linux Server 6.2 with ApacheDS.

#!RESULT ERROR
#!CONNECTION ldap://localhost:20389
#!DATE 2014-08-19T14:13:20.656
#!ERROR [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for MessageType : ADD_REQUEST Message ID : 566     Add Request : Entry     dn[n]: cn=mlesher,o=LH,ou=organizations,ou=system     objectClass: organizationalPerson     objectClass: person     objectClass: extensibleObject     objectClass: inetOrgPerson     objectClass: top     uid: mlesher     member: cn=R_F_GENERAL_INFO_SERVICE,ou=roles,ou=system     member: cn=R_F_MSTR_INTEGRITYMANAGER,ou=roles,ou=system     userPassword:xxxxxxxxx     sn: mlesher     c: US     cn: mlesher     preferredLanguage: E : ERR_04269 ATTRIBUTE_TYPE for OID member does not exist!]
dn: cn=mlesher,o=LH,ou=organizations,ou=system
changetype: add
objectClass: organizationalPerson
objectClass: person
objectClass: extensibleObject
objectClass: inetOrgPerson
objectClass: top
uid: mlesher
userPassword:: xxxxxxxxxx
preferredLanguage: E
sn: mlesher
c: US
member: cn=R_F_GENERAL_INFO_SERVICE,ou=roles,ou=system
member: cn=R_F_MSTR_INTEGRITYMANAGER,ou=roles,ou=system
cn: mlesher


When i create a local server the import works:

#!RESULT OK
#!CONNECTION ldap://localhost:10389
#!DATE 2014-08-20T08:22:39.118
dn: cn=mlesher,o=LH,ou=organizations,ou=system
changetype: add
objectClass: organizationalPerson
objectClass: person
objectClass: extensibleObject
objectClass: inetOrgPerson
objectClass: top
uid: mlesher
userPassword::xxxxxxxxx
preferredLanguage: E
sn: mlesher
c: US
member: cn=R_F_GENERAL_INFO_SERVICE,ou=roles,ou=system
cn: mlesher

I also tried to create a new entry with "member" attribute for both servers with Directory Studio. For my local server it works fine. With the Red Hat server it doesn't.

does this information help?  

> Not able to import ldif
> -----------------------
>
>                 Key: DIRSTUDIO-991
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-991
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapservers, studio-schemaeditor
>    Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
>         Environment: Windows 7 Enterprise Client
> Red Hat Enterprise Linux Server
>            Reporter: Sebastian L
>              Labels: attribute, attribute_type, import, schema
>
> Hi,
> when I try to import a ldif-file to my LDAP server I get an error that an attribute-type can not be found. I looked up similar problems here but didn't find a solution. When i check my schema I can find the "missing" attribute type member with m-oid=2.5.4.31. if i create a server locally
> the import works fine. 
> !ERROR [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for MessageType : ADD_REQUEST Message ID : 21     
> Add Request : Entry     
> dn[n]: cn=admin,o=LH,ou=organizations,ou=system     
> objectClass: organizationalPerson     
> objectClass: person     
> objectClass: extensibleObject     
> objectClass: inetOrgPerson     
> objectClass: top     
> uid: admin     
> member: cn=SAMBA_F_SYSTEM_ADMIN_LPS,ou=roles,ou=system     
> member: cn=SAMBA_F_SYSTEM_ADMIN_LH,ou=roles,ou=system    
> member: cn=SAMBA_D_SYSTEM_ADMIN_LH,ou=roles,ou=system     
> member: cn=SAMBA_D_SYSTEM_ADMIN_LPS,ou=roles,ou=system     
> member: cn=SAMBA_SAMBAJOB,ou=roles,ou=system     
> member: cn=R_F_MSTR_ADMINISTRATOR,ou=roles,ou=system     
> userPassword: xxxxxxxxxxxxxx ...     
> sn: admin     
> c: US     
> cn: admin    
> preferredLanguage: E 
> : ERR_04269 ATTRIBUTE_TYPE for OID member does not exist!]
> could you help me? 



--
This message was sent by Atlassian JIRA
(v6.2#6252)