search for: sid_str

Displaying 13 results from an estimated 13 matches for "sid_str".

Did you mean: id_str
2020 Sep 03
4
SID mapping: Samba and SSSD
...if you set a low range identical to that of the low range in SSSD. SSSD determines low range for initial id slice using approximately the following algorithm IIRC: ``` uint32_t hash_val = 0; int our_slice = 0; int max_slices = 10000; int final_value = 0; int slice_size = 20000 hash_val = murmur3(sid_str, strlen(sid_str), 0xdeadbeef); our_slice = hash_val % max_slices; final_value = our_slice * slice_size +slice_size; ``` This works for the first slice, but slices after that are non-deterministic.
2020 Sep 03
0
SID mapping: Samba and SSSD
...her response > > SSSD determines low range for initial id slice using approximately the > following algorithm IIRC: > ``` > uint32_t hash_val = 0; > int our_slice = 0; > int max_slices = 10000; > int final_value = 0; > int slice_size = 20000 > > hash_val = murmur3(sid_str, strlen(sid_str), 0xdeadbeef); > our_slice = hash_val % max_slices; > final_value = our_slice * slice_size +slice_size; > ``` > This works for the first slice, but slices after that are non-deterministic. >
2005 Jan 10
0
Samba 3.x auth. and idmap_rid on RedHat AS 2.1
...mount --with-pam --with-pam_smbpass \ --with-winbind --with-configdir=/etc/samba \ --with-logbasedir=/var/log/samba \ --with-shared-modules=idmap_rid Here is the error: Compiling sam/idmap_rid.c with -fPIC sam/idmap_rid.c: In function `rid_idmap_parse': sam/idmap_rid.c:55: parse error before `sid_str' sam/idmap_rid.c:58: parse error before `tok' sam/idmap_rid.c:65: `sid_str' undeclared (first use in this function) sam/idmap_rid.c:65: (Each undeclared identifier is reported only once sam/idmap_rid.c:65: for each function it appears in.) sam/idmap_rid.c:79: `tok' undeclared (first...
2020 Sep 03
0
SID mapping: Samba and SSSD
...> in SSSD. > > SSSD determines low range for initial id slice using approximately the > following algorithm IIRC: > ``` > uint32_t hash_val = 0; > int our_slice = 0; > int max_slices = 10000; > int final_value = 0; > int slice_size = 20000 > > hash_val = murmur3(sid_str, strlen(sid_str), 0xdeadbeef); > our_slice = hash_val % max_slices; > final_value = our_slice * slice_size +slice_size; > ``` > This works for the first slice, but slices after that are > non-deterministic. >
2004 Dec 30
0
Samba 3.0.10 on Red Hat AS 2.1
...fined reference to `secrets_fetch_machine_password' Linking libsmbclient non-shared library bin/libsmbclient.a Linking libsmbclient shared library bin/libsmbclient.so Compiling sam/idmap_rid.c with -fPIC sam/idmap_rid.c: In function `rid_idmap_parse': sam/idmap_rid.c:55: parse error before `sid_str' sam/idmap_rid.c:58: parse error before `tok' sam/idmap_rid.c:65: `sid_str' undeclared (first use in this function) sam/idmap_rid.c:65: (Each undeclared identifier is reported only once sam/idmap_rid.c:65: for each function it appears in.) sam/idmap_rid.c:79: `tok' undeclared (first...
2020 Sep 03
6
SID mapping: Samba and SSSD
On Thu, Sep 03, 2020 at 06:43:32PM +0100, Rowland penny via samba wrote: > On 03/09/2020 18:04, Johan Hattne via samba wrote: > > Dear all; > > > > Would anybody be able to tell me what the idmap configuration is to have > > Samba do the same SID-to-user/group mapping as the SSSD defaults?? I was > > convinced I saw it on this list or the wiki not too long ago,
2005 Aug 24
6
Wbinfo -Y couldn't work with idmap_rid for BUILTIN groups
...;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: %s\n", 476 sid_string_static(sid))); 477 return NT_STATUS_INVALID_PARAMETER; 478 } leads to generate an error with "no suitable range available for sid:", even if both idmap uid range and idmap gid range are exactly equal to idmap_rid range in smb.conf. So I'm wondering idmap_ri...
2023 Nov 27
2
[Announce] Samba 4.19.3 Available for Download
...tyDescriptor' of 'CN=Deleted Objects,DC=samba,DC=org' The change should be confirmed with 'y' for all objects starting with 'CN=Deleted Objects'. Changes since 4.19.2 -------------------- o? Douglas Bagnall <douglas.bagnall at catalyst.net.nz> ?? * BUG 15520: sid_strings test broken by unix epoch > 1700000000. o? Ralph Boehme <slow at samba.org> ?? * BUG 15487: smbd crashes if asked to return full information on close of a ???? stream handle with delete on close disposition set. ?? * BUG 15521: smbd: fix close order of base_fsp and stream_fsp in...
2023 Nov 27
2
[Announce] Samba 4.19.3 Available for Download
...tyDescriptor' of 'CN=Deleted Objects,DC=samba,DC=org' The change should be confirmed with 'y' for all objects starting with 'CN=Deleted Objects'. Changes since 4.19.2 -------------------- o? Douglas Bagnall <douglas.bagnall at catalyst.net.nz> ?? * BUG 15520: sid_strings test broken by unix epoch > 1700000000. o? Ralph Boehme <slow at samba.org> ?? * BUG 15487: smbd crashes if asked to return full information on close of a ???? stream handle with delete on close disposition set. ?? * BUG 15521: smbd: fix close order of base_fsp and stream_fsp in...
2004 Sep 16
1
how to submit patches ? (patch for pdb_xml.c included)
...s in GECOS fields. I sent it directly to Jelmer Vernooij, but there was no answer. Who can review the supplied patch ? Cheers, Ilia Chipitsine -------------- next part -------------- --- pdb_xml.c.orig Tue Aug 31 12:12:02 2004 +++ pdb_xml.c Tue Aug 31 12:12:07 2004 @@ -373,6 +373,7 @@ fstring sid_str; xmlNodePtr cur, user, pass, root; pdb_xml *data; + char *fullname_utf8; DEBUG(10, ("xmlsam_add_sam_account called!\n")); @@ -427,8 +428,14 @@ if (pdb_get_nt_username(u) && strcmp(pdb_get_nt_username(u), "")) xmlNewChild(user, data->ns, "nt_...
2004 Jan 30
0
[PATCH] Group mapping primary group SID update
..._gid, NULL); + + /* Update primary group SID for users belonging to the new gid mapped to the existing SID */ + sid_to_string(usrsid, &sid); + update_users_primgroup_sid(gid, usrsid); + } + return 0; } @@ -426,6 +503,9 @@ fstring sid_string = ""; int i; + gid_t old_gid; + fstring usrsid = ""; + /* get the options */ for ( i=0; i<argc; i++ ) { if ( !StrnCaseCmp(argv[i], "ntgroup", strlen("ntgroup")) ) { @@ -463,6 +543,13 @@...
2023 Nov 27
1
[Announce] Samba 4.19.3 Available for Download
...amba,DC=org' > > The change should be confirmed with 'y' for all objects starting with > 'CN=Deleted Objects'. > > > Changes since 4.19.2 > -------------------- > > o? Douglas Bagnall <douglas.bagnall at catalyst.net.nz> > ??? * BUG 15520: sid_strings test broken by unix epoch > 1700000000. > > o? Ralph Boehme <slow at samba.org> > ??? * BUG 15487: smbd crashes if asked to return full information on > close of a > ????? stream handle with delete on close disposition set. > ??? * BUG 15521: smbd: fix close order o...
2006 Dec 08
0
Wine release 0.9.27
...e CRYPT_Free. advapi32: Add tests for LookupAccountName. msi: Set the UserSID property. msi: Add handling for the StartServices action. shell32: Move a NULL pointer check before the place where we dereference the pointer. msi: Fail if stg is NULL. msi: Initialize sid_str to NULL. Jan Zerebecki (5): wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType. wined3d: Rearrange code in CheckDeviceType. wined3d: Avoid XFree on NULL in CheckDeviceType. wined3d: Fix CreateFakeGLContext to work with a foreign context. wined3d: Add err...