in reply to Win32::AD::User - can't seem to figure out how to retrieve a DN
It works in my environment with:my $adstring = join('', $user, ',user",',$user, '"');
andmy $acdiruser=Win32::AD::User->new('WinNT://dnsdomain.com/',$user);
you can print out all available properties using $acdiruser->print_me(); I'm not sure if it depends on my limited rights the property _LDAPAdsPath: which I expect to contain the DN attribute is empty for me :-(my $acdiruser=Win32::AD::User->new('WinNT://NTDOMAIN/',$user);
|
|---|