This function takes the following parameters:
Determine if this DN is the parent of childdn.
Determine if this DN is the child of parentdn.