Displaying 8 results from an estimated 8 matches for "sid_copy".
2020 Nov 10
3
Crash in 4.12.10 in
...s + 0x25d
Unfortunately no core dump :-(
I created a bug in bugzilla for it (14571).
The calls that sids_to_unixids() calls are:
idmap_hash_initialize
wcache_tdc_fetch_list
make_tdc_key
tdb_fetch
unpack_tdc_domains
talloc_zero_array
domain_has_idmap_config
hash_domain_sid
dom_sid_str_buf
talloc
sid_copy
sid_copy
sid_split_rid
hash_domain_sid
hash_rid
combine_hashes
But I don?t see any obvious candidate?
- Peter
2006 Aug 10
6
3.0.20 -> 3.0.23 SID/group error?? Won't connect.
Gerry, all:
HELP! On mandriva, I compiled samba from source and got it running, but
I cannot connect from windows. (see my post from earlier "[Samba] Compiling
and Configuring Samba for Mandrival")
I think this relates to the group/SID changes discussed in the release
notes. However, I'm not smart enough to figure it out. The tarball compiled
and installed fine. It
2020 Nov 10
0
Crash in 4.12.10 in
...la for it (14571).
>
> The calls that sids_to_unixids() calls are:
>
> idmap_hash_initialize
> wcache_tdc_fetch_list
> make_tdc_key
> tdb_fetch
> unpack_tdc_domains
> talloc_zero_array
> domain_has_idmap_config
> hash_domain_sid
> dom_sid_str_buf
> talloc
> sid_copy
> sid_copy
> sid_split_rid
> hash_domain_sid
> hash_rid
> combine_hashes
>
> But I don?t see any obvious candidate?
>
> - Peter
>
>
>
Have you read 'man idmap_hash' ?
If you did, did you miss this at the top:
idmap_hash - DO NOT USE THIS BACKEND
Pleas...
2005 Mar 17
0
usrmgr.exe and problems
...- if (IS_SAM_CHANGED(pwd, PDB_GROUPSID))
- set_unix_primary_group(pwd);
+ if (IS_SAM_CHANGED(pwd, PDB_GROUPSID) && !set_unix_primary_group(pwd) ) {
+ pdb_free_sam(&pwd);
+ return False;
+ }
if(!pdb_update_sam_account(pwd)) {
pdb_free_sam(&pwd);
@@ -3624,12 +3628,16 @@
sid_copy(&user_sid, get_global_sam_sid());
sid_append_rid(&user_sid, q_u->rid);
-
+
+
ret = pdb_init_sam(&sam_user);
+
if (!NT_STATUS_IS_OK(ret))
return ret;
+ become_root();
check = pdb_getsampwsid(sam_user, &user_sid);
+ unbecome_root();
if (check != True)...
2005 May 11
1
SV: Error with usrmgr and groups.
It's exactly the same. Except that I use tdbsam instead of ldap and the error message therefore also is different in the log file. But the example and result is the same. Do you have any idea of workaround or fix?
Cheers,
Joel
-----Ursprungligt meddelande-----
Fr?n: Doug Campbell [mailto:doug@bpta.net]
Skickat: den 11 maj 2005 10:49
Till: Joel Larsson, PF, Posten; samba@lists.samba.org
2005 Jun 02
1
Winbindd chokes on W2K users in only one group
Hi there,
I've been trying to set up Samba 3.0.14a with Active Directory
integration on a network with an ordinary W2k Server PDC. I'm currently
having a problem which I'm convinced has nothing to do with my Windows
or Samba configuration.
The problem only occurs when trying to connect to the Samba server from
an authenticated domain account which is only a member of the default
2005 Aug 10
0
[GOLUM] RE: pdbedit not working as documented
...??????????????if (sscanf(user_sid, "%d", &u_rid) != 1) {
> ??????????????????????????????fprintf(stderr, "Error passed string is not
> a complete user SID or RID!\n");
> ??????????????????????????????return -1;
> ??????????????????????}
> ??????????????????????sid_copy(&u_sid, get_global_sam_sid());
> ??????????????????????sid_append_rid(&u_sid, u_rid);
> ??????????????}
> ??????????????pdb_set_user_sid (sam_pwent, &u_sid, PDB_CHANGED);
> ??????}
> ??????if (group_sid) {
> ??????????????DOM_SID g_sid;
> ??????????????if (!string_t...
2002 Aug 10
1
Samba 2.2.x PDC code small corrections
There some small changes in Samba 2.2.x PDC code for fake groups "Domain
Admins/Users/Guests" to work.
There also found bug in source/rpc_server/srv_samr_nt.c
@@ -227,7 +227,7 @@
static_map[0].gid = (gid_t)-1;
sid_copy(&static_map[0].sid, &global_sam_sid);
- sid_append_rid(&static_map[1].sid, DOMAIN_GROUP_RID_ADMINS);
+ sid_append_rid(&static_map[0].sid, DOMAIN_GROUP_RID_ADMINS);
static_map[0].sid_name_use = SID_NAME_DOM_GRP;
fstrcpy(static_map[0].nt_name, "Domain Admins");
fstrcpy(st...