1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r5309: removed ads.h from includes.h

(This used to be commit 196c45b834)
This commit is contained in:
Andrew Tridgell 2005-02-10 07:43:39 +00:00 committed by Gerald (Jerry) Carter
parent 75ddf59ea1
commit a0e6f6c05b
8 changed files with 9 additions and 3 deletions

View 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)

View 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 */

View 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)

View File

@ -175,3 +175,5 @@ struct nbtd_server;
struct nbtd_interface;
struct mutex_ops;
struct ads_struct;

View 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;

View 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

View 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"
/*

View 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