|
| ||||||||||
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| ldap query with guid
(displayname=XYZ) will work, but the filter: (msexchmailboxguid={12345678-1234-1234-1234-123412341234}) will not return any AD object. Any help would be appreciated. |
|
#2
| ||||
| ||||
| Re: ldap query with guid
Can you check if the below filter works for that GUID: msExchMailboxGUID=\78\56\34\12\34\12\34\12\12\34\12\34\12\34\12\34 It it is working, then it is just a case of wanting to convert the COM style string format GUID t binary format and then prefixing each byte with a \. I have a tool on my site in the files called GUIDConverter that simplifies the conversion of GUIDs to formats that are useful in LDAP. |
|
#3
| ||||
| ||||
| Re: ldap query with guid
I think that you should use the hex format for the guid and then escape the hex characters. For instance, if the objectGUID is "{B95F3990-B59A-4A1B-9E96-86C66CB18D99}", then the hex format is "90395FB99AB51B4A9E9686C66CB18D99", and you will use: "(objectGUID=\90\39\5F\B9\9A\B5\1B\4A\9E\96\86\C6\6C\B1\8D\99)" |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "ldap query with guid" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LDAP query to speficied LDAP server on TCP port 389 failed | Shash | Windows Server Help | 2 | 02-05-2012 05:01 PM |
| LDAP query to two different domains | manjusha | Technology & Internet | 1 | 01-12-2010 03:58 PM |
| LDAP Query AD | shivinder | Active Directory | 4 | 03-06-2010 11:23 AM |
| LDAP query | Palaksi | Active Directory | 3 | 11-12-2008 01:09 AM |
| LDAP query can it be done ? | zscw1 | Active Directory | 3 | 13-11-2008 09:08 AM |