]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbind: Also set the cmd name for bool dispatch table
authorGuenther Deschner <gd@samba.org>
Tue, 26 Nov 2019 12:10:47 +0000 (13:10 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 26 Nov 2019 14:14:51 +0000 (14:14 +0000)
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Nov 26 14:14:51 UTC 2019 on sn-devel-184

source3/winbindd/winbindd.c

index 59b4ffc684bb29d26741441092cbd0d744d3912c..bb66321ce7249346155db321a61efdd1697b9def 100644 (file)
@@ -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);