diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-06-03 09:25:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:52 -0500 |
commit | 4e1b26db3490c6063bf0ea05b8ae7e34a96ca8a9 (patch) | |
tree | dd06e923eebe3bb0c2a51dbecdf8563517efe2d5 /source3/passdb | |
parent | b24835c155d90fe9871cfa5d77f9883c8b0de540 (diff) | |
download | samba-4e1b26db3490c6063bf0ea05b8ae7e34a96ca8a9.tar.gz samba-4e1b26db3490c6063bf0ea05b8ae7e34a96ca8a9.tar.bz2 samba-4e1b26db3490c6063bf0ea05b8ae7e34a96ca8a9.zip |
r989: Calling sid_to_gid from within winbind makes no sense, as this calls
winbind_sid_to_gid. For the consistency check, local_sid_to_gid must set the
name_type it found.
Volker
(This used to be commit 5070c1b68f2add16916ba3135984f6e70bbe42cf)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 75f8171a25..c3a423c263 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1287,6 +1287,7 @@ BOOL local_sid_to_gid(gid_t *pgid, const DOM_SID *psid, enum SID_NAME_USE *name_ } *pgid = group.gid; + *name_type = group.sid_name_use; DEBUG(10,("local_sid_to_gid: SID %s -> gid (%u)\n", sid_string_static(psid), (unsigned int)*pgid)); |