The branch, master has been updated
       via  ba809ec... s3:pdb_ldap: fix bug 7505 - init_sam_from_ldap stores 
group in sid2uid cache
      from  1819beb... s3: Add a dummy test to prove the maxfd calculation

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ba809ecb8ab217e4376bf75d2300e146b62b88eb
Author: Michael Adam <[email protected]>
Date:   Thu Jun 10 11:56:15 2010 +0200

    s3:pdb_ldap: fix bug 7505 - init_sam_from_ldap stores group in sid2uid cache

-----------------------------------------------------------------------

Summary of changes:
 source3/passdb/pdb_ldap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 9e85ca6..b81d1e6 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1107,7 +1107,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);
                }
        }


-- 
Samba Shared Repository

Reply via email to