1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

55892 Commits

Author SHA1 Message Date
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
Günther Deschner
bca75ecf97 s4-smbtorture: fix remaining lsa lookup call unknowns. sorry...
Guenther
2009-09-11 14:34:58 +02:00
Andrew Tridgell
61facf4266 s4-kcc: add a very simple KCC
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 22:13:45 +10:00
Andrew Tridgell
fd3a77839c s4-repl: don't update replPropertyMetaData for non-replicated attributes
thanks to Metze for spotting this
2009-09-11 22:13:45 +10:00
Andrew Tridgell
d7d7613e31 s4-idl: added the IDL for the DsReplica* calls 2009-09-11 22:13:45 +10:00
Günther Deschner
cbac8e4fa0 s3-rpcclient: add lookupsids3 command.
Guenther
2009-09-11 13:59:56 +02:00
Günther Deschner
1d4bf02993 lsa: fill in more unknowns in lsa_LookupSid calls.
Guenther
2009-09-11 13:59:56 +02:00
Matthias Dieter Wallnöfer
f74e8c266f s4:ldb_map_outbound - fix memory leak
Patch from Andrew Kroeger wasn't fully correct - we need a "talloc_free" after
the "if (ac->r_current == NULL)" statement.
2009-09-11 13:38:29 +02:00
Matthias Dieter Wallnöfer
049c780c59 netlogon.idl: indent correctly 2009-09-11 13:38:29 +02:00
Günther Deschner
8990865c7f lsa: use lsa_LookupNamesLevel in lsa_LookupSids{2,3}.
Guenther
2009-09-11 12:23:00 +02:00
Andrew Tridgell
c6647bfd17 s4-repl: on every ldb modify we need to update replPropertyMetaData
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 19:07:38 +10:00
Andrew Tridgell
741fe9d6a1 s4-repl: don't add the RDN if it is already there 2009-09-11 18:02:04 +10:00
Andrew Tridgell
5b20af988c s4-ldb: don't remove a message element beyond the end of the array 2009-09-11 18:02:04 +10:00
Günther Deschner
4e98f93775 s3-rpcclient: make netlogon credential setup also work for interdomain trusts.
Guenther
2009-09-11 09:59:05 +02:00
Günther Deschner
12c7025156 s3-rpcclient: avoid using lp_workgroup() unconditionally for crypto.
Guenther
2009-09-11 09:59:05 +02:00
Günther Deschner
bea8e5fa60 s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
032e01e7c1 s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp and cli_rpc_pipe_open_ntlmssp.
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
12acf6ca72 s3-rpcclient: use cli_rpc_pipe_open_noauth_transport in rpcclient.
Guenther
2009-09-11 09:59:04 +02:00
Günther Deschner
87f61a144b s3-rpc_client: add cli_rpc_pipe_open_noauth_transport.
Guenther
2009-09-11 09:59:03 +02:00
Andrew Tridgell
f009fa15a1 s4-provision: use DNS name, not domain name
The SPNs end in the DNS domain name
2009-09-11 17:14:01 +10:00
Andrew Tridgell
8c58cef875 s4-drs: actually call the new drsuapi_add_SPNs() code
An early return here didn't do any good :-)
2009-09-11 17:13:28 +10:00
Andrew Tridgell
88e2fbaf95 s4-drs: add the magic DRS SPNs on AddEntry
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 15:15:39 +10:00
Andrew Tridgell
d26c42f5bf s4/provision: add the nTDSDSA GUID based DNS entries and SPNs
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 14:07:22 +10:00
Andrew Tridgell
fdb8758e69 s4/drs: parentGUID needs to be specififcally asked for
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 14:07:19 +10:00
Andrew Tridgell
294e7cd566 s4/libcli: when we get a DNS lookup failure show the name
When tracking down complex connection problems its useful knowing what
name lookups failed.
2009-09-11 14:07:18 +10:00
Kamen Mazdrashki
bb6fda8a9a s4/tort: RPC-DRSUAPI test case refactored to match torture architecture 2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
b24203fcb8 s4/tort: code clean up using torture_drsuapi_assert_call() macro
After this change, when a test fails, it gives
reasonable failure message.
2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
5088caa69e s4/tort: assert macro for drsuapi dcerpc call
The macro actually wraps common code pattern used in
almost every test for DRSUAPI interface
2009-09-11 11:53:17 +10:00
Kamen Mazdrashki
a03e0c478d s4/tort: Propagate torture_context and use torture_comment
NOTE: Not every place where printf is used is replaced by
torture_comment. Future work shall "missed" printfs also.
2009-09-11 11:53:17 +10:00
Günther Deschner
c4f6fb0b2d s3-schannel: remove last schannel hand-marshalling function.
Guenther
2009-09-11 03:00:43 +02:00
Günther Deschner
d258fb4d0d s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server).
Guenther
2009-09-11 03:00:35 +02:00
Günther Deschner
cac5e64c00 s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.
Guenther
2009-09-11 02:58:34 +02:00
Günther Deschner
a155f3f9a9 s3-schannel: remove unused code.
Guenther
2009-09-11 02:57:35 +02:00
Günther Deschner
9ab5d9be8d s3-schannel: use NL_AUTH_MESSAGE for schannel bind reply.
Guenther
2009-09-11 02:57:27 +02:00