NDK: LDAP and Edirectory Integration LDAP and Edirectory Integration
Total Page:16
File Type:pdf, Size:1020Kb
www.novell.com/documentation LDAP and eDirectoryTM Integration Developer Kit July 2012 Legal Notices Novell, Inc. makes no representations or warranties with respect to the contents or use of this documentation, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc. reserves the right to revise this publication and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. Further, Novell, Inc. makes no representations or warranties with respect to any software, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc. reserves the right to make changes to any and all parts of Novell software, at any time, without any obligation to notify any person or entity of such changes. Any products or technical information provided under this Agreement may be subject to U.S. export controls and the trade laws of other countries. You agree to comply with all export control regulations and to obtain any required licenses or classification to export, re-export or import deliverables. You agree not to export or re-export to entities on the current U.S. export exclusion lists or to any embargoed or terrorist countries as specified in the U.S. export laws. You agree to not use deliverables for prohibited nuclear, missile, or chemical biological weaponry end uses. For more information on exporting Novell software, see the Novell International Trade Services Web page (http://www.novell.com/info/exports/). Novell assumes no responsibility for your failure to obtain any necessary export approvals. Copyright © 2008 Novell, Inc. All rights reserved. No part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted without the express written consent of the publisher. Novell, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at Novell Legal Patents (http://www.novell.com/company/legal/patents/) and one or more additional patents or pending patent applications in the U.S. and in other countries. Novell, Inc. 1800 South Novell Place Provo, UT 84606 U.S.A. www.novell.com Online Documentation: To access the online documentation for this and other Novell developer products, and to get updates, see Novell Developer Kit (http://developer.novell.com/wiki/index.php/Category:Novell_Developer_Kit). To access online documentation for Novell products, see Novell Documentation (http://www.novell.com/documentation/). Novell Trademarks For a list of Novell trademarks, see Trademarks (http://www.novell.com/company/legal/trademarks/tmlist.html). Third-Party Materials All third-party trademarks are the property of their respective owners Contents LDAP and eDirectory Integration 5 1 LDAP and eDirectory Integration 7 1.1 Supported Platforms. 7 1.1.1 eCommerce Beans . 8 1.1.2 LDAP Libraries for C . 8 1.1.3 LDAP Classes for Java . 8 1.1.4 LDAP Extensions and Controls for JNDI . 8 1.1.5 LDAP JDBC Driver . 8 1.1.6 Novell Controls for ActiveX . 9 1.2 LDAP and eDirectory Terminology . 9 1.2.1 Objects and Entries, Attributes and Properties . 9 1.2.2 Naming Conventions . 9 1.2.3 LDAP Naming Contexts and eDirectory Partitions. 10 1.2.4 Access Control and Effective Rights . 10 1.2.5 Containment in Flat and Hierarchical Directories. 11 1.3 Novell LDAP Servers . 11 1.3.1 Deployed Versions of NDS and eDirectory . 13 1.4 LDAP Support for eDirectory Features . 13 1.5 LDAP Controls . 14 1.6 LDAP Extensions . 14 1.6.1 LDAP Extensions. 14 1.7 Differences Among LDAP Servers. 18 1.7.1 Schema . 18 1.7.2 Validation and Security Checking . 19 1.7.3 Directory Structure . 19 1.7.4 LDAP Control Support . 20 1.7.5 LDAP Extension Support . .20 1.8 LDAP Search Filters. 20 1.8.1 Operators. 22 1.9 LDAP URLs . 23 1.10 Connecting and Authenticating to eDirectory with LDAP . 24 1.10.1 Connections on Port 389 . 24 1.10.2 SSL Connections on Port 636 . 24 1.10.3 Anonymous Binds . 24 1.10.4 userPassword Attribute . 25 1.11 LDAP and eDirectory Schema . 25 1.11.1 Schema Naming Rules . .26 1.11.2 Schema Mapping. 26 1.11.3 LDAP Operational Attributes . .27 1.11.4 Root DSE Attributes. 28 1.11.5 Subschema Subentry Attributes . 29 1.11.6 Attribute Flags . 30 1.11.7 Object Class Flags. 32 1.11.8 Syntax Definitions . 34 1.11.9 Auxiliary Classes versus Modifications to Class Definitions . 36 1.12 LDAP Client Functionality . 36 1.13 Other Sources of LDAP Information. 46 Contents 3 2 LDAP Return Codes 47 2.1 LDAP Client Return Codes . 47 2.2 LDAP Server Return Codes . 48 2.3 LDAP Result Code Structure . 52 3 LDAP Event Services 53 3.1 Concepts . 53 3.1.1 Configuring the eDirectory Event System . 53 3.2 Event Types . 53 3.2.1 Entry Events. 54 3.2.2 Value Events . 55 3.2.3 Debug Events . 55 3.2.4 General DS Events . ..