1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

6782 Commits

Author SHA1 Message Date
Jelmer Vernooij
819eeaef32 r10663: Eliminate use of pstring
(This used to be commit 57cfbe51e61e27098fad3f9b1113c6f8f69f9a55)
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
e3b8d856aa r10662: Eliminate pstring and friends.
(This used to be commit ecef1ee6cd0bdae2fcbff3f57edaa26eb72f3481)
2007-10-10 13:39:15 -05:00
Stefan Metzmacher
7368af9e74 r10653: give unknown levels a name basicly the *2 levels mean
that the update or inform should be propagaded to all servers

metze
(This used to be commit 33c7c101c024818694830ac11fefe70bd2edb1d4)
2007-10-10 13:39:15 -05:00
Tim Potter
cc8af00a93 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.
(This used to be commit 09d4abecb01fa9159243cfcb33051092f92cef3b)
2007-10-10 13:39:14 -05:00
Andrew Tridgell
6566c9dffe r10643: increase smbd max runtime when using valgrind
(This used to be commit c394a4a602edba49f00252d0376050c0bdc2f6a8)
2007-10-10 13:39:14 -05:00
Andrew Tridgell
588abdba90 r10641: fixed the error handling on search errors in the ildap backend
(This used to be commit e80d42933fe3cbc18cb229e47fffb9ca8068aca5)
2007-10-10 13:39:14 -05:00
Stefan Metzmacher
bb77c2aa1e 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
(This used to be commit 131e5dfe695d427e992b840439743f880b14d82d)
2007-10-10 13:39:14 -05:00
Stefan Metzmacher
f1c5227078 r10637: use the correct memory context in the ndr_pull_* function
to build the talloc hierachie correct

metze
(This used to be commit afd9dda5773d381550bdb061a8e345b33e1fc371)
2007-10-10 13:39:14 -05:00
Rafal Szczesniak
9bc38ce65f r10636: Formatting for better readability.
rafal
(This used to be commit ef29863d999089c47140bd37731c60659a200421)
2007-10-10 13:39:13 -05:00
Rafal Szczesniak
65271095d0 r10635: Formatting for better readability.
rafal
(This used to be commit 7b3a4096b5922e4a98ea0a74c0b92bc10d18cddd)
2007-10-10 13:39:13 -05:00
Rafal Szczesniak
2255f0b483 r10633: Formatting.
rafal
(This used to be commit 0e45dc3bac0e699b2da5b7f8df9d4bf7bd80a0f5)
2007-10-10 13:39:13 -05:00
Rafal Szczesniak
9c52b2a78e r10631: Formatting.
rafal
(This used to be commit 426797f7b0d0321f6842db0b8d94c193726e8008)
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
c2d7914428 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
(This used to be commit ba3685c41dc934692bd653f4fe9c0ee451146c40)
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
c91fa5c504 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
(This used to be commit 5fa13d6c2bd4cff9540ee97b3aa4c8a9c8e51fc5)
2007-10-10 13:39:12 -05:00
Stefan Metzmacher
08f16292a0 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
(This used to be commit b98efc2905e1147eb97111b46a877bdb9d8dd154)
2007-10-10 13:39:12 -05:00
Jelmer Vernooij
9cbafc42ee r10605: Forgot one file...
(This used to be commit 441419a08f0845af2b4c8023e1e5bcfda24a6d62)
2007-10-10 13:39:11 -05:00
Jelmer Vernooij
5e7a0fb534 r10604: Put in the new registry "patchfile" code (similar to ldif
for LDB); not finished yet.
(This used to be commit b405b27ba4bf4ddbaff9ca58926d94d1b2fd09f6)
2007-10-10 13:39:11 -05:00
Andrew Tridgell
0e90afb4e7 r10603: neaten up the ldb module initialisation code
(This used to be commit 8e7c4c98a7b4fd814f298fba1b6b686cb58339f8)
2007-10-10 13:39:11 -05:00
Andrew Bartlett
b0a5e91261 r10599: Use localhost again for now, until I trace where we are leaking name lookups.
Andrew Bartlett
(This used to be commit 23f834dd191c82b632333265a59b5e6d18d5426b)
2007-10-10 13:39:10 -05:00
Andrew Bartlett
f9fea8ba77 r10598: Factor out common code, in preperation for a move elsewhere.
Andrew Bartlett
(This used to be commit 0d757b169a3d521a0d228bed51aa96cf199d5c42)
2007-10-10 13:39:10 -05:00
Andrew Bartlett
66af2d9e42 r10597: And add the .mk files for the new credentials subsystem.
Andrew Bartlett
(This used to be commit 51a0275a0e7ffc940f2403f3c74a00b3936a07f4)
2007-10-10 13:39:09 -05:00
Andrew Bartlett
a12a6686ba r10596: Move the credentials code into it's own subsystem, and push it under auth/
Andrew Bartlett
(This used to be commit 2e76a4b8efd59c496d64241d654538d3222545c6)
2007-10-10 13:39:09 -05:00
Andrew Bartlett
e6fbd02b90 r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos.

