Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 292D4200CB6 for ; Thu, 29 Jun 2017 14:02:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 27F05160BF7; Thu, 29 Jun 2017 12:02:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6FE17160BDF for ; Thu, 29 Jun 2017 14:02:04 +0200 (CEST) Received: (qmail 98355 invoked by uid 500); 29 Jun 2017 12:02:02 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Delivered-To: moderator for users@directory.apache.org Received: (qmail 86663 invoked by uid 99); 29 Jun 2017 11:53:20 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4 X-Spam-Level: **** X-Spam-Status: No, score=4 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RDNS_NONE=3] autolearn=disabled X-Authentication-Warning: pan.vtopia.gr: apache set sender to aviennas@vtopia.gr using -f To: users@directory.apache.org Subject: email as member attribute or inetOrgPerson X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 29 Jun 2017 14:53:15 +0300 From: Athanasios Viennas Organization: Vtopia I.T. Solutions Message-ID: <7280fb4bf54fff69d55ef4d3e5249451@vtopia.gr> X-Sender: aviennas@vtopia.gr User-Agent: Roundcube Webmail/1.0.2 archived-at: Thu, 29 Jun 2017 12:02:05 -0000 Hello to the team, during population of entries in ADS version 2.0.0.v20161101-M12 adding attributes on a InetOrgPerson entry I am getting a warning popup that I am adding an invalid attribute type “Warning! According to the schema attribute email is not allowed!, Do you still want to add a new value?” then If I ignore the warning and proceed, having set the value i get an error: Error while executing LDIF - [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : MODIFY_REQUES java.lang.Exception: [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : MODIFY_REQUEST Message ID : 37 Modify Request Object : 'uid=admin+cn=System Administrator,ou=users,o=subsidiarycorp,o=holdingcorp,dc=holdingcorp,dc=com' Modification[0] Operation : add Modification email: admin@subsidiarycorp.grorg.apache.directory.api.ldap.model.message.ModifyRequestImpl@f29a2f0a: ERR_277 Attribute email not declared in objectClasses of entry uid=admin+cn=System Administrator,ou=users,o=subsidiarycorp,o=holdingcorp,dc=holdingcorp,dc=com] at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1268) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$9(DirectoryApiConnectionWrapper.java:1236) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$4.run(DirectoryApiConnectionWrapper.java:716) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1163) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1099) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.modifyEntry(DirectoryApiConnectionWrapper.java:738) at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdifRecord(ImportLdifRunnable.java:515) at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdif(ImportLdifRunnable.java:272) at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.executeLdif(ExecuteLdifRunnable.java:157) at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:123) at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:59) at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:116) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) [LDAP: error code 65 - OBJECT_CLASS_VIOLATION: failed for MessageType : MODIFY_REQUEST Message ID : 37 Modify Request Object : 'uid=admin+cn=System Administrator,ou=users,o=subsidiarycorp,o=holdingcorp,dc=holdingcorp,dc=com' Modification[0] Operation : add Modification email: admin@subsidiarycorp.grorg.apache.directory.api.ldap.model.message.ModifyRequestImpl@f29a2f0a: ERR_277 Attribute email not declared in objectClasses of entry uid=admin+cn=System Administrator,ou=users,o=subsidiarycorp,o=holdingcorp,dc=holdingcorp,dc=com] However I checked the inetOrgPerson schema and it does contain the email attribute. Why is this happening?