Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-12 | s4-drs: fixed the cursor generation to always be filled in | Andrew Tridgell | 1 | -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. | |||||
2009-09-12 | s4-repl: use common functions to simplify updaterefs.c | Andrew Tridgell | 1 | -108/+4 | |
We now have dsdb_loadreps() and dsdb_savereps() | |||||
2009-09-12 | s4-repl: we should only update uSNChanged when replication data changes | Andrew Tridgell | 1 | -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. | |||||
2009-09-12 | s4-kcc: we should only add to the repsFrom if it doesn't already exist | Andrew Tridgell | 2 | -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 | |||||
2009-09-11 | Fix up-to-dateness vector creation. | Anatoliy Atanasov | 1 | -15/+76 | |
2009-09-11 | s4-vampire: cope with no invocationID when vampiring the schema | Andrew Tridgell | 1 | -3/+4 | |
2009-09-11 | s4-drs: fixed the ldap SPN in AddEntry | Andrew Tridgell | 1 | -1/+1 | |
2009-09-11 | s4-provision: revert _gc_tcp priority | Andrew Tridgell | 1 | -1/+1 | |
thanks to id10ts for spotting this. I was a victim of emacs zone mode, which increaed it with each edit. | |||||
2009-09-11 | s4-repl: refresh the partitions on each cycle | Andrew Tridgell | 2 | -3/+4 | |
The KCC might have changed repsFrom, which is stored in the partitions structure | |||||
2009-09-11 | s4-smbtorture: fix remaining lsa lookup call unknowns. sorry... | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-09-11 | s4-kcc: add a very simple KCC | Andrew Tridgell | 6 | -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 :-) | |||||
2009-09-11 | s4-repl: don't update replPropertyMetaData for non-replicated attributes | Andrew Tridgell | 1 | -0/+7 | |
thanks to Metze for spotting this | |||||
2009-09-11 | s4-idl: added the IDL for the DsReplica* calls | Andrew Tridgell | 7 | -177/+1085 | |
2009-09-11 | s3-rpcclient: add lookupsids3 command. | Günther Deschner | 1 | -0/+70 | |
Guenther | |||||
2009-09-11 | lsa: fill in more unknowns in lsa_LookupSid calls. | Günther Deschner | 9 | -110/+198 | |
Guenther | |||||
2009-09-11 | s4:ldb_map_outbound - fix memory leak | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
Patch from Andrew Kroeger wasn't fully correct - we need a "talloc_free" after the "if (ac->r_current == NULL)" statement. | |||||
2009-09-11 | netlogon.idl: indent correctly | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-11 | lsa: use lsa_LookupNamesLevel in lsa_LookupSids{2,3}. | Günther Deschner | 5 | -27/+27 | |
Guenther | |||||
2009-09-11 | s4-repl: on every ldb modify we need to update replPropertyMetaData | Andrew Tridgell | 1 | -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. | |||||
2009-09-11 | s4-repl: don't add the RDN if it is already there | Andrew Tridgell | 1 | -3/+19 | |
2009-09-11 | s4-ldb: don't remove a message element beyond the end of the array | Andrew Tridgell | 1 | -0/+4 | |
2009-09-11 | s3-rpcclient: make netlogon credential setup also work for interdomain trusts. | Günther Deschner | 1 | -9/+11 | |
Guenther | |||||
2009-09-11 | s3-rpcclient: avoid using lp_workgroup() unconditionally for crypto. | Günther Deschner | 1 | -4/+17 | |
Guenther | |||||
2009-09-11 | s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel(). | Günther Deschner | 8 | -11/+21 | |
Guenther | |||||
2009-09-11 | s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵ | Günther Deschner | 8 | -4/+19 | |
and cli_rpc_pipe_open_ntlmssp. Guenther | |||||
2009-09-11 | s3-rpcclient: use cli_rpc_pipe_open_noauth_transport in rpcclient. | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2009-09-11 | s3-rpc_client: add cli_rpc_pipe_open_noauth_transport. | Günther Deschner | 2 | -14/+30 | |
Guenther | |||||
2009-09-11 | s4-provision: use DNS name, not domain name | Andrew Tridgell | 2 | -2/+3 | |
The SPNs end in the DNS domain name | |||||
2009-09-11 | s4-drs: actually call the new drsuapi_add_SPNs() code | Andrew Tridgell | 1 | -2/+2 | |
An early return here didn't do any good :-) | |||||
2009-09-11 | s4-drs: add the magic DRS SPNs on AddEntry | Andrew Tridgell | 2 | -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. | |||||
2009-09-11 | s4/provision: add the nTDSDSA GUID based DNS entries and SPNs | Andrew Tridgell | 3 | -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 | |||||
2009-09-11 | s4/drs: parentGUID needs to be specififcally asked for | Andrew Tridgell | 1 | -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. | |||||
2009-09-11 | s4/libcli: when we get a DNS lookup failure show the name | Andrew Tridgell | 1 | -0/+2 | |
When tracking down complex connection problems its useful knowing what name lookups failed. | |||||
2009-09-11 | s4/tort: RPC-DRSUAPI test case refactored to match torture architecture | Kamen Mazdrashki | 2 | -68/+74 | |
2009-09-11 | s4/tort: code clean up using torture_drsuapi_assert_call() macro | Kamen Mazdrashki | 1 | -132/+36 | |
After this change, when a test fails, it gives reasonable failure message. | |||||
2009-09-11 | s4/tort: assert macro for drsuapi dcerpc call | Kamen Mazdrashki | 1 | -0/+26 | |
The macro actually wraps common code pattern used in almost every test for DRSUAPI interface | |||||
2009-09-11 | s4/tort: Propagate torture_context and use torture_comment | Kamen Mazdrashki | 1 | -66/+79 | |
NOTE: Not every place where printf is used is replaced by torture_comment. Future work shall "missed" printfs also. | |||||
2009-09-11 | s3-schannel: remove last schannel hand-marshalling function. | Günther Deschner | 2 | -34/+0 | |
Guenther | |||||
2009-09-11 | s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server). | Günther Deschner | 5 | -83/+118 | |
Guenther | |||||
2009-09-11 | s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2009-09-11 | s3-schannel: remove unused code. | Günther Deschner | 3 | -75/+0 | |
Guenther | |||||
2009-09-11 | s3-schannel: use NL_AUTH_MESSAGE for schannel bind reply. | Günther Deschner | 1 | -10/+17 | |
Guenther | |||||
2009-09-11 | schannel: more work on reponse NL_AUTH_MESSAGES. | Günther Deschner | 6 | -1/+96 | |
Guenther | |||||
2009-09-11 | s3-nterr: add NT_STATUS_RPC_NT_PROTOCOL_ERROR to nt_errstr(). | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-09-11 | s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct. | Günther Deschner | 3 | -0/+22 | |
Guenther | |||||
2009-09-11 | s3-rpcclient: add lookupnames4 command. | Günther Deschner | 1 | -0/+52 | |
Guenther | |||||
2009-09-11 | s3-rpcclient: add ncacn transport handling for rpcclient. | Günther Deschner | 1 | -5/+88 | |
Guenther | |||||
2009-09-11 | s3-rpc_client: add enum dcerpc_transport_t to rpc_cli_transport struct. | Günther Deschner | 2 | -0/+10 | |
Guenther | |||||
2009-09-11 | s4:setup Updated Display Specifiers from Microsoft (with #s) | Andrew Bartlett | 5 | -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 | |||||
2009-09-11 | s4: Pass WINBINDD_SOCKET_DIR var in order to overide the location of the ↵ | Matthieu Patou | 1 | -0/+2 | |
Winbind socket |