r5309: removed ads.h from includes.h
authorAndrew Tridgell <tridge@samba.org>
Thu, 10 Feb 2005 07:43:39 +0000 (07:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:40 +0000 (13:09 -0500)
(This used to be commit 196c45b834c39f293b9533cec5cfe5a77382d4e2)

source4/dsdb/common/flag_mapping.c
source4/include/ads.h
source4/include/includes.h
source4/include/structs.h
source4/libcli/auth/kerberos.c
source4/ntvfs/common/sidmap.c
source4/rpc_server/samr/dcesrv_samr.c
source4/rpc_server/samr/samr_password.c

index 8fdded98f5fd2ba09c7d793b6d84f9897c04c0fd..eab0d678257cac2f638ed27aa772f28ddf56e0f3 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_samr.h"
+#include "ads.h"
 
 /* 
 translated the ACB_CTRL Flags to UserFlags (userAccountControl) 
index cdaccbab14adb3052e71b2e24207b2488c5be78f..43d9a1477738a6b99096b379d8004e846639bd01 100644 (file)
@@ -20,7 +20,7 @@
    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 */
index 32a1946e51f77593631a739d1a9672dd458c4da6..2e04e365ebe1ac291fa958296789b4b526edbad2 100644 (file)
@@ -132,7 +132,6 @@ extern int errno;
 #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)
index bccbe36efb8b0e5a9093aeb4a9f5737b44703789..61c1f4211c46b5aaeb385c2eeab1167c4b8b45c1 100644 (file)
@@ -175,3 +175,5 @@ struct nbtd_server;
 struct nbtd_interface;
 
 struct mutex_ops;
+
+struct ads_struct;
index 4bf9e626cebd0a831e024dbe03432752fdb9854e..2e5a53bb00dd80afbb82bcb86c57de1cecb5c7b0 100644 (file)
@@ -27,6 +27,7 @@
 #include "system/time.h"
 #include "secrets.h"
 #include "pstring.h"
+#include "ads.h"
 
 #ifdef HAVE_KRB5
 
@@ -149,7 +150,7 @@ int kerberos_kinit_password(const char *principal,
 }
 
 /* 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;
index 8e040d5081828182e469c82b8d8650d0b008dd01..2a530c4a6b18bbae93e9c106669629d111dc1628 100644 (file)
@@ -24,6 +24,7 @@
 #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
index f9752678ad454112f947468f7fb5d80b020e29e3..d498d951d55403dba6656c043f5f0d1c53b7aac5 100644 (file)
@@ -29,6 +29,7 @@
 #include "rpc_server/samr/dcesrv_samr.h"
 #include "system/time.h"
 #include "lib/ldb/include/ldb.h"
+#include "ads.h"
 
 
 /*
index ae20de16233438a487c4bfac9dc87a3afb1d7f2d..a1c61f03ec09a905ed8c5b89fc4979b40df6baf2 100644 (file)
@@ -28,6 +28,7 @@
 #include "system/time.h"
 #include "lib/crypto/crypto.h"
 #include "lib/ldb/include/ldb.h"
+#include "ads.h"
 
 /* 
   samr_ChangePasswordUser