in reply to NET::LDAP and objectGUID
I can now search by the objectGUID 100% of the time in my tests.
sub GuidToString { my $stringGUID = unpack("H*", shift); $stringGUID =~ s/^(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w) +(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)(\w\w)/\\$1\\$2\\$3\\$4\\$5 +\\$6\\$7\\$8\\$9\\$10\\$11\\$12\\$13\\$14\\$15\\$16/; return $stringGUID; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: NET::LDAP and objectGUID
by haukex (Archbishop) on Jan 25, 2017 at 15:25 UTC |