[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.3_ctdb.51-7-gb02d2bf

Michael Adam obnox at samba.org
Thu Dec 4 11:40:06 GMT 2008


The branch, v3-2-ctdb has been updated
       via  b02d2bf1e4c4507690e76f7119097632cd6dd052 (commit)
       via  afcdaa4bd20460a3435d3ed72f203a27d724634b (commit)
      from  0e9d5638a7c375b3b18f19f83f97924ab45ad382 (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit b02d2bf1e4c4507690e76f7119097632cd6dd052
Author: Michael Adam <obnox at samba.org>
Date:   Wed Dec 3 16:38:55 2008 +0100

    winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)
    
    This is just to find the corresponding domain struct.
    Actual connection is handled by the domain child.
    
    Michael

commit afcdaa4bd20460a3435d3ed72f203a27d724634b
Author: Michael Adam <obnox at samba.org>
Date:   Wed Dec 3 15:59:17 2008 +0100

    winbindd: don't open a new dc connection in winbindd_getgrnam (main winbindd)
    
    This is just to find the corresponding domain struct.
    Actual connection is handled by the domain child.
    
    Michael

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

Summary of changes:
 source/winbindd/winbindd_group.c |    2 +-
 source/winbindd/winbindd_user.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c
index bccbf62..9c09a1a 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/winbindd/winbindd_group.c
@@ -717,7 +717,7 @@ void winbindd_getgrnam(struct winbindd_cli_state *state)
 
 	/* Get info for the domain */
 
-	if ((domain = find_domain_from_name(name_domain)) == NULL) {
+	if ((domain = find_domain_from_name_noinit(name_domain)) == NULL) {
 		DEBUG(3, ("could not get domain sid for domain %s\n",
 			  name_domain));
 		request_error(state);
diff --git a/source/winbindd/winbindd_user.c b/source/winbindd/winbindd_user.c
index af6dcc6..a60a573 100644
--- a/source/winbindd/winbindd_user.c
+++ b/source/winbindd/winbindd_user.c
@@ -386,7 +386,7 @@ void winbindd_getpwnam(struct winbindd_cli_state *state)
 	
 	/* Get info for the domain */
 
-	domain = find_domain_from_name(domname);
+	domain = find_domain_from_name_noinit(domname);
 
 	if (domain == NULL) {
 		DEBUG(7, ("could not find domain entry for domain %s.  "


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list