Displaying 2 results from an estimated 2 matches for "pdb_gid_to_group_rid".
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
2004 Jan 30
0
[PATCH] Group mapping primary group SID update
...pdb_set_group_sid_from_string(sam_pwent,
string_sid, PDB_CHANGED);
+ }
+ else { /* no string specified, must compute the
RID */
+ pdb_set_group_sid_from_rid(sam_pwent,
pdb_gid_to_group_rid(pass->pw_gid), PDB_CHANGED);
+ }
+
+ /* Commit changes */
+ if (pdb_update_sam_account(sam_pwent)) {
+ /* Works well with pdb LDAP, BUT
!!Error!! while using pdb TDB :...