Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73F1311B67 for ; Wed, 20 Aug 2014 08:40:27 +0000 (UTC) Received: (qmail 36272 invoked by uid 500); 20 Aug 2014 08:40:27 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 36237 invoked by uid 500); 20 Aug 2014 08:40:27 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 36221 invoked by uid 99); 20 Aug 2014 08:40:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 08:40:27 +0000 Date: Wed, 20 Aug 2014 08:40:27 +0000 (UTC) From: "Sebastian L (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (DIRSTUDIO-991) Not able to import ldif MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)