[SCM] Samba Shared Repository - branch master updated

David Disseldorp ddiss at samba.org
Wed Jan 22 13:58:03 MST 2014


The branch, master has been updated
       via  0f347e4 log winbind version (when requested) in winbindd log
      from  38f8788 s4:torture/rpc: add invalidAuthenticate2

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


- Log -----------------------------------------------------------------
commit 0f347e44e2447e9c03a694198adad6be1fa9dd6c
Author: Noel Power <noel.power at suse.com>
Date:   Wed Jan 22 12:49:44 2014 +0000

    log winbind version (when requested) in winbindd log
    
    winbindd currently only logs the INTERFACE version request,
    it would be useful to additionally have the version returned
    in the log also.
    
    Signed-off-by: Noel Power <noel.power at suse.com>
    Reviewed-by: Jim McDonough <jmcd at samba.org>
    Reviewed-by: David Disseldorp <ddiss at samba.org>
    
    Autobuild-User(master): David Disseldorp <ddiss at samba.org>
    Autobuild-Date(master): Wed Jan 22 21:57:04 CET 2014 on sn-devel-104

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

Summary of changes:
 source3/winbindd/winbindd_misc.c |    4 ++--
 source4/winbind/wb_samba3_cmd.c  |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c
index 29d6a26..fa4907c 100644
--- a/source3/winbindd/winbindd_misc.c
+++ b/source3/winbindd/winbindd_misc.c
@@ -391,8 +391,8 @@ void winbindd_info(struct winbindd_cli_state *state)
 
 void winbindd_interface_version(struct winbindd_cli_state *state)
 {
-	DEBUG(3, ("[%5lu]: request interface version\n",
-		  (unsigned long)state->pid));
+	DEBUG(3, ("[%5lu]: request interface version (version = %d)\n",
+		  (unsigned long)state->pid, WINBIND_INTERFACE_VERSION));
 
 	state->response->data.interface_version = WINBIND_INTERFACE_VERSION;
 	request_ok(state);
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c
index 091e93e..9ec3c4b 100644
--- a/source4/winbind/wb_samba3_cmd.c
+++ b/source4/winbind/wb_samba3_cmd.c
@@ -182,6 +182,8 @@ static void wbsrv_samba3_async_epilogue(NTSTATUS status,
 
 NTSTATUS wbsrv_samba3_interface_version(struct wbsrv_samba3_call *s3call)
 {
+	DEBUG(3, ("request interface version (version = %d)\n", WINBIND_INTERFACE_VERSION));
+
 	s3call->response->result			= WINBINDD_OK;
 	s3call->response->data.interface_version	= WINBIND_INTERFACE_VERSION;
 	return NT_STATUS_OK;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list