[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3491-gc23dffc
Jeremy Allison
jra at samba.org
Fri Feb 27 19:37:54 GMT 2009
The branch, v3-2-test has been updated
via c23dffc930cb9852bb98c2a92f0215cf73f4572d (commit)
from 671812696217fe1337562b661d5131be79797f1c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit c23dffc930cb9852bb98c2a92f0215cf73f4572d
Author: Bo Yang <boyang at novell.com>
Date: Fri Feb 27 11:37:19 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 fa80fae..53f6310 100644
--- a/source/winbindd/idmap_ldap.c
+++ b/source/winbindd/idmap_ldap.c
@@ -944,6 +944,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) {
@@ -1173,6 +1177,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