[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-81-ga54520f

Jeremy Allison jra at samba.org
Fri Feb 27 18:35:09 GMT 2009


The branch, master has been updated
       via  a54520fd4d357eadccb5e101a5b74b50e6d7ab25 (commit)
      from  0025caa9bd2bf52bf873b38ef4b8e3814579ad17 (commit)

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


- Log -----------------------------------------------------------------
commit a54520fd4d357eadccb5e101a5b74b50e6d7ab25
Author: Bo Yang <boyang at novell.com>
Date:   Thu Feb 26 17:44:33 2009 +0800

    Initialize the id_map status in idmap_ldap to avoid surprise

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

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


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index c86a502..7224589 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/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


More information about the samba-cvs mailing list