summaryrefslogtreecommitdiff
path: root/source4/dsdb
AgeCommit message (Collapse)AuthorFilesLines
2010-01-13s4:dsdb/schema: add dsdb_syntax_DN_STRING_* wrappersStefan Metzmacher1-2/+30
metze
2010-01-13s4:dsdb/resolve_oids: also resolve oid in search attribute listStefan Metzmacher1-4/+55
metze
2010-01-13s4:dsdb/schema_load: add a TODO about schema reloadingStefan Metzmacher1-1/+11
metze
2010-01-13s4:dsdb/repl: reorder dreplsrv_op_notify* functionsStefan Metzmacher1-53/+50
This make the whole async dreplsrv_op_notify_send/recv() readable. metze
2010-01-13s4:dsdb/repl: change dreplsrv_op_notify_send/recv() to tevent_reqStefan Metzmacher2-70/+74
metze
2010-01-13s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation.Stefan Metzmacher1-2/+2
In lsa_BinaryString length and size are byte counts! TODO: we may need to do byte order conversion in this functions too... metze
2010-01-13s4:dsdb/common: let samdb_msg_add_uint() call samdb_msg_add_int()Stefan Metzmacher1-2/+1
This is important as LDAP servers always play with int32 values and we have to encode 0x80000000 as "-2147483648" instead of "2147483648". metze
2010-01-13s4:dsdb/common: let samdb_msg_add_uint64() call samdb_msg_add_int64()Stefan Metzmacher1-2/+1
This is important as LDAP servers always play with int64 values and we have to encode 0x8000000000000000LL as "-9223372036854775808" instead of "9223372036854775808". metze
2010-01-10s4:repl_meta_data - Transform a "1" into a "true" on a boolean variableMatthias Dieter Wallnöfer1-1/+1
2010-01-10s4-dsdb: added samdb_domain_sid_cache_only()Andrew Tridgell1-1/+8
2010-01-09s4-drs: instanceType is always sent, regardless of UDV valuesAndrew Tridgell1-4/+6
2010-01-09s4-samldb: fixed primaryGroupID when promoting a machine to a DCAndrew Tridgell1-17/+30
The machine gets a primaryGroupID of DOMAIN_RID_DCS. This is done without changing the member attributes of its groups.
2010-01-09s4-drs: add a local UDV entry even when no replUpToDateVector present on NCAndrew Tridgell1-3/+3
This allows us to filter correctly for a NC that we have created but not pulled from anyone.
2010-01-09s4-drs: give DN of failed replication partitionAndrew Tridgell1-4/+5
2010-01-09s4-dsdb: added samdb_ldb_val_case_cmp()Andrew Tridgell1-0/+16
2010-01-09s4-drs: calculate and send a uptodateness_vector with replication requestsAndrew Tridgell2-7/+82
This stops us getting objects changes twice if they came via an indirect path.
2010-01-09s4-drs: added filtering by udv in getncchangesAndrew Tridgell1-0/+6
When a client supplied an uptodateness_vector, we can use it to filter what objects we return. This greatly reduces the amount of replication traffic between DCs.
2010-01-08s4-schema: added some debug for bad attributesAndrew Tridgell1-0/+8
2010-01-08s4-samba3samtest: we need to force netbios name as wellAndrew Tridgell1-0/+1
needed for when run in CLIENT context
2010-01-08s4-samba3sid: fixed error returns when res->count != 1 and oomAndrew Tridgell1-3/+3
2010-01-08s4-samba3samtest: force workgroup so the domain is rightAndrew Tridgell1-0/+1
the samba3sid backend looks at lp_sam_name() which is based on the workgroup
2010-01-08s4-samba3sid: the sambaNextRid attribute is actually the previous RIDAndrew Tridgell1-3/+6
Not well named .... though same mistake that MS made with rIDNextRid
2010-01-08s4-samba3sam: use samba3sid moduleAndrew Tridgell1-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-dsdb: added a samba3sid moduleAndrew Tridgell2-1/+208
This module allocates SIDs using the Samba3 algorithm, for use with the samba3sam module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-samba3samtest: use system credentials for creating usersAndrew Tridgell1-5/+6
2010-01-08s4-dsdb: fixed const misuse in acl moduleAndrew Tridgell1-4/+4
2010-01-08s4-dsdb: use dsdb_module_am_system() in acl moduleAndrew Tridgell1-19/+11
2010-01-08s4-dsdb: allow specification of a SID if we are systemAndrew Tridgell1-1/+2
needed for samba3sam test
2010-01-08s4-dsdb: added dsdb_module_am_system()Andrew Tridgell1-0/+9
better than each module inventing their own
2010-01-08s4-dsdb: squash some unknown structure warningsAndrew Tridgell1-1/+3
2010-01-08s4-partition: fixed selection of partitions on exact matchAndrew Tridgell1-3/+1
When a search is on the root of a partition on the global catalog, don't search partitions above that one.
2010-01-08s4:dsdb/repl: convert dreplsrv_op_pull_source_send/recv to tevent_reqStefan Metzmacher3-158/+199
metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-08s4-dsdb: poke the RID Manager when completely out of RIDs tooAndrew Tridgell1-38/+41
2010-01-08s4-dsdb: ensure we will in all the attributes for RID SetAndrew Tridgell1-16/+4
We need to go to the top of the module stack so that all the extra attributes get filled in
2010-01-08s4-dsdb: added DSDB_FLAG_TOP_MODULEAndrew Tridgell2-0/+9
This is used when you want the dsdb_module_*() functions to go to the top of the stack.
2010-01-08s4-dsdb: no longer need special invocationID handling for standalone serversAndrew Tridgell1-76/+1
They now work the same way as a DC
2010-01-08s4-schema: added generic attributeID conversion functionsAndrew Tridgell1-63/+117
When we get one we haven't seen before, we can work out the right type automatically in most cases. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-schema: added dsdb_attribute_by_lDAPDisplayName_ldb_valAndrew Tridgell1-0/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-schema: make ldb_val to string comparison safer with nul terminationAndrew Tridgell1-1/+8
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4/dsdb_schema: Load msDS-IntId value separately when loading from LDBKamen Mazdrashki1-0/+3
This way we have consistent behavior when loading from DRSUAPI and from LDB.
2010-01-08Revert "s4-schema: Set ATTID in schema cache from "msDS-IntId""Kamen Mazdrashki1-13/+8
This reverts commit 4e8ad284f5813413fdec8426f11e24570d22549b.
2010-01-08s4/schema: Do not assign msDS-IntId value if LDB_CONTROL_RELAX_OID is passedKamen Mazdrashki1-0/+5
This way msDS-IntId should not be assigned during provisioning, which is how Windows works
2010-01-08s4/dsdb_schema: use msDS-IntId value for attribute look-upKamen Mazdrashki1-0/+9
2010-01-08s4/dsdb_schema: fetch msDS-IntId value during SCHEMA replicationKamen Mazdrashki2-0/+5
2010-01-08s4/dsdb_schema: GET_UINT32_DS() macro to use supplied default value instead of 0Kamen Mazdrashki1-14/+14
2010-01-08s4-partition: don't ignore errors from other modulesAndrew Tridgell1-6/+2
if we get an error code from a lower module, we don't want to ignore it just because something also succeeded
2010-01-08s4-dsdb: improve error messages in schema and pdc_fsmo modulesAndrew Tridgell2-6/+6
We want to incorporate the error messages from the modules further down the stack.
2010-01-08s4-dsdb: added an extended operation for allocating a new RID poolAndrew Tridgell3-1/+129
This will be called by getncchanges when a client asks for a DRSUAPI_EXOP_FSMO_RID_ALLOC operation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-repl: implement MSG_DREPL_ALLOCATE_RIDAndrew Tridgell2-19/+48
When the repl server gets MSG_DREPL_ALLOCATE_RID it contacts the RID Manager to ask for another RID pool. We use a callback on completion of the operation to make sure that we don't have two RID allocation requests in flight at once Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-01-08s4-repl: allow for callbacks when a repl operation completesAndrew Tridgell3-4/+16
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>