[SCM] Samba Shared Repository - branch v3-0-test updated - initial-v3-0-unstable-6-g5ec7b9f

Simo Sorce idra at samba.org
Tue Oct 16 18:09:58 GMT 2007


The branch, v3-0-test has been updated
       via  5ec7b9f8b9941c1a0adcd10d52fdffc893c1b1a1 (commit)
      from  02cf5380e2deec1eaf10e8c1f393a1ddeee181d9 (commit)

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


- Log -----------------------------------------------------------------
commit 5ec7b9f8b9941c1a0adcd10d52fdffc893c1b1a1
Author: Simo Sorce <idra at samba.org>
Date:   Tue Oct 16 14:06:33 2007 -0400

    Fix dimap for trusted domains only case

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

Summary of changes:
 source/nsswitch/idmap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/idmap.c b/source/nsswitch/idmap.c
index e2fa416..db1c6f3 100644
--- a/source/nsswitch/idmap.c
+++ b/source/nsswitch/idmap.c
@@ -389,7 +389,8 @@ NTSTATUS idmap_init(void)
 			continue;
 		}
 
-		if (strequal(dom_list[i], lp_workgroup())) {
+		if ((dom_list[i] != default_domain) &&
+		    strequal(dom_list[i], lp_workgroup())) {
 			pri_dom_is_in_list = True;
 		}
 		/* init domain */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list