Displaying 4 results from an estimated 4 matches for "sidstr".
Did you mean:
idstr
2008 Nov 14
2
string_to_sid: Sid MYDOMAIN\mygroup does not start with 'S-'.
...his
share (ftp_site001)
[2008/11/13 16:05:06, 3] smbd/error.c:error_packet_set(61)
error packet at smbd/reply.c(662) cmd=117 (SMBtconX)
NT_STATUS_ACCESS_DENIED
The following code snippet shows where this error is coming from:
<snip_start>
bool string_to_sid(DOM_SID *sidout, const char *sidstr)
{
const char *p;
char *q;
/* BIG NOTE: this function only does SIDS where the identauth is
not >= 2^32 */
uint32 conv;
if ((sidstr[0] != 'S' && sidstr[0] != 's') || sidstr[1] != '-')
{
DEBUG(3,("string...
2005 Aug 24
6
Wbinfo -Y couldn't work with idmap_rid for BUILTIN groups
...workgroup's
domain sid as a real domain sid in rid_idmap_get_domains(), when running
"wbinfo -Y BUILTIN/System Operators", the function
rid_idmap_get_id_from_sid() checks if incoming sid is same with
workgroup domain sid by following comparison:
470 if ( sid_compare_domain(sid, &sidstr) == 0 )
This would let the first "for" loop continue to go to the end, and make
the loop variable i equal to trust.number(=1). And the code after the
loop
474 if (i == trust.number) {
475 DEBUG(0,("rid_idmap_get_id_from_sid: no suitable
range available for sid:...
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
...new Win32Exception(r, "Unable to
rpccli_lsa_open_policy");
}
Trace.WriteLine(@"ConnectToLsa OK");
}
private void DisconnectFromLsa()
{
connectionHandle.Close();
}
public string ConvertSIDToName(string sidstring, out string
referencedDomain)
{
lock (lockobject)
{
if (rpcHandle == IntPtr.Zero)
ConnectToLsa();
referencedDomain = null;
var sids = new byte[SECURITY_MAX_SID_SIZE * 1];
var sid...
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