Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/libgpo/gpo_util.c

    r414 r745  
    1919#define TALLOC_DEPRECATED 1
    2020#include "includes.h"
     21#include "system/filesys.h"
    2122#include "librpc/gen_ndr/ndr_misc.h"
     23#include "../librpc/gen_ndr/ndr_security.h"
     24#include "../libgpo/gpo.h"
     25#include "../libcli/security/security.h"
    2226#if _SAMBA_BUILD_ == 4
    23 #include "system/filesys.h"
    2427#include "auth/auth.h"
    25 #include "../libgpo/gpo.h"
    26 #include "../lib/talloc/talloc.h"
     28#include <talloc.h>
    2729#include "source4/libgpo/ads_convenience.h"
    2830#endif
     
    322324                dump_gp_ext(gp_ext, lvl);
    323325        }
    324 
    325         DEBUGADD(lvl,("security descriptor:\n"));
    326 
    327         NDR_PRINT_DEBUG(security_descriptor, gpo->security_descriptor);
     326        if (gpo->security_descriptor) {
     327                DEBUGADD(lvl,("security descriptor:\n"));
     328
     329                NDR_PRINT_DEBUG(security_descriptor, gpo->security_descriptor);
     330        }
    328331}
    329332
     
    447450ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads,
    448451                             TALLOC_CTX *mem_ctx,
    449                              const NT_USER_TOKEN *token,
     452                             const struct security_token *token,
    450453                             struct registry_key *root_key,
    451454                             struct GROUP_POLICY_OBJECT *gpo,
     
    504507static ADS_STATUS gpo_process_gpo_list_by_ext(ADS_STRUCT *ads,
    505508                                              TALLOC_CTX *mem_ctx,
    506                                               const NT_USER_TOKEN *token,
     509                                              const struct security_token *token,
    507510                                              struct registry_key *root_key,
    508511                                              struct GROUP_POLICY_OBJECT *gpo_list,
     
    542545ADS_STATUS gpo_process_gpo_list(ADS_STRUCT *ads,
    543546                                TALLOC_CTX *mem_ctx,
    544                                 const NT_USER_TOKEN *token,
     547                                const struct security_token *token,
    545548                                struct GROUP_POLICY_OBJECT *gpo_list,
    546549                                const char *extensions_guid_filter,
     
    839842                                struct loadparm_context *lp_ctx,
    840843                                const char *dn,
    841                                 NT_USER_TOKEN **token)
    842 {
    843         NT_USER_TOKEN *ad_token = NULL;
     844                                struct security_token **token)
     845{
     846        struct security_token *ad_token = NULL;
    844847        ADS_STATUS status;
    845848#if _SAMBA_BUILD_ == 4
Note: See TracChangeset for help on using the changeset viewer.