summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-14 20:26:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:47 -0500
commita9f02f46b11b6b40f66079355e7ae13cd3824b84 (patch)
tree037b17b19d6dfedcf4b0aa822f4482fef44982a4 /source3
parent05fafc1df28e7848a1e6869d0103ea96dc21f0e4 (diff)
downloadsamba-a9f02f46b11b6b40f66079355e7ae13cd3824b84.tar.gz
samba-a9f02f46b11b6b40f66079355e7ae13cd3824b84.tar.bz2
samba-a9f02f46b11b6b40f66079355e7ae13cd3824b84.zip
r24437: Remove "done" in winbindd_raw_kerberos_login() as well.
Guenther (This used to be commit 44c10bbe9477fc9e731f319e62c1358a7497e316)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_pam.c8
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 */
}