diff options
-rw-r--r-- | source4/auth/kerberos/krb5_init_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c index 515668456a..ed3a619a58 100644 --- a/source4/auth/kerberos/krb5_init_context.c +++ b/source4/auth/kerberos/krb5_init_context.c @@ -272,13 +272,13 @@ static krb5_error_code smb_krb5_send_and_recv_func(krb5_context context, case KRB5_KRBHST_UDP: if (lp_parm_bool(-1, "krb5", "udp", True)) { status = socket_create(name, SOCKET_TYPE_DGRAM, &smb_krb5->sock, 0); - break; } + break; case KRB5_KRBHST_TCP: if (lp_parm_bool(-1, "krb5", "tcp", True)) { status = socket_create(name, SOCKET_TYPE_STREAM, &smb_krb5->sock, 0); - break; } + break; case KRB5_KRBHST_HTTP: talloc_free(smb_krb5); return EINVAL; |