Deleted Added
full compact
auth-krb5.c (157019) auth-krb5.c (162856)
1/* $OpenBSD: auth-krb5.c,v 1.19 2006/08/03 03:34:41 deraadt Exp $ */
1/*
2 * Kerberos v5 authentication and ticket-passing routines.
3 *
4 * $xFreeBSD: src/crypto/openssh/auth-krb5.c,v 1.6 2001/02/13 16:58:04 assar Exp$
5 */
6/*
7 * Copyright (c) 2002 Daniel Kouril. All rights reserved.
8 *

--- 14 unchanged lines hidden (view full) ---

23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#include "includes.h"
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"
31RCSID("$OpenBSD: auth-krb5.c,v 1.16 2005/11/21 09:42:10 dtucker Exp $");
32RCSID("$FreeBSD: head/crypto/openssh/auth-krb5.c 157019 2006-03-22 20:41:37Z des $");
32__RCSID("$FreeBSD: head/crypto/openssh/auth-krb5.c 162856 2006-09-30 13:38:06Z des $");
33
33
34#include <sys/types.h>
35#include <pwd.h>
36#include <stdarg.h>
37
38#include "xmalloc.h"
34#include "ssh.h"
35#include "ssh1.h"
36#include "packet.h"
39#include "ssh.h"
40#include "ssh1.h"
41#include "packet.h"
37#include "xmalloc.h"
38#include "log.h"
42#include "log.h"
43#include "buffer.h"
39#include "servconf.h"
40#include "uidswap.h"
44#include "servconf.h"
45#include "uidswap.h"
46#include "key.h"
47#include "hostfile.h"
41#include "auth.h"
42
43#ifdef KRB5
48#include "auth.h"
49
50#ifdef KRB5
51#include <errno.h>
52#include <unistd.h>
53#include <string.h>
44#include <krb5.h>
45
46extern ServerOptions options;
47
48static int
49krb5_init(void *context)
50{
51 Authctxt *authctxt = (Authctxt *)context;

--- 189 unchanged lines hidden ---
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 ---