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:
parent
75ddf59ea1
commit
a0e6f6c05b
@ -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)
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
|
@ -175,3 +175,5 @@ struct nbtd_server;
|
||||
struct nbtd_interface;
|
||||
|
||||
struct mutex_ops;
|
||||
|
||||
struct ads_struct;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "rpc_server/samr/dcesrv_samr.h"
|
||||
#include "system/time.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
#include "ads.h"
|
||||
|
||||
|
||||
/*
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "system/time.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
#include "ads.h"
|
||||
|
||||
/*
|
||||
samr_ChangePasswordUser
|
||||
|
Loading…
Reference in New Issue
Block a user