Andrew Tridgell
bbc0a56da5
s4-drs: fixed the cursor generation to always be filled in
...
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 11:15:28 +10:00
Andrew Tridgell
5da0a7e1a1
s4-repl: use common functions to simplify updaterefs.c
...
We now have dsdb_loadreps() and dsdb_savereps()
2009-09-12 11:15:27 +10:00
Andrew Tridgell
94183eb7e6
s4-repl: we should only update uSNChanged when replication data changes
...
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 11:15:27 +10:00
Andrew Tridgell
0ba9a1bd3f
s4-kcc: we should only add to the repsFrom if it doesn't already exist
...
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-12 11:15:27 +10:00
Anatoliy Atanasov
9014cb64fd
Fix up-to-dateness vector creation.
2009-09-12 11:15:26 +10:00
Jelmer Vernooij
97338168e8
repl_meta_data: Fix include path when building with standalone ldb.
2009-09-12 00:49:51 +02:00
Jelmer Vernooij
d0c9d5ed8e
ldb: Remove references to operational module init function.
...
This module is now part of Samba 4's dsdb subsystem rather than
standalone ldb.
2009-09-11 23:49:57 +02:00
Jelmer Vernooij
df65fc02fb
ldb: Support running testsuite without installing first.
2009-09-11 23:49:36 +02:00
Matthias Dieter Wallnöfer
10833f641a
s4:group policies - add the domain controller group policy
...
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)
2009-09-11 22:41:58 +02:00
Matthias Dieter Wallnöfer
5ad756fad3
netlogon.idl - rerun "make idl"
2009-09-11 22:03:45 +02:00
Matthieu Patou
c6dd2c9552
s4: Fix parsing of CSDVersion: treat this field as an string null terminated.
...
CDSVersion field contains one utf16 string and then garbage which pertubated the parsing.
We use subcontext to clearly define the size of the whole blob and then let the parser to find
the real length of the string.
This is a fix for bug 6706, many thanks to Gunter for the PIDL guidelines.
2009-09-11 19:16:58 +02:00
Michael Adam
a1cf12e1f6
s3:dbwrap_ctdb: set dmaster in ctdb_transaction_store() also when updating an existing record
...
not only when creating a record.
This matches commit e9194a130327d6b05a8ab90bd976475b0e93b06d from ctdb-master.
Michael
2009-09-11 15:39:53 +02:00
Michael Adam
9741cb7638
talloc:mksyms: allow characters after closing functions parenthesis.
...
Michael
2009-09-11 15:39:53 +02:00
Michael Adam
ee1fe382d6
talloc:mksyms: allow double pointer return value of functions.
...
Michael
2009-09-11 15:39:52 +02:00
Michael Adam
50347d6ac0
s3:mksyms: fix spelling...
...
Michael
2009-09-11 15:39:52 +02:00
Michael Adam
64bfa26f99
tevent:mksyms: fix spelling...
...
Michael
2009-09-11 15:39:52 +02:00
Michael Adam
ea2b9e0fb1
talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
...
Michael
2009-09-11 15:31:35 +02:00
Michael Adam
56c09d2fb2
talloc:mksigs: normalize bool -> _Bool
...
Michael
2009-09-11 15:31:35 +02:00
Michael Adam
82404ad3e4
talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
...
Michael
2009-09-11 15:31:33 +02:00
Michael Adam
629ff2b6e2
talloc:mksigs: correctly ignode multiline function typedefs
...
by first concatenating multilint parentheses and removing typefes afterwards.
Michael
2009-09-11 15:31:33 +02:00
Michael Adam
7b0e072631
talloc:mksigs: ignore struct forward declarations.
...
Michael
2009-09-11 15:31:32 +02:00
Michael Adam
e60c775835
talloc:mksyms: allow characters after closing functions parenthesis.
...
Michael
2009-09-11 15:31:32 +02:00
Michael Adam
fd55479981
talloc:mksyms: allow double pointer return value of functions.
...
Michael
2009-09-11 15:31:32 +02:00
Michael Adam
55dcf928eb
tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
...
Michael
2009-09-11 15:31:31 +02:00
Michael Adam
cfa4e7ec75
tdb:mksigs: normalize bool -> _Bool
...
Michael
2009-09-11 15:31:31 +02:00
Michael Adam
25939a627f
tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
...
Michael
2009-09-11 15:31:30 +02:00
Michael Adam
13bfcd5a93
tdb:mksigs: correctly ignode multiline function typedefs
...
by first concatenating multilint parentheses and removing typefes afterwards.
Michael
2009-09-11 15:31:30 +02:00
Michael Adam
ecd12bfb38
tdb:mksigs: ignore struct forward declarations.
...
Michael
2009-09-11 15:31:30 +02:00
Michael Adam
400f08450b
tdb:mksyms: allow characters after closing functions parenthesis.
...
Michael
2009-09-11 15:31:29 +02:00
Michael Adam
907e05595f
tdb:mksyms: allow double pointer return value of functions.
...
Michael
2009-09-11 15:31:29 +02:00
Michael Adam
6b9298191a
tevent:signatures: add _tevent_req_cancel and tevent_req_set_cancel_fn
...
introduced in 45e4be0d96
Michael
2009-09-11 15:31:29 +02:00
Michael Adam
7165f29aea
tevent:exports: add _tevent_req_cancel and tevent_req_set_cancel_fn.
...
These were added in 45e4be0d96
Michael
2009-09-11 15:31:28 +02:00
Michael Adam
f98470e3a4
tevent:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
...
Michael
2009-09-11 15:31:28 +02:00
Michael Adam
085c07b743
tevent:mksigs: normalize bool -> _Bool
...
Michael
2009-09-11 15:31:28 +02:00
Michael Adam
636f8b5e5b
tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
...
Michael
2009-09-11 15:31:27 +02:00
Michael Adam
aa7748484f
tevent:mksigs: correctly ignode multiline function typedefs
...
by first concatenating multilint parentheses and removing typefes afterwards.
Michael
2009-09-11 15:31:27 +02:00
Michael Adam
1e2393c178
tevent:mksigs: ignore struct forward declarations.
...
Michael
2009-09-11 15:31:27 +02:00
Michael Adam
1f1a900dd7
tevent:mksyms: allow characters after closing functions parenthesis.
...
Michael
2009-09-11 15:31:26 +02:00
Michael Adam
095a11226e
tevent:mksyms: allow double pointer return value of functions.
...
Michael
2009-09-11 15:31:26 +02:00
Michael Adam
4fb82727b1
tevent: add abi_checks to "make test"
...
Michael
2009-09-11 15:31:25 +02:00
Michael Adam
cf67b1bff7
tevent: remove filese generated by "make abi_checks" in "make clean".
...
Michael
2009-09-11 15:31:24 +02:00
Michael Adam
40c670f8cb
tevent: add a make target "make abi_checks"
...
Michael
2009-09-11 15:31:24 +02:00
Michael Adam
f0e276cff8
tevent: move the original abi_checks script to script/abi_checks_gcc.sh
...
Michael
2009-09-11 15:31:24 +02:00
Michael Adam
31ee072934
tevent: add script/abi_checks.sh. check for abi changes without gcc magic.
...
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]
This creates symbol signature lists using the mksyms and mksigs scripts
and compares them with the checked in lists.
Michael
2009-09-11 15:31:23 +02:00
Michael Adam
ffc72b9207
tevent: add script to extract signatures from header files.
...
This produces output like the output gcc produces when
invoked with the -aux-info switch.
Run like this: cat include/tevent.h | ./script/mksigs.pl
This simple parser is probably too coarse to handle all
possible header files, but it treats tevent.h correctly...
Michael
2009-09-11 15:31:23 +02:00
Michael Adam
4530fcd820
tevent: add scripts to extract library symbols (exports file) from headers
...
Michael
2009-09-11 15:31:23 +02:00
Andrew Tridgell
9da4933804
s4-vampire: cope with no invocationID when vampiring the schema
2009-09-11 23:26:39 +10:00
Andrew Tridgell
97182d52df
s4-drs: fixed the ldap SPN in AddEntry
2009-09-11 23:14:07 +10:00
Andrew Tridgell
e4683bfb3b
s4-provision: revert _gc_tcp priority
...
thanks to id10ts for spotting this. I was a victim of emacs zone mode,
which increaed it with each edit.
2009-09-11 23:13:39 +10:00
Andrew Tridgell
bd7cf6988e
s4-repl: refresh the partitions on each cycle
...
The KCC might have changed repsFrom, which is stored in the partitions
structure
2009-09-11 22:47:11 +10:00