#include "includes.h"
#include "librpc/gen_ndr/ndr_samr.h"
+#include "ads.h"
/*
translated the ACB_CTRL Flags to UserFlags (userAccountControl)
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-typedef struct {
+typedef struct ads_struct {
void *ld; /* the active ldap structure */
struct ipv4_addr ldap_ip; /* the ip of the active connection, if any */
time_t last_attempt; /* last attempt to reconnect */
#include "smb_interfaces.h"
#include "ntvfs/ntvfs.h"
#include "cli_context.h"
-#include "ads.h"
#define malloc_p(type) (type *)malloc(sizeof(type))
#define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count)
struct nbtd_interface;
struct mutex_ops;
+
+struct ads_struct;
#include "system/time.h"
#include "secrets.h"
#include "pstring.h"
+#include "ads.h"
#ifdef HAVE_KRB5
}
/* run kinit to setup our ccache */
-int ads_kinit_password(ADS_STRUCT *ads)
+int ads_kinit_password(struct ads_struct *ads)
{
char *s;
int ret;
#include "system/filesys.h"
#include "system/passwd.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "ads.h"
/*
these are used for the fallback local uid/gid to sid mapping
#include "rpc_server/samr/dcesrv_samr.h"
#include "system/time.h"
#include "lib/ldb/include/ldb.h"
+#include "ads.h"
/*
#include "system/time.h"
#include "lib/crypto/crypto.h"
#include "lib/ldb/include/ldb.h"
+#include "ads.h"
/*
samr_ChangePasswordUser