search for: sidsintptr

Displaying 2 results from an estimated 2 matches for "sidsintptr".

2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
...} public SecurityIdentifier ConvertNameToSid(string nameToResolve) { lock (lockobject) { if (rpcHandle == IntPtr.Zero) ConnectToLsa(); SambaTallocHandle domainsIntPtr; SambaTallocHandle sidsIntPtr; SambaTallocHandle typesIntPtr; var status = rpccli_lsa_lookup_names(rpcHandle, memoryContext, ref policy, 1, new string[] { nameToResolve }, out domainsIntPtr, 1, out sidsIntPtr, out typesIntPtr); if (status != 0)...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example: Here is some search & export for libsmbclient: adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open_noauth_transport <nothing> adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0