Re: Weird issue using AD objectGUID as search filter
[email protected] (Quanah Gibson-Mount) Mon, 22 Feb 2021 09:27:43 -0800
| Newsgroups | perl.ldap |
|---|---|
| Message-ID | <ED1CBE81199A9D2DC9F956DE@[192.168.1.156]> |
--On Friday, February 19, 2021 11:15 PM +0000 Bruce Johnson <[email protected]> wrote: > Implemented it as follows: Glad you got it working. :) I had a typo in my script that left out one of the hyphens. This *should* work (although I don't have any AD system to test against) if you fix this line in the original script I posted: my $query_string=$guid[3].$guid[2].$guid[1].$guid[0]."-".$guid[5].$guid[4]."-".$guid[7].$guid[6]."-".$guid[8].$guid[9]."-".$guid[10].$guid[11].$guid[12].$guid[13].$guid[14].$guid[15]; I had left out the hyphen between 8-9 and 10+ Regards, Quanah -- Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: <http://www.symas.com>