Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-10-21 | s4:dsdb Remove workaround for two partition head records | Andrew Bartlett | 1 | -16/+1 | |
The problem here has been avoided in repl_meta_data, and so this is no longer required. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Use 'partition modified' information to update @REPLCHANGED | Andrew Bartlett | 1 | -356/+189 | |
This major rework of repl_meta_data changes it from using a static list of partitions to a dynamic list created from the controls placed on returned ldb results. To process these in one place, the similar but distinct callbacks are combined into a single replmd_op_callback(), which handles both the 'normal operation' and 'inbound replication' case. This allows new partitions to be created, and replication events for these new partitions to be scheduled immediately. Also in this commit: We no longer specify the target partition for new or modified objects - instead we allow the partitions module to use the DN as normal. THis avoids the issue where we would create two partition head records. Andrew Bartlett | |||||
2009-10-21 | s4:repl Pass schema as argument to replmd_update_rpmd() | Andrew Bartlett | 1 | -6/+5 | |
2009-10-21 | s4:dsdb In partitions module, tell the caller what partition was used. | Andrew Bartlett | 1 | -1/+17 | |
This means we don't return any control for modifications to the control records in sam.ldb, but do if they modified one of the actual data LDB files. Andrew Bartlett | |||||
2009-10-21 | s4:ldb Add function to add controls to an LDB reply | Andrew Bartlett | 2 | -0/+45 | |
2009-10-21 | s4:dsdb Load new partitions in a running LDB if metadata changes | Andrew Bartlett | 2 | -144/+151 | |
This allows one instance of LDB to add a partition, and another to use it without first closing the database. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Only reload partition metadata on search and transaction start | Andrew Bartlett | 2 | -19/+5 | |
I see no reason to reload it when in a transaction - it can't change on us anyway (we possibly need to watch for our own changes to @PARTITION however) Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Reload partition metadata if the main db updates | Andrew Bartlett | 3 | -39/+120 | |
This uses the fact that the primary DB does not change often. Before each operation, we see if the sequence number has changed. Andrew Bartlett | |||||
2009-10-21 | s4:provision Test ability to set GUIDs from provision command line | Andrew Bartlett | 1 | -0/+1 | |
2009-10-21 | s4:provison Allow the NTDS guid on the command line (for testing) | Andrew Bartlett | 1 | -0/+3 | |
This allows a blackbox test to confirm this can be set. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Split 'set per-partition metadata' into it's own function | Andrew Bartlett | 1 | -139/+162 | |
This helps us ensure we always set the metadata, even when we are 'adding' a partition that is already in our list. (We *really* don't want these getting out of sync, and the extra writes are harmless) Andrew Bartlett | |||||
2009-10-21 | s4:Handle reprovision with existing partitions | Andrew Bartlett | 1 | -3/+20 | |
The issue here is that if we don't put the partitions metadata in the database before we wipe it, we won't wipe the partitions contents, and so the provision will later fail (entry already exists) Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Don't try and casefold DNs during startup for partition load | Andrew Bartlett | 1 | -10/+19 | |
The issue here is that before we load the schema partition, we may not have the correct casefolding rules. As such, keep things simple and use the DN exactly as found in the @PARTITIONS record to find the database. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Fix partition_create not to return early | Andrew Bartlett | 1 | -14/+22 | |
2009-10-21 | s4:dsdb Fix tests for samba3sam to pass after partitions module changes | Andrew Bartlett | 1 | -13/+9 | |
This is needed because the new format of the partitions record is a casefolded DN, not a DN and file combination. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Be strict in selecting on-disk names for partitions | Andrew Bartlett | 2 | -6/+84 | |
I really don't want a cn=foo/../bar in my ldb file name. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Set 'notification' after the success of a change. | Andrew Bartlett | 1 | -18/+14 | |
This allows the partition to be created before we try and set a notification on it. (perhaps extra work required here for partition heads). Andrew Bartlett | |||||
2009-10-21 | s4:provision Set @OPTIONS in the provision_init.ldif | Andrew Bartlett | 3 | -6/+3 | |
The new partitions code knows to copy these items in when creating a new parition, so we can set it from the start. Andrew Bartlett | |||||
2009-10-21 | s4:dsdb Rework modules create new partitions at runtime | Andrew Bartlett | 10 | -327/+850 | |
This is done by passing an extended operation to the partitions module to extend the @PARTITION record and to extend the in-memory list of partitions. This also splits things up into module parts that belong above and below repl_meta_data Also slit the partitions module into two files due to the complexity of the code Andrew Barltett | |||||
2009-10-21 | s4/drs: prefixMap main interface implementation | Kamen Mazdrashki | 1 | -0/+244 | |
Currenly implemented functions are: dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid() and dsdb_schema_pfm_oid_from_attid() | |||||
2009-10-21 | s4/drs(tort): Unit test for prefixMap implementation. | Kamen Mazdrashki | 3 | -9/+331 | |
Currenly those tests cover only the main part of the interface, i.e. dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid() and dsdb_schema_pfm_oid_from_attid() | |||||
2009-10-21 | s4/drs(tort): Comment typos fixed in drs_util.c | Kamen Mazdrashki | 1 | -2/+2 | |
2009-10-21 | s4/drs(tort): fixed '==' to '>=' | Kamen Mazdrashki | 1 | -1/+1 | |
ATTID is marked as partial by adding 32768. Thus the check should be '>= 32768' | |||||
2009-10-21 | s4-lsa: Fix dcesrv_lsa_EnumTrustDom() and avoid infite windows client loop. | Günther Deschner | 1 | -0/+9 | |
Found by RPC-LSA-TRUSTED-DOMAIN torture test. Guenther | |||||
2009-10-21 | s3-lsa: Fix _lsa_EnumTrustDom() and avoid infite windows client loop. | Günther Deschner | 1 | -0/+9 | |
Found by RPC-LSA-TRUSTED-DOMAIN torture test. Guenther | |||||
2009-10-21 | s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up ↵ | Günther Deschner | 1 | -6/+45 | |
a client. Guenther | |||||
2009-10-21 | s3-lsa: make s3 pass against RPC-LSA-LOOKUPNAMES again. | Günther Deschner | 1 | -6/+7 | |
Do what W2k8 does and return the builtin domain for a NULL name. Guenther | |||||
2009-10-21 | nsswitch: fix the build of the winbind krb5 locator plugin. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-10-20 | Turn on LOCK9 test which will test for regressions in bug 6828. | Jeremy Allison | 2 | -2/+4 | |
Jeremy. | |||||
2009-10-20 | Fix bug 6828 - infinite timeout occurs when byte lock held outside of samba | Jeremy Allison | 1 | -8/+18 | |
Jeremy. | |||||
2009-10-20 | Fix comments on new test. | Jeremy Allison | 1 | -3/+3 | |
Jeremy | |||||
2009-10-20 | Add local (or NFS) lock test to smbtorture. Checks that local locks | Jeremy Allison | 1 | -1/+209 | |
conflict with CIFS locks (see bug 6868). Jeremy. | |||||
2009-10-20 | s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8. | Günther Deschner | 1 | -16/+50 | |
Make sure to split out lsa_LookupName NULL name test so that we can better track results from bogus names and NULL names. Guenther | |||||
2009-10-20 | Fix "make install" by removing all references to python. Not currently | Jeremy Allison | 1 | -2/+9 | |
needed in source3, and isn't working anyway. Jeremy. | |||||
2009-10-20 | Remove pythonmods from the build in source3, it doesn't build anyway | Jeremy Allison | 1 | -1/+1 | |
and isn't needed (as far as I can tell). Jeremy. | |||||
2009-10-20 | Fix the pam_smbpass.so build with the recent linker flag changes. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-10-20 | s4-smbtorture: Make it simpler to specify number of trusted domains to create in | Günther Deschner | 1 | -17/+40 | |
RPC-LSA-TRUSTED-DOMAINS. Guenther | |||||
2009-10-20 | s3-lsa: Fix _lsa_EnumTrustDom(). | Günther Deschner | 1 | -41/+25 | |
Windows clients were showing a lot of duplicates in their list of trusted domains. Found by RPC-LSA-TRUSTED-DOMAIN torture test. Guenther | |||||
2009-10-20 | s3-pdb_ldap: fix crash bug in ldapsam_set_trusteddom_pw(). | Günther Deschner | 1 | -2/+2 | |
Thanks Volker for the hint. Guenther | |||||
2009-10-20 | s3:Makefile: rename LDSHFLAG variables to make meaning more obvious | Björn Jacke | 1 | -88/+88 | |
2009-10-20 | s3-lsa: Fix _lsa_CreateAccount() for usage of SEC_FLAG_MAXIMUM_ALLOWED. | Günther Deschner | 1 | -0/+5 | |
Found by RPC-LSA-PRIVILEGES torture test. Guenther | |||||
2009-10-20 | s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-10-20 | s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-10-20 | s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS. | Günther Deschner | 1 | -2/+27 | |
Guenther | |||||
2009-10-20 | s3-lsa: Allow to lookup 'NT AUTHORITY\Anonymous Logon' as well. | Günther Deschner | 1 | -0/+1 | |
This is to finally pass RPC-LSA-LOOKUPNAMES test. Guenther | |||||
2009-10-20 | s3-lsa: allow to lookup BUILTIN\ in lsa_LookupNames. | Günther Deschner | 1 | -0/+8 | |
Found by RPC-LSA-LOOKUPNAMES torture test. Guenther | |||||
2009-10-20 | s3-lsa: When looking up domains in LookupNames, do not strip the sid. | Günther Deschner | 1 | -1/+5 | |
Found by RPC-LSA-LOOKUPNAMES torture test. Guenther | |||||
2009-10-20 | s3-lsa: allow to have NULL strings in lsa LookupName queries. | Günther Deschner | 1 | -1/+4 | |
Found by RPC-LSA-LOOKUPNAMES torture test. Guenther | |||||
2009-10-20 | s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies. | Günther Deschner | 1 | -3/+13 | |
Guenther | |||||
2009-10-20 | s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES. | Günther Deschner | 1 | -7/+8 | |
Guenther |