diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 22b08972eb..1196f2cbeb 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -551,9 +551,7 @@ static NTSTATUS winbindd_raw_kerberos_login(struct winbindd_domain *domain, } - result = NT_STATUS_OK; - - goto done; + return NT_STATUS_OK; failed: @@ -575,10 +573,8 @@ failed: state->request.data.auth.user)); } -done: - return result; -#else +#else return NT_STATUS_NOT_SUPPORTED; #endif /* HAVE_KRB5 */ } |