Andrew Tridgell
fd6d895ebd
r10668: added a ildap_search_bytree() function
2007-10-10 13:39:16 -05:00
Andrew Tridgell
26ff538578
r10667: cope with a NULL tree for base searches in ldb_search()
2007-10-10 13:39:16 -05:00
Andrew Tridgell
af24f3d7fa
r10666: - reverse the ildap ldb backend so tree based searches go through
...
directly, and expression based searches are converted to trees. This
makes for less conversions.
- allow the caller to supply a set of credentials via the ldb opaque
name 'credentials'. I will be using this in my ldb proxy module.
2007-10-10 13:39:16 -05:00
Andrew Tridgell
0d4a900ce5
r10665: fixed some crash errors and an error encoding AND and OR operations in the expression parsing code
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
dc3dc79674
r10664: Include limits.h in replace.h for HOST_NAME_MAX
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
57cfbe51e6
r10663: Eliminate use of pstring
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
ecef1ee6cd
r10662: Eliminate pstring and friends.
2007-10-10 13:39:15 -05:00
Stefan Metzmacher
33c7c101c0
r10653: give unknown levels a name basicly the *2 levels mean
...
that the update or inform should be propagaded to all servers
metze
2007-10-10 13:39:15 -05:00
Tim Potter
09d4abecb0
r10646: Hey Jelmer what do you think of this? The SConscript for the libcli
...
directory now looks like the config.mk file but with different
punctuation.
The only weird bit is that it creates a proto.h file for each subsystem.
2007-10-10 13:39:14 -05:00
Andrew Tridgell
c394a4a602
r10643: increase smbd max runtime when using valgrind
2007-10-10 13:39:14 -05:00
Andrew Tridgell
e80d42933f
r10641: fixed the error handling on search errors in the ildap backend
2007-10-10 13:39:14 -05:00
Stefan Metzmacher
131e5dfe69
r10638: - add wrepl_socket_merge() function that creates a wrepl_socket on top
...
of an existing socket, that is needed to handle WREPL_REPL_UPDATE
in the server, because we need to flig the connection and act as client on it
metze
2007-10-10 13:39:14 -05:00
Stefan Metzmacher
afd9dda577
r10637: use the correct memory context in the ndr_pull_* function
...
to build the talloc hierachie correct
metze
2007-10-10 13:39:14 -05:00
Rafal Szczesniak
ef29863d99
r10636: Formatting for better readability.
...
rafal
2007-10-10 13:39:13 -05:00
Rafal Szczesniak
7b3a4096b5
r10635: Formatting for better readability.
...
rafal
2007-10-10 13:39:13 -05:00
Rafal Szczesniak
0e45dc3bac
r10633: Formatting.
...
rafal
2007-10-10 13:39:13 -05:00
Rafal Szczesniak
426797f7b0
r10631: Formatting.
...
rafal
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
ba3685c41d
r10627: - use a wrepl specific enum for the node type
...
- the unknown flag 0x10 seems to mean that this name was localy registered on this
currently asked server, that flag is not present in replica records
metze
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
5fa13d6c2b
r10610: forgot one file in the last commit:
...
make wrepl_nbt_name a scalar type that is another
wire representation of struct nbt_name
give wrepl_name->flags a meaning
metze
2007-10-10 13:39:12 -05:00
Stefan Metzmacher
b98efc2905
r10608: - fix hierachical memory handling in ndr_pull_nbt_name
...
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer
instead of the caller
- give the flags and group_flag in the wrepl_name a meaning
metze
2007-10-10 13:39:12 -05:00
Jelmer Vernooij
441419a08f
r10605: Forgot one file...
2007-10-10 13:39:11 -05:00
Jelmer Vernooij
b405b27ba4
r10604: Put in the new registry "patchfile" code (similar to ldif
...
for LDB); not finished yet.
2007-10-10 13:39:11 -05:00
Andrew Tridgell
8e7c4c98a7
r10603: neaten up the ldb module initialisation code
2007-10-10 13:39:11 -05:00
Andrew Bartlett
23f834dd19
r10599: Use localhost again for now, until I trace where we are leaking name lookups.
...
Andrew Bartlett
2007-10-10 13:39:10 -05:00
Andrew Bartlett
0d757b169a
r10598: Factor out common code, in preperation for a move elsewhere.
...
Andrew Bartlett
2007-10-10 13:39:10 -05:00
Andrew Bartlett
51a0275a0e
r10597: And add the .mk files for the new credentials subsystem.
...
Andrew Bartlett
2007-10-10 13:39:09 -05:00
Andrew Bartlett
2e76a4b8ef
r10596: Move the credentials code into it's own subsystem, and push it under auth/
...
Andrew Bartlett
2007-10-10 13:39:09 -05:00
Andrew Bartlett
a67b87cb6e
r10595: Use a server name of 'localtest' not 'localhost', so we can move to
...
testing kerberos.
Andrew Bartlett
2007-10-10 13:39:09 -05:00
Jelmer Vernooij
985c6a8fcc
r10594: Add initial framework for lib/registry torture tests
2007-10-10 13:39:09 -05:00
Andrew Bartlett
ba11061b96
r10593: Add printf attribute
...
Andrew Bartlett
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
8fa383f182
r10592: Add "adfgets()" function, which allocates and reads a line from a fd.
...
Also add torture tests for this function and file_{load,save}. I've hardcoded
a file name here.. should I handle that neater somehow?
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
d2f80c0457
r10588: Remove more unused files, macros
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
b65c9dc607
r10587: Remove unused constants
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
b53313dc51
r10586: Add MergedObject() builder. Default to Library() rather
...
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
908b88843f
r10582: Nicer output (try to avoid linewraps)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
236bd1b97f
r10581: Remove some unused globals + make static
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
0ef7fe6f4c
r10580: More generic approach for adding endpoints
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
f547ab4644
r10579: str_list_make() can return NULL
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
997eabee80
r10578: Run LOCAL-STRLIST by default
2007-10-10 13:39:07 -05:00
Stefan Metzmacher
bfd548ca10
r10569: add all info that we have to wrepl_name, as we need it for replication :-)
...
metze
2007-10-10 13:39:06 -05:00
Andrew Bartlett
640815008b
r10566: Clean up error messages to provide more accurate info.
...
Andrew Bartlett
2007-10-10 13:39:06 -05:00
Andrew Bartlett
49c6c36763
r10565: Try to make Kerberos authentication a bit more friendly.
...
This disables it for 'localhost' as well as for any host our KDC does
not recognise.
Andrew Bartlett
2007-10-10 13:39:06 -05:00
Andrew Bartlett
7afe14becb
r10564: Make the RPC-SCHANNEL test use the libnet_join code via torture_join_domain
...
Handle error cases in torture_create_testuser, where we can't connect
to the target server (we were segfaulting due to an untested error
path).
Andrew Bartlett
2007-10-10 13:39:05 -05:00
Andrew Bartlett
cd70e8baf5
r10563: a null 'join' is a no-op.
...
Andrew Bartlett
2007-10-10 13:39:04 -05:00
Andrew Bartlett
0600202067
r10562: Ensure we initalise the error table with hdb errors. This ensures we
...
get good text error strings.
Andrew Bartlett
2007-10-10 13:39:04 -05:00
Andrew Bartlett
3b09f9e8f9
r10561: This patch takes over KDC socket routines in Heimdal, and directs them
...
at the Samba4 socket layer.
The intention here is to ensure that other events may be processed while
heimdal is waiting on the KDC. The interface is designed to be
sufficiently flexible, so that the plugin may choose how to time
communication with the KDC (ie multiple outstanding requests, looking
for a functional KDC).
I've hacked the socket layer out of cldap.c to handle this very
specific case of one udp packet and reply. Likewise I also handle
TCP, stolen from the winbind code.
This same plugin system might also be useful for a self-contained
testing mode in Heimdal, in conjunction with libkdc. I would suggest
using socket-wrapper instead however.
Andrew Bartlett
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
ff12723477
r10547: - add wrepl_request timeout handling
...
- when we got an unexpected READ event, we need to do a socket_recv() to find connection errors
and we need to mark the socket as dead (and remove the fde_event) to prevent,
endless loops on broken connections
tridge: we should look carefull at other protocol, to handle broken connections without spinning
metze
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
e753114e86
r10545: map ECONNRESET to NT_STATUS_CONNECTION_RESET
...
metze
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
e06ca726f3
r10542: if the transport is dead we need to return
...
tridge: I think this is correct, comments?
metze
2007-10-10 13:39:03 -05:00
Stefan Metzmacher
2bcc7747d9
r10540: fix compiler warning
...
metze
2007-10-10 13:39:03 -05:00