git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s3:registry: move the reg_api prototypes to their own header.
[kai/samba.git]
/
libgpo
/
gpo_util.c
diff --git
a/libgpo/gpo_util.c
b/libgpo/gpo_util.c
index ef16329504ec85c28fa4221a39283494a25eefd0..3320d97b2123ad1cc989f51c90416ba98284e334 100644
(file)
--- a/
libgpo/gpo_util.c
+++ b/
libgpo/gpo_util.c
@@
-19,11
+19,12
@@
#define TALLOC_DEPRECATED 1
#include "includes.h"
#include "librpc/gen_ndr/ndr_misc.h"
#define TALLOC_DEPRECATED 1
#include "includes.h"
#include "librpc/gen_ndr/ndr_misc.h"
+#include "../librpc/gen_ndr/ndr_security.h"
#include "../libgpo/gpo.h"
#if _SAMBA_BUILD_ == 4
#include "system/filesys.h"
#include "auth/auth.h"
#include "../libgpo/gpo.h"
#if _SAMBA_BUILD_ == 4
#include "system/filesys.h"
#include "auth/auth.h"
-#include
"../lib/talloc/talloc.h"
+#include
<talloc.h>
#include "source4/libgpo/ads_convenience.h"
#endif
#undef strdup
#include "source4/libgpo/ads_convenience.h"
#endif
#undef strdup
@@
-447,7
+448,7
@@
static bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx,
ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
- const
NT_USER_TOKEN
*token,
+ const
struct security_token
*token,
struct registry_key *root_key,
struct GROUP_POLICY_OBJECT *gpo,
const char *extension_guid_filter,
struct registry_key *root_key,
struct GROUP_POLICY_OBJECT *gpo,
const char *extension_guid_filter,
@@
-504,7
+505,7
@@
ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
static ADS_STATUS gpo_process_gpo_list_by_ext(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
static ADS_STATUS gpo_process_gpo_list_by_ext(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
- const
NT_USER_TOKEN
*token,
+ const
struct security_token
*token,
struct registry_key *root_key,
struct GROUP_POLICY_OBJECT *gpo_list,
const char *extensions_guid,
struct registry_key *root_key,
struct GROUP_POLICY_OBJECT *gpo_list,
const char *extensions_guid,
@@
-542,7
+543,7
@@
static ADS_STATUS gpo_process_gpo_list_by_ext(ADS_STRUCT *ads,
ADS_STATUS gpo_process_gpo_list(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
ADS_STATUS gpo_process_gpo_list(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
- const
NT_USER_TOKEN
*token,
+ const
struct security_token
*token,
struct GROUP_POLICY_OBJECT *gpo_list,
const char *extensions_guid_filter,
uint32_t flags)
struct GROUP_POLICY_OBJECT *gpo_list,
const char *extensions_guid_filter,
uint32_t flags)
@@
-839,9
+840,9
@@
ADS_STATUS gp_get_machine_token(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
struct loadparm_context *lp_ctx,
const char *dn,
TALLOC_CTX *mem_ctx,
struct loadparm_context *lp_ctx,
const char *dn,
-
NT_USER_TOKEN
**token)
+
struct security_token
**token)
{
{
-
NT_USER_TOKEN
*ad_token = NULL;
+
struct security_token
*ad_token = NULL;
ADS_STATUS status;
#if _SAMBA_BUILD_ == 4
struct auth_session_info *info;
ADS_STATUS status;
#if _SAMBA_BUILD_ == 4
struct auth_session_info *info;