]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldap_server: Fix -Wswitch in case we want to implement SICILY
authorVolker Lendecke <vl@samba.org>
Tue, 21 Jul 2026 09:50:10 +0000 (11:50 +0200)
committerAnoop C S <anoopcs@samba.org>
Mon, 3 Aug 2026 09:05:30 +0000 (09:05 +0000)
See [MS-ADTS] 5.1.1.1.3 Sicily Authentication

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source4/ldap_server/ldap_bind.c

index f9c7dce312f7658701a1e8c45d6a69530844686a..13075cab3c28cf0d3e4268a9030bf9eb85a4c5da 100644 (file)
@@ -742,6 +742,8 @@ NTSTATUS ldapsrv_BindRequest(struct ldapsrv_call *call)
                        return ldapsrv_BindSimple(call);
                case LDAP_AUTH_MECH_SASL:
                        return ldapsrv_BindSASL(call);
+               default:
+                       break;
        }
 
        reply = ldapsrv_init_reply(call, LDAP_TAG_BindResponse);