summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-schannel: use NL_AUTH_MESSAGE for schannel.Günther Deschner2009-09-131-23/+35
| | | | Guenther
* s4-schannel: strip trailing whitespace.Günther Deschner2009-09-131-26/+26
| | | | Guenther
* s4:sites & services - Adds Intersite transport containersMatthieu Patou2009-09-121-5/+28
| | | | | This patch brings up those subcontainers and fixes up the "systemFlags" on the "Subnet" entry.
* s4:group policies - the default group policy objects are all system-criticalMatthias Dieter Wallnöfer2009-09-121-0/+6
|
* s4:group policies - upcase directory names of default group policiesMatthias Dieter Wallnöfer2009-09-121-4/+8
| | | | | | The directory names (MACHINE, USER) are upcased to help locating the default group policies under the SYSVOL dir (the additional ones have only the first letter upcased of those directory names).
* s4:repl_meta_data: increment the attribute version with each changeStefan Metzmacher2009-09-121-1/+2
| | | | metze
* s4-scripts: allow setup_dns.sh to take a PRIVATEDIRAndrew Tridgell2009-09-121-1/+3
|
* s4-samdb: make it possible to ask for the sequence number of a partitionAndrew Tridgell2009-09-121-0/+9
| | | | | | The partition module normally makes the sequence number extended op operate across all partitions. It will be useful in the repl task to be able to ask for the sequence number of one partition
* s4-drs: change debug levelAndrew Tridgell2009-09-121-1/+1
| | | | It's useful seeing the object count without as much detail
* s4-repl: fixed memory leaksAndrew Tridgell2009-09-123-12/+31
| | | | | These memory leaks were mostly caused by the fact that refresh_partitions is now called periodically
* s4-drs: also fill in tmp_highest_usnAndrew Tridgell2009-09-121-0/+1
| | | | Without this the client will not update its repsFrom highest_usn values
* s4-drs: return objects with uSN > highest_usnAndrew Tridgell2009-09-121-2/+6
| | | | | | | When the client tells us the highest_usn they have is N, then we want to send them objects with usn>N, not>=N, as otherwise we end up sending them the same object (the one with the highest uSN) again and again.
* s4-drs: spelling fix, and simpler search expressionAndrew Tridgell2009-09-121-2/+2
| | | | | | | uSNChanged>=N is good enough, and offers a possibility of a simple optimisation where the partition module could look for that expression and check the partitions sequence number, then avoid searching a partition that doesn't have any records with a larger uSN.
* s4-repl: don't be too eager to allocate new sequence numbersAndrew Tridgell2009-09-121-7/+9
| | | | | we only need to allocate a new sequence number when replPropertyMetaData is changing or being created on an object
* s4-samdb: internal s4 ldb modules should be GPL not LGPLAndrew Tridgell2009-09-128-95/+63
| | | | | | | I think these modules ended up LGPL because someone based the module on an existing LGPL module in the core ldb, and it spread from there. Certainly there is no reason for the ldb modules that are not distributed as part of ldb to be LGPL.
* s4-drs: fixed the cursor generation to always be filled inAndrew Tridgell2009-09-121-102/+152
| | | | | | | | We were relying on the uSNChanged>=n search always finding the DN of the root of the partition, but this now doesn't happen very often as we are now restricting when we change uSNChanged. This means we need to always load the replUpToDateVector attribute from the NC root and use it to populate the cursors in the return.
* s4-repl: use common functions to simplify updaterefs.cAndrew Tridgell2009-09-121-108/+4
| | | | We now have dsdb_loadreps() and dsdb_savereps()
* s4-repl: we should only update uSNChanged when replication data changesAndrew Tridgell2009-09-121-29/+39
| | | | | | When changing non-replicated attributes we should not update the uSNChanged attribute on the record, otherwise the DRS server will think this record needs replicating.
* s4-kcc: we should only add to the repsFrom if it doesn't already existAndrew Tridgell2009-09-122-45/+182
| | | | | | If we already have a repsFrom for a particular DC and naming context then we should not overwrite it, as it contains info on what replication we've already done
* Fix up-to-dateness vector creation.Anatoliy Atanasov2009-09-121-15/+76
|
* repl_meta_data: Fix include path when building with standalone ldb.Jelmer Vernooij2009-09-121-1/+1
|
* ldb: Remove references to operational module init function.Jelmer Vernooij2009-09-112-2/+0
| | | | | This module is now part of Samba 4's dsdb subsystem rather than standalone ldb.
* ldb: Support running testsuite without installing first.Jelmer Vernooij2009-09-112-4/+5
|
* s4:group policies - add the domain controller group policyMatthias Dieter Wallnöfer2009-09-114-11/+60
| | | | | | | | | This patches fixes the last difference between s4 and Windows Server regarding group policy objects: we hadn't the domain controller policy. - Adds the domain controller policy as it is found in the "original" AD - Adds also the right version number in the GPT.INI file for the domain group policy (was missing)
* s4-vampire: cope with no invocationID when vampiring the schemaAndrew Tridgell2009-09-111-3/+4
|
* s4-drs: fixed the ldap SPN in AddEntryAndrew Tridgell2009-09-111-1/+1
|
* s4-provision: revert _gc_tcp priorityAndrew Tridgell2009-09-111-1/+1
| | | | | thanks to id10ts for spotting this. I was a victim of emacs zone mode, which increaed it with each edit.
* s4-repl: refresh the partitions on each cycleAndrew Tridgell2009-09-112-3/+4
| | | | | The KCC might have changed repsFrom, which is stored in the partitions structure
* s4-smbtorture: fix remaining lsa lookup call unknowns. sorry...Günther Deschner2009-09-111-4/+4
| | | | Guenther
* s4-kcc: add a very simple KCCAndrew Tridgell2009-09-116-1/+535
| | | | | | | A KCC is a 'Knowledge Consistency Checker', a fancy name for a daemon that works out who will replicate with who in a AD domain. This implements an extremely simple KCC task that just wants to replicate with everyone :-)
* s4-repl: don't update replPropertyMetaData for non-replicated attributesAndrew Tridgell2009-09-111-0/+7
| | | | thanks to Metze for spotting this
* s4-idl: added the IDL for the DsReplica* callsAndrew Tridgell2009-09-111-9/+9
|
* lsa: fill in more unknowns in lsa_LookupSid calls.Günther Deschner2009-09-112-10/+10
| | | | Guenther
* s4:ldb_map_outbound - fix memory leakMatthias Dieter Wallnöfer2009-09-111-0/+2
| | | | | Patch from Andrew Kroeger wasn't fully correct - we need a "talloc_free" after the "if (ac->r_current == NULL)" statement.
* s4-repl: on every ldb modify we need to update replPropertyMetaDataAndrew Tridgell2009-09-111-8/+171
| | | | | | Every time we change a ldb object with the repl_meta_data module loaded we need to update the replPropertyMetaData attribute to fix the timestamps and USNs of the attributes being changed.
* s4-repl: don't add the RDN if it is already thereAndrew Tridgell2009-09-111-3/+19
|
* s4-ldb: don't remove a message element beyond the end of the arrayAndrew Tridgell2009-09-111-0/+4
|
* s4-provision: use DNS name, not domain nameAndrew Tridgell2009-09-112-2/+3
| | | | The SPNs end in the DNS domain name
* s4-drs: actually call the new drsuapi_add_SPNs() codeAndrew Tridgell2009-09-111-2/+2
| | | | An early return here didn't do any good :-)
* s4-drs: add the magic DRS SPNs on AddEntryAndrew Tridgell2009-09-112-27/+122
| | | | | When a DsAddEntry is used to create a nTDSDSA object we need to also create the SPNs for the NTDS GUID in the servers machine account.
* s4/provision: add the nTDSDSA GUID based DNS entries and SPNsAndrew Tridgell2009-09-113-12/+27
| | | | | | The DNS entries and SPNs are needed for samba<->samba DRS replication. This patch adds them for a standalone DC configure. A separate patch will add them for the vampire configure
* s4/drs: parentGUID needs to be specififcally asked forAndrew Tridgell2009-09-111-1/+2
| | | | | | Right now parentGUID is a normal attribute in s4, but it should be generated, which means we need to ask for it in a search if we want to use it.
* s4/libcli: when we get a DNS lookup failure show the nameAndrew Tridgell2009-09-111-0/+2
| | | | | When tracking down complex connection problems its useful knowing what name lookups failed.
* s4/tort: RPC-DRSUAPI test case refactored to match torture architectureKamen Mazdrashki2009-09-112-68/+74
|
* s4/tort: code clean up using torture_drsuapi_assert_call() macroKamen Mazdrashki2009-09-111-132/+36
| | | | | After this change, when a test fails, it gives reasonable failure message.
* s4/tort: assert macro for drsuapi dcerpc callKamen Mazdrashki2009-09-111-0/+26
| | | | | The macro actually wraps common code pattern used in almost every test for DRSUAPI interface
* s4/tort: Propagate torture_context and use torture_commentKamen Mazdrashki2009-09-111-66/+79
| | | | | NOTE: Not every place where printf is used is replaced by torture_comment. Future work shall "missed" printfs also.
* s4:setup Updated Display Specifiers from Microsoft (with #s)Andrew Bartlett2009-09-115-91/+30
| | | | | | | | This fixes the issue with the original files that they didn't have a leading # in front of the comments, which caused our parsing scripts much pain. The files are now exactly as delivered. Andrew Bartlett
* s4:ldb_map: Don't free ares too early.Andrew Kroeger2009-09-111-3/+3
| | | | | As found when running "make test" with the MALLOC_CHECK_ and MALLOC_PERTURB_ environment variables set.
* s4/tort: CRACKNAMES tests to use private structure for testing.Kamen Mazdrashki2009-09-111-2/+33
| | | | | DsCrackNamesPrivate structure basically inherits DsPrivate structure while adding few test-specific members.