Changeset 745 for trunk/server/source4/dsdb/samdb/samdb.h
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source4/dsdb/samdb/samdb.h
r414 r745 31 31 32 32 #include "librpc/gen_ndr/security.h" 33 #include "lib/ldb/include/ldb.h"33 #include <ldb.h> 34 34 #include "lib/ldb-samba/ldif_handlers.h" 35 35 #include "librpc/gen_ndr/samr.h" … … 38 38 #include "dsdb/schema/schema.h" 39 39 #include "dsdb/samdb/samdb_proto.h" 40 #include "dsdb/common/dsdb_dn.h" 40 41 #include "dsdb/common/proto.h" 41 42 #include "../libds/common/flags.h" … … 60 61 * much like LDB_CONTROL_EXTENDED_DN_OID when the DB stores an 61 62 * 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 66 struct 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 85 struct 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" 62 105 63 106 #define DSDB_EXTENDED_REPLICATED_OBJECTS_OID "1.3.6.1.4.1.7165.4.4.1" … … 99 142 }; 100 143 144 #define DSDB_EXTENDED_CREATE_PARTITION_OID "1.3.6.1.4.1.7165.4.4.4" 145 struct dsdb_create_partition_exop { 146 struct ldb_dn *new_dn; 147 }; 148 101 149 /* 102 150 * the schema_dn is passed as struct ldb_dn in … … 127 175 }; 128 176 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" 181 struct 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 190 struct dsdb_fsmo_extended_op { 191 uint64_t fsmo_info; 192 struct GUID destination_dsa_guid; 193 }; 194 129 195 #endif /* __SAMDB_H__ */
Note:
See TracChangeset
for help on using the changeset viewer.