Errata

Active Directory Cookbook

Errata for Active Directory Cookbook, Fourth Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed, PDF
Page 140
section 4.17 Creating a Dynamic Object

In the chapter of "Creating a Dynamic Object", the book says:

1. Open LDP

2. Click Connection->Connect and click OK.

3. Click Connection->Bind.

4. Bind with valid credentials.

5. Click View->Tree. Enter the DN of the parent container of the object you want to create and then click OK.

6. Click Browse->Add Child. The Add window will appear.

7. In the DN text box, enter the DN of the new object.

8. In the Attribute text box, enter objectClass. In the Values text box, enter the object class of the object you are creating, such as 'user'. Click Enter. In the Values text box, type dynamicObject and click Enter.

9. In the Attribute text box, enter entryTTL. In the Values text box, enter the time to live (TTL) of the object you are creating, such as '3600'. Click Enter.

10. Enter any other attributes and values that you wish to populate in the Attribute and Values text boxes.

11. Click Run.

However, the following error kept popping up in my environment.
-----------
***Calling Add...
ldap_add_s(ld, "CN=zzz,CN=Users,DC=contoso,DC=com", [4] attrs)
Error: Add: Object Class Violation. <65> Server error: 00002077: UpdErr: DSID-030511D9, problem 6002 (OBJ_CLASS_VIOLATION), data 0

Error 0x2077 Illegal modify operation. Some aspect of the modification is not permitted.
-----------

After some experiments, I found the actual operation should change step 8 to:

8. In the Attribute text box, enter objectClass. In the Values text box, enter the object class of the object you are creating, such as 'user' then type ";dynamicObject" and click Enter. This will result to "objectClass: user;dynamicObject" in the entryList.

Would you please take a look at this problem?

Thanks,
Randy Dong

Note from the Author or Editor:
Step #8 should be changed to:
In the Attribute text box, enter objectClass. In the Values text box, enter the object class of the object you are creating, type a semicolon, and then type dynamicObject. For example, if the object type is user, the entry in the Values text box should be user;dynamicObject. Click Enter.

Randy Dong  Aug 09, 2015