wb_gettoken_gots4u2self fallback on NT_STATUS_NO_S4U_PROT_SUPPORT
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Dec 2019 09:39:18 +0000 (10:39 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Aug 2020 12:03:26 +0000 (14:03 +0200)
source3/winbindd/wb_gettoken.c

index 8a0b1763be571078d016771d55f49da39f33105c..ce7b16922343d87e6b5ab6b169f49edb5459a3ae 100644 (file)
@@ -170,7 +170,7 @@ static void wb_gettoken_gots4u2self(struct tevent_req *subreq)
        if (tevent_req_nterror(req, status)) {
                return;
        }
-       if (NT_STATUS_EQUAL(result, NT_STATUS_REQUEST_NOT_ACCEPTED)) {
+       if (NT_STATUS_EQUAL(result, NT_STATUS_NO_S4U_PROT_SUPPORT)) {
                /*
                 * Fallback to the old code path
                 */