Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-08 | s4-secdesc: fixed the sec_descriptor.py test | Andrew Tridgell | 1 | -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! | |||||
2010-01-08 | s4-samba3samtest: use system credentials for creating users | Andrew Tridgell | 1 | -5/+6 | |
2010-01-08 | s4-dsdb: fixed const misuse in acl module | Andrew Tridgell | 1 | -4/+4 | |
2010-01-08 | s4-dsdb: use dsdb_module_am_system() in acl module | Andrew Tridgell | 1 | -19/+11 | |
2010-01-08 | s4-dsdb: allow specification of a SID if we are system | Andrew Tridgell | 1 | -1/+2 | |
needed for samba3sam test | |||||
2010-01-08 | s4-dsdb: added dsdb_module_am_system() | Andrew Tridgell | 1 | -0/+9 | |
better than each module inventing their own | |||||
2010-01-08 | s4-dsdb: squash some unknown structure warnings | Andrew Tridgell | 1 | -1/+3 | |
2010-01-08 | s4-partition: fixed selection of partitions on exact match | Andrew Tridgell | 1 | -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-08 | s4-scripting: we need to use a base search for the NTDS GUID | Andrew Tridgell | 1 | -1/+1 | |
now we have nTDSConnections structures we can get more than 1 reply | |||||
2010-01-08 | s4:dsdb/repl: convert dreplsrv_op_pull_source_send/recv to tevent_req | Stefan Metzmacher | 3 | -158/+199 | |
metze Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-08 | s4-smbd: setup the default event contexts for other process models | Andrew Tridgell | 2 | -1/+13 | |
2010-01-08 | s4-drs: we need to wrap extended operations in transactions | Andrew Tridgell | 1 | -5/+21 | |
2010-01-08 | s4-dsdb: poke the RID Manager when completely out of RIDs too | Andrew Tridgell | 1 | -38/+41 | |
2010-01-08 | s4-dsdb: ensure we will in all the attributes for RID Set | Andrew Tridgell | 1 | -16/+4 | |
We need to go to the top of the module stack so that all the extra attributes get filled in | |||||
2010-01-08 | s4-dsdb: added DSDB_FLAG_TOP_MODULE | Andrew Tridgell | 2 | -0/+9 | |
This is used when you want the dsdb_module_*() functions to go to the top of the stack. | |||||
2010-01-08 | s4-dsdb: no longer need special invocationID handling for standalone servers | Andrew Tridgell | 1 | -76/+1 | |
They now work the same way as a DC | |||||
2010-01-08 | s4-provision: do a self join for all server types | Andrew Tridgell | 1 | -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. | |||||
2010-01-08 | s4-schema: added generic attributeID conversion functions | Andrew Tridgell | 1 | -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-08 | s4-schema: added dsdb_attribute_by_lDAPDisplayName_ldb_val | Andrew Tridgell | 1 | -0/+12 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-schema: make ldb_val to string comparison safer with nul termination | Andrew Tridgell | 1 | -1/+8 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4/dsdb_schema: Load msDS-IntId value separately when loading from LDB | Kamen Mazdrashki | 1 | -0/+3 | |
This way we have consistent behavior when loading from DRSUAPI and from LDB. | |||||
2010-01-08 | Revert "s4-schema: Set ATTID in schema cache from "msDS-IntId"" | Kamen Mazdrashki | 1 | -13/+8 | |
This reverts commit 4e8ad284f5813413fdec8426f11e24570d22549b. | |||||
2010-01-08 | s4/schema: Do not assign msDS-IntId value if LDB_CONTROL_RELAX_OID is passed | Kamen Mazdrashki | 1 | -0/+5 | |
This way msDS-IntId should not be assigned during provisioning, which is how Windows works | |||||
2010-01-08 | s4-libnet: better error messages in libnet_vampire.c | Andrew Tridgell | 1 | -2/+2 | |
2010-01-08 | s4/dsdb_schema: use msDS-IntId value for attribute look-up | Kamen Mazdrashki | 1 | -0/+9 | |
2010-01-08 | s4/dsdb_schema: fetch msDS-IntId value during SCHEMA replication | Kamen Mazdrashki | 2 | -0/+5 | |
2010-01-08 | s4/dsdb_schema: GET_UINT32_DS() macro to use supplied default value instead of 0 | Kamen Mazdrashki | 1 | -14/+14 | |
2010-01-08 | s4-partition: don't ignore errors from other modules | Andrew Tridgell | 1 | -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-08 | s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystems | Andrew Tridgell | 1 | -0/+13 | |
this makes building and testing s4 as a developer much faster, if you have enough memory! | |||||
2010-01-08 | s4-provision: re-open sam.ldb after creating the schema | Andrew Tridgell | 1 | -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) | |||||
2010-01-08 | s4-provision: RID 1000 is consumed by the machine account | Andrew Tridgell | 1 | -1/+1 | |
2010-01-08 | s4-ldb: improve error handling in indexing code | Andrew Tridgell | 2 | -5/+34 | |
When we get an indexing failure we want a clear error message | |||||
2010-01-08 | s4-dsdb: improve error messages in schema and pdc_fsmo modules | Andrew Tridgell | 2 | -6/+6 | |
We want to incorporate the error messages from the modules further down the stack. | |||||
2010-01-08 | s4-drs: added some debug messages | Andrew Tridgell | 1 | -0/+6 | |
It is nice to see when a RID Alloc is successful | |||||
2010-01-08 | s4-event: added s4_event_context_set_default() | Andrew Tridgell | 3 | -1/+18 | |
we're still not weaned off event_context_find() | |||||
2010-01-08 | s4-dsdb: added support for DRSUAPI_EXOP_FSMO_RID_ALLOC | Andrew Tridgell | 1 | -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> | |||||
2010-01-08 | s4-dsdb: added an extended operation for allocating a new RID pool | Andrew Tridgell | 4 | -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> | |||||
2010-01-08 | s4-repl: implement MSG_DREPL_ALLOCATE_RID | Andrew Tridgell | 2 | -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-08 | s4-repl: allow for callbacks when a repl operation completes | Andrew Tridgell | 3 | -4/+16 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: the dsdb ldb modules now need messagiing | Andrew Tridgell | 1 | -1/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: send a message to the drepl task when we need another RID pool | Andrew Tridgell | 1 | -6/+66 | |
We send the message when the current pool is half gone. We don't wait for a reply. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-messaging: added a new msg type MSG_DREPL_ALLOCATE_RID | Andrew Tridgell | 1 | -0/+1 | |
This will be used to ask the drepl task for a new RID pool Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-repl: added request for RID allocation in drepl task | Andrew Tridgell | 7 | -13/+276 | |
The drepl task now checks to see if our rIDAllocationPool is exhausted, and if it is then we queue a extended operation DsGetNCChanges call to ask the RID Manager to give us a new allocation pool. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added dsdb_find_guid_attr_by_dn() | Andrew Tridgell | 1 | -5/+18 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-ridalloc: copy with missing rIDNextRid and rIDAllocationPool | Andrew Tridgell | 1 | -24/+36 | |
The attributes rIDNextRid and rIDAllocationPool are not replicated, so their initial value when we first get a RID Set from the RID Manager is blank. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added dsdb_module_set_integer() | Andrew Tridgell | 1 | -0/+24 | |
This will be used by ridalloc.c Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: clarify who is responsible for each attribute | Andrew Tridgell | 1 | -3/+5 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: fixed usage of rIDAllocationPool and rIDPreviousAllocationPool | Andrew Tridgell | 1 | -44/+58 | |
These are very badly named attributes! See the comments in ridalloc.c for a explanation of what they really seem to mean Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: implement refresh of RID Set pool for a local RID Manager | Andrew Tridgell | 1 | -44/+151 | |
when we run out of RIDs in our RID Set pool then grab a new one from the RID Manager object Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-provision: don't hard wire the creation of the RID Set object | Andrew Tridgell | 4 | -29/+18 | |
We now create it automatically in the samldb module when the first user is created. The creation of the dns user also had to move to the _modify.ldif as it now relies on the fSMO role being setup for the RID Manager Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |