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/source4/dsdb/samdb/samdb.h

    r414 r745  
    3131
    3232#include "librpc/gen_ndr/security.h"
    33 #include "lib/ldb/include/ldb.h"
     33#include <ldb.h>
    3434#include "lib/ldb-samba/ldif_handlers.h"
    3535#include "librpc/gen_ndr/samr.h"
     
    3838#include "dsdb/schema/schema.h"
    3939#include "dsdb/samdb/samdb_proto.h"
     40#include "dsdb/common/dsdb_dn.h"
    4041#include "dsdb/common/proto.h"
    4142#include "../libds/common/flags.h"
     
    6061 * much like LDB_CONTROL_EXTENDED_DN_OID when the DB stores an
    6162 * extended DN, and otherwise returns normal DNs */
     63
     64#define DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID "1.3.6.1.4.1.7165.4.3.8"
     65
     66struct dsdb_control_password_change_status {
     67        struct {
     68                uint32_t pwdProperties;
     69                uint32_t pwdHistoryLength;
     70                int64_t maxPwdAge;
     71                int64_t minPwdAge;
     72                uint32_t minPwdLength;
     73                bool store_cleartext;
     74                const char *netbios_domain;
     75                const char *dns_domain;
     76                const char *realm;
     77        } domain_data;
     78        enum samPwdChangeReason reject_reason;
     79};
     80
     81#define DSDB_CONTROL_PASSWORD_HASH_VALUES_OID "1.3.6.1.4.1.7165.4.3.9"
     82
     83#define DSDB_CONTROL_PASSWORD_CHANGE_OID "1.3.6.1.4.1.7165.4.3.10"
     84
     85struct dsdb_control_password_change {
     86        const struct samr_Password *old_nt_pwd_hash;
     87        const struct samr_Password *old_lm_pwd_hash;
     88};
     89
     90/**
     91   DSDB_CONTROL_APPLY_LINKS is internal to Samba4 - a token passed between repl_meta_data and linked_attributes modules
     92*/
     93#define DSDB_CONTROL_APPLY_LINKS "1.3.6.1.4.1.7165.4.3.11"
     94
     95/*
     96 * this should only be used for importing users from Samba3
     97 */
     98#define DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID "1.3.6.1.4.1.7165.4.3.12"
     99
     100/**
     101  OID used to allow the replacement of replPropertyMetaData.
     102  It is used when the current replmetadata needs to be edited.
     103*/
     104#define DSDB_CONTROL_CHANGEREPLMETADATA_OID "1.3.6.1.4.1.7165.4.3.14"
    62105
    63106#define DSDB_EXTENDED_REPLICATED_OBJECTS_OID "1.3.6.1.4.1.7165.4.4.1"
     
    99142};
    100143
     144#define DSDB_EXTENDED_CREATE_PARTITION_OID "1.3.6.1.4.1.7165.4.4.4"
     145struct dsdb_create_partition_exop {
     146        struct ldb_dn *new_dn;
     147};
     148
    101149/*
    102150 * the schema_dn is passed as struct ldb_dn in
     
    127175};
    128176
     177#define DSDB_PARTITION_DN "@PARTITION"
     178#define DSDB_PARTITION_ATTR "partition"
     179
     180#define DSDB_EXTENDED_DN_STORE_FORMAT_OPAQUE_NAME "dsdb_extended_dn_store_format"
     181struct dsdb_extended_dn_store_format {
     182        bool store_extended_dn_in_ldb;
     183};
     184
     185#define DSDB_OPAQUE_PARTITION_MODULE_MSG_OPAQUE_NAME "DSDB_OPAQUE_PARTITION_MODULE_MSG"
     186
     187/* this takes a struct dsdb_fsmo_extended_op */
     188#define DSDB_EXTENDED_ALLOCATE_RID_POOL "1.3.6.1.4.1.7165.4.4.5"
     189
     190struct dsdb_fsmo_extended_op {
     191        uint64_t fsmo_info;
     192        struct GUID destination_dsa_guid;
     193};
     194
    129195#endif /* __SAMDB_H__ */
Note: See TracChangeset for help on using the changeset viewer.