diff options
author | Michael Adam <obnox@samba.org> | 2010-06-10 11:56:15 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-01-13 17:58:49 +0100 |
commit | 3633fad4422a1e9f5852bd552a2fb62a444fbd21 (patch) | |
tree | a987b1d1b4cc6ec141f549a6ec848dcb31b2c995 /source3 | |
parent | da6259be54edaf86bb44a343b365c9def8135de5 (diff) | |
download | samba-3633fad4422a1e9f5852bd552a2fb62a444fbd21.tar.gz |
s3:pdb_ldap: fix bug 7507 - init_sam_from_ldap stores group in sid2uid cache
(cherry picked from commit ba809ecb8ab217e4376bf75d2300e146b62b88eb)
(cherry picked from commit cc740fb5eb56a0875703753d4a116d2fe33ec186)
(cherry picked from commit b206d75ca5ba04a866a22dfca5b7441fb49078d8)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index f95f91284b3..249a990d257 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -1106,7 +1106,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates *ldap_state, if (primary_gsid && sid_equal(primary_gsid, &mapped_gsid)) { store_gid_sid_cache(primary_gsid, sampass->unix_pw->pw_gid); - idmap_cache_set_sid2uid(primary_gsid, + idmap_cache_set_sid2gid(primary_gsid, sampass->unix_pw->pw_gid); } } |