Andrew Bartlett
(This used to be commit a67b87cb6eba6548c4a74d7b46dd31d109fc538b)
2007-10-10 13:39:09 -05:00
Jelmer Vernooij
3b12c3bd34 r10594: Add initial framework for lib/registry torture tests
(This used to be commit 985c6a8fcc9977553d714a7d5e272b0791d45d1e)
2007-10-10 13:39:09 -05:00
Andrew Bartlett
40e214e919 r10593: Add printf attribute
Andrew Bartlett
(This used to be commit ba11061b96e26900fd09c32b95c2af934c1e2070)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
87af8061c7 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?
(This used to be commit 8fa383f182f1c4479979455968dd690edc0117ea)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
4abb479761 r10588: Remove more unused files, macros
(This used to be commit d2f80c0457f7404b2cac9df59a400130e9ad025f)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
dc67354579 r10587: Remove unused constants
(This used to be commit b65c9dc607bf229f4f6f7e2112f88f5a08e9feb5)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
09ee7a470b r10582: Nicer output (try to avoid linewraps)
(This used to be commit 908b88843ffe1026341166d0338a835121c8e641)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
73028ea572 r10581: Remove some unused globals + make static
(This used to be commit 236bd1b97f6e3b97739839fd043a2388384e1abc)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
ca92ed140c r10580: More generic approach for adding endpoints
(This used to be commit 0ef7fe6f4c979dcc3a0ab268253e493d8e929dd7)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
5a1cf98998 r10579: str_list_make() can return NULL
(This used to be commit f547ab4644fd1c8ae2e44a25e874abf35e02d986)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
40a6f8f2b2 r10578: Run LOCAL-STRLIST by default
(This used to be commit 997eabee80f54ae864400dbac8273b34bdf6bb2b)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
ffbd9313e2 r10577: Fix error in ReadFile()
(This used to be commit 04b8c473d7d55d4d802631074843e43fe7d9cfea)
2007-10-10 13:39:06 -05:00
Jelmer Vernooij
4ad69c3dee r10576: Add testprog for named pipes. Also add GNUmakefile's for cross-compilation
using mingw32
(This used to be commit 30ba8fdc3dc8dba543686591a27b819b8f9444db)
2007-10-10 13:39:06 -05:00
Stefan Metzmacher
f7c5e5a398 r10569: add all info that we have to wrepl_name, as we need it for replication :-)
metze
(This used to be commit bfd548ca10134d5a17b87a0507917721aa251223)
2007-10-10 13:39:06 -05:00
Andrew Bartlett
2ca10397af r10566: Clean up error messages to provide more accurate info.
Andrew Bartlett
(This used to be commit 640815008b78ca19a73beb523e6823dd61feffa5)
2007-10-10 13:39:06 -05:00
Andrew Bartlett
718dd6dda6 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
(This used to be commit 49c6c36763aae23880a20a8ee50c00e8935d8548)
2007-10-10 13:39:06 -05:00
Andrew Bartlett
f54b3650d6 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
(This used to be commit 7afe14becbcfa8742740431884f9de92b72ed3e1)
2007-10-10 13:39:05 -05:00
Andrew Bartlett
9d9e7d8563 r10563: a null 'join' is a no-op.
Andrew Bartlett
(This used to be commit cd70e8baf5bccfd11ade342f6692ea7f7bf2eef4)
2007-10-10 13:39:04 -05:00
Andrew Bartlett
81097e20e7 r10562: Ensure we initalise the error table with hdb errors. This ensures we
get good text error strings.

Andrew Bartlett
(This used to be commit 0600202067c00dd5d5d8be2d6559f66b46108f07)
2007-10-10 13:39:04 -05:00
Andrew Bartlett
8407a1a866 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
(This used to be commit 3b09f9e8f9f6f645cd03073ef833c8d0fb0d84e2)
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
0b2c6aec92 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
(This used to be commit ff1272347739696dcdf2fd191b8f47ca82c205de)
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
5880f79f4f r10545: map ECONNRESET to NT_STATUS_CONNECTION_RESET
metze
(This used to be commit e753114e863ff0ea32b35ef30a6f0056cfa7c902)
2007-10-10 13:39:04 -05:00
Stefan Metzmacher
1c701527ff r10542: if the transport is dead we need to return
tridge: I think this is correct, comments?

metze
(This used to be commit e06ca726f3df013d869d943338bc6b7a151cdd3f)
2007-10-10 13:39:03 -05:00
Stefan Metzmacher
ad5b64b0aa r10540: fix compiler warning
metze
(This used to be commit 2bcc7747d9ee0635d4406eba7c1a9e2ae39fe714)
2007-10-10 13:39:03 -05:00
Stefan Metzmacher
38e43be7b8 r10537: - we now use a much nicer way to handle talloc_free(timed_event)
the events code replaces a destructor to one that returns allways -1
  while it's calling the event handler
- we don't need the composite and winsrepl specific fixes any more
- this also fixes the problem with smbcli, dcerpc, cldap, ldap and nbt
  request timeouts

metze
(This used to be commit 495996cfc49a1c6eefde6ff04fc75e0739be3aab)
2007-10-10 13:39:03 -05:00
Andrew Tridgell
82ae72a0cf r10535: fixed the pidfile code (it didn't survive the recent pstring changes)
(This used to be commit 1b9e6579931c9ff367ab032d0d2aadf95dcb3e63)
2007-10-10 13:39:03 -05:00
Jelmer Vernooij
04b7fb64e1 r10533: Eliminate another use of next_token()
(This used to be commit cff17c6ac7e4fad730b6ef05e09499fff32c694a)
2007-10-10 13:39:03 -05:00