Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/include/smb_krb5.h

    r414 r745  
     1/*
     2   Unix SMB/CIFS implementation.
     3   simple kerberos5 routines for active directory
     4   Copyright (C) Andrew Tridgell 2001
     5   Copyright (C) Luke Howard 2002-2003
     6   Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005
     7   Copyright (C) Guenther Deschner 2005-2009
     8
     9   This program is free software; you can redistribute it and/or modify
     10   it under the terms of the GNU General Public License as published by
     11   the Free Software Foundation; either version 3 of the License, or
     12   (at your option) any later version.
     13
     14   This program is distributed in the hope that it will be useful,
     15   but WITHOUT ANY WARRANTY; without even the implied warranty of
     16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     17   GNU General Public License for more details.
     18
     19   You should have received a copy of the GNU General Public License
     20   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     21*/
     22
    123#ifndef _HEADER_smb_krb5_h
    224#define _HEADER_smb_krb5_h
     
    1537#endif
    1638
     39#if HAVE_GSSAPI_GSSAPI_H
     40#include <gssapi/gssapi.h>
     41#elif HAVE_GSSAPI_GSSAPI_GENERIC_H
     42#include <gssapi/gssapi_generic.h>
     43#elif HAVE_GSSAPI_H
     44#include <gssapi.h>
     45#endif
     46
     47#if HAVE_COM_ERR_H
     48#include <com_err.h>
     49#endif
     50
    1751#ifndef KRB5_ADDR_NETBIOS
    1852#define KRB5_ADDR_NETBIOS 0x14
     
    2458
    2559/* Heimdal uses a slightly different name */
    26 #if defined(HAVE_ENCTYPE_ARCFOUR_HMAC_MD5)
     60#if defined(HAVE_ENCTYPE_ARCFOUR_HMAC_MD5) && !defined(HAVE_ENCTYPE_ARCFOUR_HMAC)
    2761#define ENCTYPE_ARCFOUR_HMAC ENCTYPE_ARCFOUR_HMAC_MD5
    2862#endif
Note: See TracChangeset for help on using the changeset viewer.