[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Nov 26 14:15:04 UTC 2019


The branch, master has been updated
       via  03854960870 s3:winbind: Also set the cmd name for bool dispatch table
       via  97d43cf6982 s3:winbind: Print priv pipe location
       via  7eb171f6e36 gitignore: Add .build.log
      from  9aa03be9464 torture: Test g_lock deadlock detection

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


- Log -----------------------------------------------------------------
commit 038549608709d4a1b7a1650041a57d201fb6a643
Author: Guenther Deschner <gd at samba.org>
Date:   Tue Nov 26 13:10:47 2019 +0100

    s3:winbind: Also set the cmd name for bool dispatch table
    
    Signed-off-by: Guenther Deschner <gd at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Tue Nov 26 14:14:51 UTC 2019 on sn-devel-184

commit 97d43cf6982a4bc1bbba70997990b017b6bca213
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Nov 26 12:45:24 2019 +0100

    s3:winbind: Print priv pipe location
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Guenther Deschner <gd at samba.org>

commit 7eb171f6e36a3f1b3101398bb8a99aab99bb5c4f
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Nov 26 13:32:53 2019 +0100

    gitignore: Add .build.log
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Guenther Deschner <gd at samba.org>

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

Summary of changes:
 .gitignore                       | 1 +
 source3/winbindd/winbindd.c      | 2 ++
 source3/winbindd/winbindd_misc.c | 5 +++++
 3 files changed, 8 insertions(+)


Changeset truncated at 500 lines:

diff --git a/.gitignore b/.gitignore
index ffdb2e3bd11..49abc2e9099 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
 /st/
 .waf*
 .lock-wscript
+.build.log
 *~
 *.swp
 /tags
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 59b4ffc684b..bb66321ce72 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -764,6 +764,8 @@ static struct tevent_req *process_request_send(
 	ok = false;
 
 	if (i < ARRAY_SIZE(bool_dispatch_table)) {
+		cli_state->cmd_name = bool_dispatch_table[i].cmd_name;
+
 		DBG_DEBUG("process_request: request fn %s\n",
 			  bool_dispatch_table[i].cmd_name);
 		ok = bool_dispatch_table[i].fn(cli_state);
diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c
index cc0701e597a..d27ed76e81e 100644
--- a/source3/winbindd/winbindd_misc.c
+++ b/source3/winbindd/winbindd_misc.c
@@ -477,5 +477,10 @@ bool winbindd_priv_pipe_dir(struct winbindd_cli_state *state)
 	state->response->length +=
 		strlen((char *)state->response->extra_data.data) + 1;
 
+	DBG_NOTICE("[%s (%u)]: response location of privileged pipe: %s\n",
+		   state->client_name,
+		   (unsigned int)state->pid,
+		   priv_dir);
+
 	return true;
 }


-- 
Samba Shared Repository



More information about the samba-cvs mailing list