I am trying to setup the AD lookup feature. I know the file is connecting to the ldap server fine, but I think the problem is in the $dn line. I don’t understand the variables that need to be defined.
$dn = “OU=People,OU=staff,DN=your,DN=adserver,DN=com”;
I’m not sure if this is a problem, but my users are not in a user-specific OU in AD. They are just under the normal users folder in AD. Do I need to make a new OU and drag all of my users in there?
Also, I’m confused about the syntax for defining the DN. If the full server name is mhbd.mhpc.com, would it be $dn DN=mhbd,DN=mhpc,DN=com?
Please advise. Thanks!