NNS ADix - How to...Delete Active Directory Objects
   

This topic describes how to delete Active Directory objects with NNS ADix.

If you want to delete an Active Directory object, you must use the ADix auxiliary attribute 'adixDel' in
your import file (see the help topic  Appendix F: Auxiliary Attributes for more information).
The value of this attribute be set to 'DEL' for a single object deletion or to 'DELTREE'
to delete an entire object tree. Further the import file must contain a valid Update Key Attribute.

Note:
    The DELOBJ (DELTREE)-string is case sensitive. Therefore always write the string in capital letters.

Note:
    If the import file contains other attributes than the Update Key Attribute and the attribute 'adixDel', these
    attributes will be ignored. Only delete operations will be performed.

Examples:

The following example deletes an object using the Update Key Attribute 'path':

path;adixDel
"LDAP://cn=j.doe,cn=users,dc=dom,dc=com";"DELOBJ"

The following example deletes an object and it's child objects using the Update Key Attribute 'gUIDPath':

gUIDPath;adixDel
LDAP://<GUID=08593c87-4f62-45da-911c-a62dadc47351>";"DELTREE"

The following example deletes an object using the Update Key Attribute 'sAMAccountName':

sAMAccountName;adixMan
"jdoe";"DELOBJ"

Note:
    Be careful when using the 'DELTREE'-string. It enables you to delete an entire directory tree (including all child objects)
    with one line in the import file!

 

Copyright © 2008 by NNS - Nigl Network Solutions