along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __CREDENTIALS_H__
+#define __CREDENTIALS_H__
struct ccache_container;
};
#include "auth/credentials/credentials_proto.h"
+
+#endif /* __CREDENTIALS_H__ */
#include "passdb/secrets.h"
#include "system/filesys.h"
#include "db_wrap.h"
+#include "auth/credentials/credentials.h"
/**
* Read a file descriptor, and parse it for a password (eg from a file or stdin)
#include "includes.h"
#include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */
#include "lib/crypto/crypto.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
void cli_credentials_get_ntlm_username_domain(struct cli_credentials *cred, TALLOC_CTX *mem_ctx,
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __GENSEC_H__
+#define __GENSEC_H__
+
#define GENSEC_OID_NTLMSSP "1 3 6 1 4 1 311 2 2 10"
#define GENSEC_OID_SPNEGO "1 3 6 1 5 5 2"
#define GENSEC_OID_KERBEROS5 "1 2 840 113554 1 2 2"
int sizeof_gensec_security;
};
+#include "auth/credentials/credentials.h"
#include "gensec_proto.h"
+
+#endif /* __GENSEC_H__ */
#if defined(HAVE_KRB5)
+#include "auth/credentials/credentials.h"
#include "auth/kerberos/krb5_init_context.h"
struct ccache_container {
#include "auth/kerberos/proto.h"
#endif /* HAVE_KRB5 */
-
#include "includes.h"
#include "lib/crypto/crypto.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
/****************************************************************************
- saner names for some of the .pc files
- .pc files also when there is a public header?
-- get rid of include/structs.h and include/proto.h
- - support including a custom header by librpc/gen_ndr/*.c files
- - if a ndr_.*_man.h file exists, include it.
- plugin loading support in ldb
- proper #include dependencies:
for each subsystem:
- include line in Makefile
- rule in Makefile
+- improve include paths and how they are handled
- install autogenerated headers (seperate directory)
- subdir handler for install headers into a specific directory
#include "ldb/include/ldb_private.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/gen_ndr/ndr_samr.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include "ldb/include/ldb.h"
#include "ldb/include/ldb_errors.h"
#include "ldb/include/ldb_private.h"
+#include "auth/credentials/credentials.h"
struct proxy_data {
struct ldb_context *upstream;
#include "includes.h"
#include "gtk/common/gtk-smb.h"
+#include "auth/credentials/credentials.h"
static void gtk_get_credentials(struct cli_credentials *credentials)
{
#include "lib/registry/registry.h"
#include "lib/registry/reg_backend_rpc.h"
#include "gtk/common/gtk-smb.h"
+#include "auth/credentials/credentials.h"
static GtkTreeStore *store_keys;
static GtkListStore *store_vals;
#include "includes.h"
#include "librpc/gen_ndr/ndr_atsvc.h"
#include "gtk/common/gtk-smb.h"
+#include "auth/credentials/credentials.h"
static struct dcerpc_pipe *at_pipe = NULL;
static GtkWidget *mainwin;
#include "librpc/gen_ndr/ndr_samr.h"
#include "gtk/common/select.h"
#include "gtk/common/gtk-smb.h"
+#include "auth/credentials/credentials.h"
struct policy_handle sam_handle;
struct dcerpc_pipe *sam_pipe = NULL;
#include "libcli/util/nterr.h"
#include "libcli/util/doserr.h"
#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/dcerpc.h"
#include "librpc/ndr/ndr_orpc.h"
-#include "librpc/gen_ndr/orpc.h"
#include "librpc/rpc/dcerpc.h"
-#include "auth/credentials/credentials.h"
#include "libcli/nbt/libnbt.h"
#include "libcli/util/proto.h"
#include "includes.h"
#include "system/filesys.h"
+#include "auth/credentials/credentials.h"
static const char *cmdline_get_userpassword(struct cli_credentials *credentials)
{
#include "system/filesys.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "lib/tdb/include/tdbutil.h"
+#include "auth/credentials/credentials.h"
/**
* Unpack SID into a pointer
#include "auth/ntlmssp/ntlmssp.h"
#include "auth/ntlmssp/msrpc_parse.h"
#include "lib/crypto/crypto.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
#include "pstring.h"
#include "includes.h"
#include "libcli/libcli.h"
#include "libcli/raw/libcliraw.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
#include "libcli/smb_composite/smb_composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "lib/events/events.h"
#include "libcli/resolve/resolve.h"
+#include "auth/credentials/credentials.h"
/* the stages of this call */
enum connect_stage {CONNECT_RESOLVE,
#include "libcli/raw/libcliraw.h"
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
#include "auth/auth.h"
#include "version.h"
#include "dsdb/samdb/samdb.h"
#include "db_wrap.h"
#include "libcli/security/proto.h"
+#include "auth/credentials/credentials.h"
/*
* complete a domain join, when joining to a AD domain:
#include "smb.h"
#include "libnet/libnet.h"
#include "lib/crypto/crypto.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
/*
#include "includes.h"
#include "libnet/libnet.h"
#include "system/kerberos.h"
+#include "auth/credentials/credentials.h"
static NTSTATUS samdump_keytab_handle_user(TALLOC_CTX *mem_ctx,
const char *keytab_name,
#include "includes.h"
#include "libnet/libnet.h"
+#include "auth/credentials/credentials.h"
#include "auth/gensec/schannel_proto.h"
#include "libcli/auth/proto.h"
#include "libcli/smb_composite/smb_composite.h"
#include "libcli/smb2/smb2.h"
#include "libcli/smb2/smb2_calls.h"
+#include "auth/credentials/credentials.h"
struct dcerpc_pipe_connect;
#include "librpc/gen_ndr/ndr_epmapper.h"
#include "librpc/gen_ndr/ndr_dcerpc.h"
#include "librpc/gen_ndr/ndr_misc.h"
+#include "auth/credentials/credentials.h"
/*
find a dcerpc call on an interface by name
#include "scripting/ejs/ejsnet.h"
#include "libnet/libnet.h"
#include "events/events.h"
+#include "auth/credentials/credentials.h"
static int ejs_net_userman(MprVarHandle, int, struct MprVar**);
static int ejs_net_createuser(MprVarHandle, int, char**);
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "libcli/libcli.h"
+#include "auth/credentials/credentials.h"
#if 0
#include "scripting/ejs/smbcalls.h"
#include "lib/appweb/ejs/ejs.h"
#include "lib/cmdline/popt_common.h"
+#include "auth/credentials/credentials.h"
/*
helper function to get the local objects credentials ptr
#include "dlinklist.h"
#include "lib/events/events.h"
#include "librpc/rpc/dcerpc_table.h"
+#include "auth/credentials/credentials.h"
/*
state of a irpc 'connection'
#include "libcli/libcli.h"
#include "system/time.h"
#include "libcli/smb_composite/smb_composite.h"
+#include "auth/credentials/credentials.h"
static BOOL try_failed_login(struct smbcli_state *cli)
{
#include "librpc/gen_ndr/ndr_samr.h"
#include "lib/socket/socket.h"
#include "lib/events/events.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/proto.h"
#include "libcli/resolve/resolve.h"
#include "system/network.h"
#include "lib/cmdline/popt_common.h"
#include "lib/events/events.h"
#include "libcli/libcli.h"
+#include "auth/credentials/credentials.h"
#define BASEDIR "\\rawcontext"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_dssetup.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/proto.h"
BOOL torture_rpc_alter_context(void)
#include "includes.h"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/drsuapi.h"
#include "torture/rpc/proto.h"
#include "includes.h"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/drsuapi.h"
#include "torture/rpc/proto.h"
#include "ldb/include/ldb.h"
#include "includes.h"
#include "libnet/libnet.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/proto.h"
#define TORTURE_NETBIOS_NAME "smbtorturejoin"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "lib/events/events.h"
#include "libcli/security/proto.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
static void init_lsa_String(struct lsa_String *name, const char *s)
#include "librpc/gen_ndr/ndr_samr.h"
#include "smb.h"
#include "lib/crypto/crypto.h"
+#include "auth/credentials/credentials.h"
#include "libcli/auth/proto.h"
#include "libcli/security/proto.h"
#include "includes.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/proto.h"
#include "lib/cmdline/popt_common.h"
#include "auth/gensec/schannel_proto.h"
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_lsa.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/proto.h"
#include "libcli/auth/proto.h"
#include "smb.h"
#include "lib/ldb/include/ldb.h"
+#include "auth/credentials/credentials.h"
#include "torture/rpc/proto.h"
#include "libcli/security/proto.h"
#include "libcli/auth/proto.h"
#include "librpc/rpc/dcerpc_table.h"
#include "lib/events/events.h"
#include "libcli/resolve/resolve.h"
+#include "auth/credentials/credentials.h"
#include "torture/basic/proto.h"
#include "torture/raw/proto.h"
#include "utils/net/net.h"
#include "libnet/libnet.h"
#include "system/filesys.h"
+#include "auth/credentials/credentials.h"
/*
* Code for Changing and setting a password
#include "includes.h"
#include "utils/net/net.h"
#include "libnet/libnet.h"
+#include "auth/credentials/credentials.h"
static int net_user_add(struct net_context *ctx, int argc, const char **argv)
{
#include "libcli/auth/credentials.h"
#include "libcli/security/proto.h"
#include "libcli/auth/proto.h"
+#include "auth/credentials/credentials.h"
#include "winbind/wb_helper.h"
#include "libcli/ldap/ldap_client.h"
+#include "auth/credentials/credentials.h"
/*
* Initialize a domain:
#include "smbd/service_task.h"
#include "libcli/auth/credentials.h"
#include "libcli/auth/proto.h"
+#include "auth/credentials/credentials.h"
/* Oh, there is so much to keep an eye on when authenticating a user. Oh my! */
struct pam_auth_crap_state {