#include "../lib/util/data_blob.h"
#include "../lib/util/time.h"
-#include "../lib/util/asn1.h"
#include "libads/ads_status.h"
#include "trans2.h"
const char *OIDs[],
DATA_BLOB *psecblob,
const char *principal);
+
+#ifndef ASN1_MAX_OIDS
+#define ASN1_MAX_OIDS 20
+#endif
bool spnego_parse_negTokenInit(TALLOC_CTX *ctx,
DATA_BLOB blob,
char *OIDs[ASN1_MAX_OIDS],
#include "includes.h"
#include "tldap.h"
+#include "../lib/util/asn1.h"
static int tldap_simple_recv(struct tevent_req *req);
#include "tldap.h"
#include "tldap_util.h"
#include "../libcli/security/security.h"
+#include "../lib/util/asn1.h"
bool tldap_entry_values(struct tldap_message *msg, const char *attribute,
DATA_BLOB **values, int *num_values)
#include "includes.h"
#include "smb_krb5.h"
#include "libads/kerberos_proto.h"
+#include "../lib/util/asn1.h"
#ifdef HAVE_KRB5
#include "includes.h"
#include "smb_krb5.h"
#include "../librpc/gen_ndr/krb5pac.h"
+#include "../lib/util/asn1.h"
#ifndef KRB5_AUTHDATA_WIN2K_PAC
#define KRB5_AUTHDATA_WIN2K_PAC 128
#include "includes.h"
#include "../libcli/auth/spnego.h"
#include "smb_krb5.h"
+#include "../lib/util/asn1.h"
/*
generate a negTokenInit packet given a list of supported
#include "../libcli/auth/ntlmssp.h"
#include "ntlmssp_wrap.h"
#include "smb_crypt.h"
+#include "../lib/util/asn1.h"
/******************************************************************************
Server side encryption.
#include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/krb5pac.h"
#include "libads/kerberos_proto.h"
+#include "../lib/util/asn1.h"
/* For split krb5 SPNEGO blobs. */
struct pending_auth_data {
#include "ntlmssp_wrap.h"
#include "../librpc/gen_ndr/krb5pac.h"
#include "libads/kerberos_proto.h"
+#include "../lib/util/asn1.h"
static NTSTATUS smbd_smb2_session_setup(struct smbd_smb2_request *smb2req,
uint64_t in_session_id,
#include "libads/kerberos_proto.h"
#include "nsswitch/winbind_client.h"
#include "librpc/gen_ndr/krb5pac.h"
+#include "../lib/util/asn1.h"
#ifndef PAM_WINBIND_CONFIG_FILE
#define PAM_WINBIND_CONFIG_FILE "/etc/security/pam_winbind.conf"