summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-schema: added some debug for bad attributesAndrew Tridgell2010-01-081-0/+8
|
* s4-provision: added W2K8-R2 schema as provided by WSPPAndrew Tridgell2010-01-082-0/+19529
|
* s4-samba3samtest: we need to force netbios name as wellAndrew Tridgell2010-01-081-0/+1
| | | | needed for when run in CLIENT context
* s4-samba3sid: fixed error returns when res->count != 1 and oomAndrew Tridgell2010-01-081-3/+3
|
* s4-samba3samtest: force workgroup so the domain is rightAndrew Tridgell2010-01-081-0/+1
| | | | | the samba3sid backend looks at lp_sam_name() which is based on the workgroup
* s4-samba3sid: the sambaNextRid attribute is actually the previous RIDAndrew Tridgell2010-01-081-3/+6
| | | | Not well named .... though same mistake that MS made with rIDNextRid
* s4-samba3sam: use samba3sid moduleAndrew Tridgell2010-01-081-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added a samba3sid moduleAndrew Tridgell2010-01-082-1/+208
| | | | | | | This module allocates SIDs using the Samba3 algorithm, for use with the samba3sam module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-acl: fixed acl.py test to use correct ldifAndrew Tridgell2010-01-081-1/+2
| | | | same problem as sec_descriptor.py
* s4-secdesc: fixed the sec_descriptor.py testAndrew Tridgell2010-01-081-42/+74
| | | | | | | | | | The test was using a "changetype: add" to try and add a member to a group, where it should use a "changetype: modify" with a "add: member" Also fixed the recovery when the test fails part way through (delete the test users at the start as well as the end) Nadya, please check!
* s4-samba3samtest: use system credentials for creating usersAndrew Tridgell2010-01-081-5/+6
|
* s4-dsdb: fixed const misuse in acl moduleAndrew Tridgell2010-01-081-4/+4
|
* s4-dsdb: use dsdb_module_am_system() in acl moduleAndrew Tridgell2010-01-081-19/+11
|
* s4-dsdb: allow specification of a SID if we are systemAndrew Tridgell2010-01-081-1/+2
| | | | needed for samba3sam test
* s4-dsdb: added dsdb_module_am_system()Andrew Tridgell2010-01-081-0/+9
| | | | better than each module inventing their own
* s4-dsdb: squash some unknown structure warningsAndrew Tridgell2010-01-081-1/+3
|
* s4-partition: fixed selection of partitions on exact matchAndrew Tridgell2010-01-081-3/+1
| | | | | When a search is on the root of a partition on the global catalog, don't search partitions above that one.
* s4-scripting: we need to use a base search for the NTDS GUIDAndrew Tridgell2010-01-081-1/+1
| | | | now we have nTDSConnections structures we can get more than 1 reply
* s4:dsdb/repl: convert dreplsrv_op_pull_source_send/recv to tevent_reqStefan Metzmacher2010-01-083-158/+199
| | | | | | metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-smbd: setup the default event contexts for other process modelsAndrew Tridgell2010-01-082-1/+13
|
* s4-drs: we need to wrap extended operations in transactionsAndrew Tridgell2010-01-081-5/+21
|
* s4-dsdb: poke the RID Manager when completely out of RIDs tooAndrew Tridgell2010-01-081-38/+41
|
* s4-dsdb: ensure we will in all the attributes for RID SetAndrew Tridgell2010-01-081-16/+4
| | | | | We need to go to the top of the module stack so that all the extra attributes get filled in
* s4-dsdb: added DSDB_FLAG_TOP_MODULEAndrew Tridgell2010-01-082-0/+9
| | | | | This is used when you want the dsdb_module_*() functions to go to the top of the stack.
* s4-dsdb: no longer need special invocationID handling for standalone serversAndrew Tridgell2010-01-081-76/+1
| | | | They now work the same way as a DC
* s4-provision: do a self join for all server typesAndrew Tridgell2010-01-081-22/+17
| | | | | | We need a machine account so the RID allocation code can work. It seems better to use the same code paths for a domain controller and standalone server to avoid testing headaches with little used code.
* s4-schema: added generic attributeID conversion functionsAndrew Tridgell2010-01-081-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>
* s4-schema: added dsdb_attribute_by_lDAPDisplayName_ldb_valAndrew Tridgell2010-01-081-0/+12
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-schema: make ldb_val to string comparison safer with nul terminationAndrew Tridgell2010-01-081-1/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-idl: regenerate DRS IDLAndrew Tridgell2010-01-082-0/+9
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-idl: added some more wellknown attributeIDsAndrew Tridgell2010-01-081-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4/dsdb_schema: Load msDS-IntId value separately when loading from LDBKamen Mazdrashki2010-01-081-0/+3
| | | | | This way we have consistent behavior when loading from DRSUAPI and from LDB.
* Revert "s4-schema: Set ATTID in schema cache from "msDS-IntId""Kamen Mazdrashki2010-01-081-13/+8
| | | | This reverts commit 4e8ad284f5813413fdec8426f11e24570d22549b.
* s4/schema: Do not assign msDS-IntId value if LDB_CONTROL_RELAX_OID is passedKamen Mazdrashki2010-01-081-0/+5
| | | | | This way msDS-IntId should not be assigned during provisioning, which is how Windows works
* s4-libnet: better error messages in libnet_vampire.cAndrew Tridgell2010-01-081-2/+2
|
* s4/dsdb_schema: use msDS-IntId value for attribute look-upKamen Mazdrashki2010-01-081-0/+9
|
* s4/dsdb_schema: fetch msDS-IntId value during SCHEMA replicationKamen Mazdrashki2010-01-082-0/+5
|
* s4/dsdb_schema: GET_UINT32_DS() macro to use supplied default value instead of 0Kamen Mazdrashki2010-01-081-14/+14
|
* s4-partition: don't ignore errors from other modulesAndrew Tridgell2010-01-081-6/+2
| | | | | if we get an error code from a lower module, we don't want to ignore it just because something also succeeded
* s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystemsAndrew Tridgell2010-01-081-0/+13
| | | | | this makes building and testing s4 as a developer much faster, if you have enough memory!
* s4-provision: re-open sam.ldb after creating the schemaAndrew Tridgell2010-01-081-0/+9
| | | | | | This enables the full schema during the rest of the provision, which means indexing is enabled (along with index error checking, such as duplicate SIDs)
* s4-provision: RID 1000 is consumed by the machine accountAndrew Tridgell2010-01-081-1/+1
|
* s4-ldb: improve error handling in indexing codeAndrew Tridgell2010-01-082-5/+34
| | | | When we get an indexing failure we want a clear error message
* s4-dsdb: improve error messages in schema and pdc_fsmo modulesAndrew Tridgell2010-01-082-6/+6
| | | | | We want to incorporate the error messages from the modules further down the stack.
* s4-drs: added some debug messagesAndrew Tridgell2010-01-081-0/+6
| | | | It is nice to see when a RID Alloc is successful
* s4-event: added s4_event_context_set_default()Andrew Tridgell2010-01-083-1/+18
| | | | we're still not weaned off event_context_find()
* s4-dsdb: added support for DRSUAPI_EXOP_FSMO_RID_ALLOCAndrew Tridgell2010-01-081-7/+103
| | | | | | This allocates a RID pool for the client DC when we are the RID Manager Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added an extended operation for allocating a new RID poolAndrew Tridgell2010-01-084-1/+130
| | | | | | | 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>
* s4-repl: implement MSG_DREPL_ALLOCATE_RIDAndrew Tridgell2010-01-082-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>
* s4-repl: allow for callbacks when a repl operation completesAndrew Tridgell2010-01-083-4/+16
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>