1/* $OpenBSD: auth-krb5.c,v 1.19 2006/08/03 03:34:41 deraadt Exp $ */ |
2/* 3 * Kerberos v5 authentication and ticket-passing routines. 4 * 5 * $xFreeBSD: src/crypto/openssh/auth-krb5.c,v 1.6 2001/02/13 16:58:04 assar Exp$ 6 */ 7/* 8 * Copyright (c) 2002 Daniel Kouril. All rights reserved. 9 * --- 14 unchanged lines hidden (view full) --- 24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include "includes.h" |
32__RCSID("$FreeBSD: head/crypto/openssh/auth-krb5.c 162856 2006-09-30 13:38:06Z des $"); |
33 |
34#include <sys/types.h> 35#include <pwd.h> 36#include <stdarg.h> 37 38#include "xmalloc.h" |
39#include "ssh.h" 40#include "ssh1.h" 41#include "packet.h" |
42#include "log.h" |
43#include "buffer.h" |
44#include "servconf.h" 45#include "uidswap.h" |
46#include "key.h" 47#include "hostfile.h" |
48#include "auth.h" 49 50#ifdef KRB5 |
51#include <errno.h> 52#include <unistd.h> 53#include <string.h> |
54#include <krb5.h> 55 56extern ServerOptions options; 57 58static int 59krb5_init(void *context) 60{ 61 Authctxt *authctxt = (Authctxt *)context; --- 189 unchanged lines hidden --- |