I had to do this a few years ago.
What I found is that the SAS code provided is more of a "guideline", in that there are a tremendous number of ways to set up Active Directory. The provided SAS code demonstrates how it can work, but the fields and comparison values might be quite different.
Also, at the point when I was doing it, Active Directory got quite grumpy when asked to return a large number of results, and didn't do anything.
What I did was to use PowerShell to explore the Active Directory environment, understand what all of my quries had to be, etc. Then migrating those queries into SAS wasn't too bad. Even with that, it was a frustrating excercise.
Hope this helps,
Tom
... View more