The branch, v3-3-test has been updated
       via  13a13122f40221edd76aeaaff47c8964a692301a (commit)
      from  fbf615dee95d13026fb9d092be8cf956c64eda75 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 13a13122f40221edd76aeaaff47c8964a692301a
Author: Bo Yang <[email protected]>
Date:   Fri Feb 27 10:34:47 2009 -0800

    Initialize the id_map status in idmap_ldap to avoid surprise

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

Summary of changes:
 source/winbindd/idmap_ldap.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/idmap_ldap.c b/source/winbindd/idmap_ldap.c
index c86a502..7224589 100644
--- a/source/winbindd/idmap_ldap.c
+++ b/source/winbindd/idmap_ldap.c
@@ -935,6 +935,10 @@ static NTSTATUS idmap_ldap_unixids_to_sids(struct 
idmap_domain *dom,
                multi = True;
        }
 
+       for (i = 0; ids[i]; i++) {
+               ids[i]->status = ID_UNKNOWN;
+       }
+
 again:
        if (multi) {
 
@@ -1156,6 +1160,10 @@ static NTSTATUS idmap_ldap_sids_to_unixids(struct 
idmap_domain *dom,
                multi = True;
        }
 
+       for (i = 0; ids[i]; i++) {
+               ids[i]->status = ID_UNKNOWN;
+       }
+
 again:
        if (multi) {
 


-- 
Samba Shared Repository

Reply via email to