Displaying 2 results from an estimated 2 matches for "domainsintptr".
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
...IntPtr.Zero)
ConnectToLsa();
referencedDomain = null;
var sids = new byte[SECURITY_MAX_SID_SIZE * 1];
var sid = new SecurityIdentifier(sidstring);
sid.GetBinaryForm(sids, 1 * 0);
SambaTallocHandle domainsIntPtr;
SambaTallocHandle namesIntPtr;
SambaTallocHandle typesIntPtr;
var status = rpccli_lsa_lookup_sids(rpcHandle,
memoryContext, ref policy, 1, sids,
out domainsIntPtr, out namesIntPtr, out
typesIntPtr);
if (status...
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