search for: sid_append_rid

Displaying 6 results from an estimated 6 matches for "sid_append_rid".

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(static_map[0].comment, "Administrators for the domain")...
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
2005 Aug 10
0
[GOLUM] RE: pdbedit not working as documented
...> ??????????????????????????????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_to_sid(&g_sid, group_sid)) { > ??????????????????????/* not a complete...
2005 Mar 17
0
usrmgr.exe and problems
...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) { pdb_free_sam(&sam_user); @@ -3708,6 +3716,7 @@...
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
2014 Mar 15
1
Upgrading from 4.1.4 to 4.1.6 on FreeBSD 9.2
...s_global_schema at SAMBA_4.1.4' /usr/local/lib/libsamba-credentials.so: undefined reference to `smb_get_krb5_error_message at SAMBA_4.1.4' /usr/local/lib/libsamdb.so: undefined reference to `samdb_result_account_expires at SAMBA_4.1.4' /usr/local/lib/libsamdb.so: undefined reference to `sid_append_rid at SAMBA_4.1.4' /usr/local/lib/libsamdb.so: undefined reference to `dom_sid_split_rid at SAMBA_4.1.4' /usr/local/lib/libgensec.so: undefined reference to `socket_create_with_ops at SAMBA_4.1.4' /usr/local/lib/libndr-standard.so: undefined reference to `ndr_pull_kerb_EncTypes at SAMBA_4....