[cifs-protocol] [EXTERNAL] Re: [MS-ADTS] SID as DN alternative for querying groups by member - TrackingID#2209290040008412

Christof Schmitt cs at samba.org
Thu Oct 6 19:20:08 UTC 2022


On Thu, Oct 06, 2022 at 05:48:34PM +0000, Jeff McCashland (He/him) wrote:
> Hi Christof,
> 
> I have a quick question for you. Do you get the same results when you use the hexadecimal representation of the SID, instead of the string representation? 

Hi Jeff,

I see the same results also when using the hexadecimal SID:

# net ads search -P -p 3268 'member=<SID=S-1-5-21-686935948-1127628631-3386349506-1104>' cn
Got 0 replies

# net ads search -P -p 3268 'member=<SID=\01\05\00\00\00\00\00\05\15\00\00\00\8C\CF\F1\28\57\3F\36\43\C2\97\D7\C9\50\04\00\00>' cn
Got 0 replies


I tried querying an existing user using the same syntax, so i assume
that this query is correct.

Regards,

Christof



More information about the cifs-protocol mailing list