summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10669: reverted jelmers commit 10663 as it was causing lots of panics in ↵Andrew Tridgell2-8/+13
'make test' I also think the method of getting rid of pstring isn't the right one. I certainly do want to get rid of pstring/fstring, but the reason for removing them is the use of arbitrary sized fixed length strings on the stack and in structures. Changing to another fixed length stack string format isn't really a win, and moving to use strncpy() is actually worse than pstrcpy() as strncpy() has the absolutely awful semantics of always zeroing all remaining bytes, so it ends up taking a lot of cpu doing pointless memory writes. I'd rather move to more use of asprintf()/talloc_asprintf() and similar functions for dynamic string allocation. You also have to be very careful about some of these system defined string limits. One some systems PATH_MAX could be 64k or even larger, which can quickly blow the stack out when you allocate a few of them. (This used to be commit 194efd26e42d621b239052ed1fec8da916bd2144)
2007-10-10r10668: added a ildap_search_bytree() functionAndrew Tridgell1-5/+20
(This used to be commit fd6d895ebdb201ac6afaf5c8ec84d003765cdff6)
2007-10-10r10667: cope with a NULL tree for base searches in ldb_search()Andrew Tridgell1-11/+11
(This used to be commit 26ff53857802ae4a63f2b6e46c9caa7ca2fbbe89)
2007-10-10r10666: - reverse the ildap ldb backend so tree based searches go throughAndrew Tridgell1-22/+28
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. (This used to be commit af24f3d7faac6ef74feef73a23345d8c484da07c)
2007-10-10r10665: fixed some crash errors and an error encoding AND and OR operations ↵Andrew Tridgell1-3/+16
in the expression parsing code (This used to be commit 0d4a900ce5705856d61c6dd4ccb8fdbd049d22b7)
2007-10-10r10664: Include limits.h in replace.h for HOST_NAME_MAXJelmer Vernooij2-22/+21
(This used to be commit dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
2007-10-10r10663: Eliminate use of pstringJelmer Vernooij2-13/+8
(This used to be commit 57cfbe51e61e27098fad3f9b1113c6f8f69f9a55)
2007-10-10r10662: Eliminate pstring and friends.Jelmer Vernooij1-8/+6
(This used to be commit ecef1ee6cd0bdae2fcbff3f57edaa26eb72f3481)
2007-10-10r10653: give unknown levels a name basicly the *2 levels meanStefan Metzmacher1-4/+4
that the update or inform should be propagaded to all servers metze (This used to be commit 33c7c101c024818694830ac11fefe70bd2edb1d4)
2007-10-10r10646: Hey Jelmer what do you think of this? The SConscript for the libcliTim Potter2-69/+147
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. (This used to be commit 09d4abecb01fa9159243cfcb33051092f92cef3b)
2007-10-10r10643: increase smbd max runtime when using valgrindAndrew Tridgell1-1/+5
(This used to be commit c394a4a602edba49f00252d0376050c0bdc2f6a8)
2007-10-10r10641: fixed the error handling on search errors in the ildap backendAndrew Tridgell1-0/+1
(This used to be commit e80d42933fe3cbc18cb229e47fffb9ca8068aca5)
2007-10-10r10638: - add wrepl_socket_merge() function that creates a wrepl_socket on topStefan Metzmacher2-0/+45
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 (This used to be commit 131e5dfe695d427e992b840439743f880b14d82d)
2007-10-10r10637: use the correct memory context in the ndr_pull_* functionStefan Metzmacher2-17/+29
to build the talloc hierachie correct metze (This used to be commit afd9dda5773d381550bdb061a8e345b33e1fc371)
2007-10-10r10636: Formatting for better readability.Rafal Szczesniak2-6/+15
rafal (This used to be commit ef29863d999089c47140bd37731c60659a200421)
2007-10-10r10635: Formatting for better readability.Rafal Szczesniak1-4/+4
rafal (This used to be commit 7b3a4096b5922e4a98ea0a74c0b92bc10d18cddd)
2007-10-10r10633: Formatting.Rafal Szczesniak1-3/+4
rafal (This used to be commit 0e45dc3bac0e699b2da5b7f8df9d4bf7bd80a0f5)
2007-10-10r10631: Formatting.Rafal Szczesniak1-3/+3
rafal (This used to be commit 426797f7b0d0321f6842db0b8d94c193726e8008)
2007-10-10r10627: - use a wrepl specific enum for the node typeStefan Metzmacher4-7/+14
- 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 (This used to be commit ba3685c41dc934692bd653f4fe9c0ee451146c40)
2007-10-10r10610: forgot one file in the last commit:Stefan Metzmacher1-5/+37
make wrepl_nbt_name a scalar type that is another wire representation of struct nbt_name give wrepl_name->flags a meaning metze (This used to be commit 5fa13d6c2bd4cff9540ee97b3aa4c8a9c8e51fc5)
2007-10-10r10608: - fix hierachical memory handling in ndr_pull_nbt_nameStefan Metzmacher5-55/+152
- 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 (This used to be commit b98efc2905e1147eb97111b46a877bdb9d8dd154)
2007-10-10r10605: Forgot one file...Jelmer Vernooij1-0/+416
(This used to be commit 441419a08f0845af2b4c8023e1e5bcfda24a6d62)
2007-10-10r10604: Put in the new registry "patchfile" code (similar to ldifJelmer Vernooij9-878/+77
for LDB); not finished yet. (This used to be commit b405b27ba4bf4ddbaff9ca58926d94d1b2fd09f6)
2007-10-10r10603: neaten up the ldb module initialisation codeAndrew Tridgell2-63/+33
(This used to be commit 8e7c4c98a7b4fd814f298fba1b6b686cb58339f8)
2007-10-10r10599: Use localhost again for now, until I trace where we are leaking name ↵Andrew Bartlett1-1/+1
lookups. Andrew Bartlett (This used to be commit 23f834dd191c82b632333265a59b5e6d18d5426b)
2007-10-10r10598: Factor out common code, in preperation for a move elsewhere.Andrew Bartlett1-11/+7
Andrew Bartlett (This used to be commit 0d757b169a3d521a0d228bed51aa96cf199d5c42)
2007-10-10r10597: And add the .mk files for the new credentials subsystem.Andrew Bartlett2-0/+12
Andrew Bartlett (This used to be commit 51a0275a0e7ffc940f2403f3c74a00b3936a07f4)
2007-10-10r10596: Move the credentials code into it's own subsystem, and push it under ↵Andrew Bartlett5-489/+545
auth/ Andrew Bartlett (This used to be commit 2e76a4b8efd59c496d64241d654538d3222545c6)
2007-10-10r10595: Use a server name of 'localtest' not 'localhost', so we can move toAndrew Bartlett4-17/+22
testing kerberos. Andrew Bartlett (This used to be commit a67b87cb6eba6548c4a74d7b46dd31d109fc538b)
2007-10-10r10594: Add initial framework for lib/registry torture testsJelmer Vernooij3-1/+100
(This used to be commit 985c6a8fcc9977553d714a7d5e272b0791d45d1e)
2007-10-10r10593: Add printf attributeAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit ba11061b96e26900fd09c32b95c2af934c1e2070)
2007-10-10r10592: Add "adfgets()" function, which allocates and reads a line from a fd.Jelmer Vernooij4-2/+153
Also add torture tests for this function and file_{load,save}. I've hardcoded a file name here.. should I handle that neater somehow? (This used to be commit 8fa383f182f1c4479979455968dd690edc0117ea)
2007-10-10r10588: Remove more unused files, macrosJelmer Vernooij9-90/+24
(This used to be commit d2f80c0457f7404b2cac9df59a400130e9ad025f)
2007-10-10r10587: Remove unused constantsJelmer Vernooij1-91/+0
(This used to be commit b65c9dc607bf229f4f6f7e2112f88f5a08e9feb5)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij45-161/+194
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10r10582: Nicer output (try to avoid linewraps)Jelmer Vernooij1-1/+3
(This used to be commit 908b88843ffe1026341166d0338a835121c8e641)
2007-10-10r10581: Remove some unused globals + make staticJelmer Vernooij1-26/+4
(This used to be commit 236bd1b97f6e3b97739839fd043a2388384e1abc)
2007-10-10r10580: More generic approach for adding endpointsJelmer Vernooij2-44/+39
(This used to be commit 0ef7fe6f4c979dcc3a0ab268253e493d8e929dd7)
2007-10-10r10579: str_list_make() can return NULLJelmer Vernooij2-1/+4
(This used to be commit f547ab4644fd1c8ae2e44a25e874abf35e02d986)
2007-10-10r10578: Run LOCAL-STRLIST by defaultJelmer Vernooij1-1/+1
(This used to be commit 997eabee80f54ae864400dbac8273b34bdf6bb2b)
2007-10-10r10569: add all info that we have to wrepl_name, as we need it for ↵Stefan Metzmacher3-8/+24
replication :-) metze (This used to be commit bfd548ca10134d5a17b87a0507917721aa251223)
2007-10-10r10566: Clean up error messages to provide more accurate info.Andrew Bartlett1-5/+10
Andrew Bartlett (This used to be commit 640815008b78ca19a73beb523e6823dd61feffa5)
2007-10-10r10565: Try to make Kerberos authentication a bit more friendly.Andrew Bartlett2-10/+35
This disables it for 'localhost' as well as for any host our KDC does not recognise. Andrew Bartlett (This used to be commit 49c6c36763aae23880a20a8ee50c00e8935d8548)
2007-10-10r10564: Make the RPC-SCHANNEL test use the libnet_join code via ↵Andrew Bartlett2-4/+32
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 (This used to be commit 7afe14becbcfa8742740431884f9de92b72ed3e1)
2007-10-10r10563: a null 'join' is a no-op.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit cd70e8baf5bccfd11ade342f6692ea7f7bf2eef4)
2007-10-10r10562: Ensure we initalise the error table with hdb errors. This ensures weAndrew Bartlett2-0/+3
get good text error strings. Andrew Bartlett (This used to be commit 0600202067c00dd5d5d8be2d6559f66b46108f07)
2007-10-10r10561: This patch takes over KDC socket routines in Heimdal, and directs themAndrew Bartlett5-10/+412
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 (This used to be commit 3b09f9e8f9f6f645cd03073ef833c8d0fb0d84e2)
2007-10-10r10547: - add wrepl_request timeout handlingStefan Metzmacher2-15/+69
- 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 (This used to be commit ff1272347739696dcdf2fd191b8f47ca82c205de)
2007-10-10r10545: map ECONNRESET to NT_STATUS_CONNECTION_RESETStefan Metzmacher1-0/+3
metze (This used to be commit e753114e863ff0ea32b35ef30a6f0056cfa7c902)
2007-10-10r10542: if the transport is dead we need to returnStefan Metzmacher1-0/+3
tridge: I think this is correct, comments? metze (This used to be commit e06ca726f3df013d869d943338bc6b7a151cdd3f)