Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

How to find a Distinguished Name in AD

$
0
0

I have a program when I need to tell it the Distinguished Name of a user.  The problem is what if I move that user to a new OU?  Is there a way to point to a user so it will be found in AD no matter what OU I move the object to?

For example:  CN=User1, CN=Users, DC=Contoso, DC=com

What if I move User1 to a new OU called Marketing?  My program might stop working because it was looking for User1 at CN=User1, CN=Users, DC=Contoso, DC=com

We are running a Window 2003 domain.

Any ideas?

TIA,

Lamar


Lamar


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>