ab/samba.git/.git
16 years agor15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
Stefan Metzmacher [Thu, 11 May 2006 10:47:37 +0000 (10:47 +0000)]
r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
(This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)

16 years agor15530: added testing of generic CLDAP requests, looking at the rootDSE. Jerry
Andrew Tridgell [Thu, 11 May 2006 02:57:41 +0000 (02:57 +0000)]
r15530: added testing of generic CLDAP requests, looking at the rootDSE. Jerry
has found that w2k3 does respond to rootDSE cldap requests. This test
shows that it does indeed work, but the expression handling is not
what you would expect
(This used to be commit 388e98e77cfd1603156ea431877e40ac886d9c08)

16 years agor15524: fix a problem with rpc faults from bind and alter context
Andrew Tridgell [Wed, 10 May 2006 05:57:20 +0000 (05:57 +0000)]
r15524: fix a problem with rpc faults from bind and alter context
requests. The fix involves using the same packet queue mechanism for
these requests as normal requests, which also simplifies the code
somewhat
(This used to be commit 2e7f5add13da3061d2f2e2869d10df06b3a98f40)

16 years agor15522: allow cifs:map_trans2 per share
Stefan Metzmacher [Tue, 9 May 2006 15:50:35 +0000 (15:50 +0000)]
r15522: allow cifs:map_trans2 per share

metze
(This used to be commit da82e2bc45c23cc46f3013b38078229755b4ea61)

16 years agor15521: Take an optional subsystem name to generate a dependency graph for
Jelmer Vernooij [Tue, 9 May 2006 09:41:40 +0000 (09:41 +0000)]
r15521: Take an optional subsystem name to generate a dependency graph for
just that subsystem
(This used to be commit 3fae92eef5d2f591dd40c4c07e20baa1c4a33211)

16 years agor15518: the 'password' option in POPT_COMMON_CREDENTIALS was conflicting with
Andrew Tridgell [Tue, 9 May 2006 03:50:32 +0000 (03:50 +0000)]
r15518: the 'password' option in POPT_COMMON_CREDENTIALS was conflicting with
the password option in newuser. Move the local options above the
global options to fix.
(This used to be commit 2adcd4ff4ec1ef867b91274d994c39e7c0fdaad2)

16 years agor15517: fixed the segv in provision. The problem was that SAMBA_VERSION_STRING
Andrew Tridgell [Tue, 9 May 2006 03:41:11 +0000 (03:41 +0000)]
r15517: fixed the segv in provision. The problem was that SAMBA_VERSION_STRING
was defined recursively as the mkversion.sh script was putting the new
version in the wrong spot
(This used to be commit 962afd362cd5612ef6b527b24c8f80c98eafe984)

16 years agor15515: Syncronsise with current lorikeet-heimdal.
Andrew Bartlett [Mon, 8 May 2006 23:30:40 +0000 (23:30 +0000)]
r15515: Syncronsise with current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit 0132312124260f74001546a34ff96db89d72b7f6)

16 years agor15514: Fix include
Jelmer Vernooij [Mon, 8 May 2006 13:10:23 +0000 (13:10 +0000)]
r15514: Fix include
(This used to be commit 242f0f23b506cd441a63f26a8167af383477521f)

16 years agor15513: only run 'svn info' and 'svk info' once
Stefan Metzmacher [Mon, 8 May 2006 13:09:09 +0000 (13:09 +0000)]
r15513: only run 'svn info' and 'svk info' once

metze
(This used to be commit 82cd1de3fb061e0f02455be06506b5aed157b0e5)

16 years agor15512: Move uuid functions out of ndr_misc.c
Jelmer Vernooij [Mon, 8 May 2006 12:54:39 +0000 (12:54 +0000)]
r15512: Move uuid functions out of ndr_misc.c
(This used to be commit 54cc9f8ccf30a0f5de1d3bb68d15ec3a8791c162)

16 years agor15511: Using this name causes less warnings on the IBM checker, due to using
Andrew Bartlett [Mon, 8 May 2006 09:24:07 +0000 (09:24 +0000)]
r15511: Using this name causes less warnings on the IBM checker, due to using
the original, rather than equivilant, enum type.

Andrew Bartlett
(This used to be commit 3d43e458a828801a294e56a1aeb74a4d7cbf9f23)

16 years agor15510: As discussed on samba-technical, move the VERSION system back to a
Andrew Bartlett [Mon, 8 May 2006 08:27:22 +0000 (08:27 +0000)]
r15510: As discussed on samba-technical, move the VERSION system back to a
#define based system only.  This avoids allocation in the fault code.

Andrew Bartlett
(This used to be commit 31c97b4e67ba6a188d0ed4844ca4f2f86f29514f)

16 years agor15507: if we change the idl, we need to change the calling code too:-)
Stefan Metzmacher [Sun, 7 May 2006 21:56:26 +0000 (21:56 +0000)]
r15507: if we change the idl, we need to change the calling code too:-)

is it possible to run the RPC-UNIXINFO test in samba4's make test?

metze
(This used to be commit a00063eeb308dae8396e3b79ed5dd7884652f1ba)

16 years agor15505: - add 'generic' alias to smb_seek and smb_flush
Stefan Metzmacher [Sun, 7 May 2006 20:53:45 +0000 (20:53 +0000)]
r15505: - add 'generic' alias to smb_seek and smb_flush
- add struct ntvfs_handle pointer to smb_file, this will
  later be used by the ntvfs backends

metze
(This used to be commit 8322fc70adbb951ad72b97dfcc91467c1d906afe)

16 years agor15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my head
Andrew Bartlett [Sun, 7 May 2006 19:55:14 +0000 (19:55 +0000)]
r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my head
around the mess that is composite functions...

Async might be all the rage, but it's bloody painful to debug.

Andrew Bartlett
(This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)

16 years agor15503: I may shortly have to revert all of this, but be clearer about how we
Andrew Bartlett [Sun, 7 May 2006 19:36:06 +0000 (19:36 +0000)]
r15503: I may shortly have to revert all of this, but be clearer about how we
handle the NTLMSSP and wrong password fallbacks.

Andrew Bartlett
(This used to be commit dbf51ea985e0b300631e2070e91d4d901c784c44)

16 years agor15502: Typo fix.
Rafal Szczesniak [Sun, 7 May 2006 19:26:48 +0000 (19:26 +0000)]
r15502: Typo fix.

rafal
(This used to be commit f076041ff16cbc3f58d0d6244fc0857b34533dda)

16 years agor15501: Allow interactive password prompting on kerberos as well.
Andrew Bartlett [Sun, 7 May 2006 18:21:55 +0000 (18:21 +0000)]
r15501: Allow interactive password prompting on kerberos as well.

Andrew Bartlett
(This used to be commit 7003c3e8dee2d2bfc391875d90eb747616cb361a)

16 years agor15500: Add support for interactive prompting on bad passwords to the RPC libraries.
Andrew Bartlett [Sun, 7 May 2006 18:11:47 +0000 (18:11 +0000)]
r15500: Add support for interactive prompting on bad passwords to the RPC libraries.

This support requires that the bind_ack and alter_ack recv functions
also be send the DCE/RPC fault.  This would be best done by having the
ack run as a normal RPC reply callback, but this isn't easily possible
for now.

Andrew Bartlett
(This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)

16 years agor15499: This test can't run if the remote server won't let us open a policy handle.
Andrew Bartlett [Sun, 7 May 2006 18:09:54 +0000 (18:09 +0000)]
r15499: This test can't run if the remote server won't let us open a policy handle.

Andrew Bartlett
(This used to be commit ca0ffb1218f3c2482b6b04463e627accd03d8cf9)

16 years agor15498: Initialise the callback_running field, and get the flag set/clear the
Andrew Bartlett [Sun, 7 May 2006 18:08:57 +0000 (18:08 +0000)]
r15498: Initialise the callback_running field, and get the flag set/clear the
right way around for all the callers.

Andrew Bartlett
(This used to be commit f9bcfb04aa3ec93eed7076dbb1fed50cf1edb424)

16 years agor15497: I'm not really sure this is correct in terms of how we should be responding to
Andrew Bartlett [Sun, 7 May 2006 17:55:20 +0000 (17:55 +0000)]
r15497: I'm not really sure this is correct in terms of how we should be responding to

krbtgt/MY.REALM@MY.REALM

TGS ticket requests, but for the moment, these are still marked as
'server' requests by the kerberos5.c caller.

Andrew Bartlett
(This used to be commit afaee0a6b7aba3db118e6529c341c9377bc26546)

16 years agor15491: Always initialise is_cfx (found by Valgrind)
Andrew Bartlett [Sun, 7 May 2006 15:02:27 +0000 (15:02 +0000)]
r15491: Always initialise is_cfx (found by Valgrind)

Always remember to free the crypto context (found by Luke Howard)
(This used to be commit 4b44355d42592f4acaae459c6ae09dd928f083b7)

16 years agor15490: Typo fixes and remove long forgotten commented piece.
Rafal Szczesniak [Sun, 7 May 2006 13:40:56 +0000 (13:40 +0000)]
r15490: Typo fixes and remove long forgotten commented piece.

rafal
(This used to be commit a2f6dc786031aa368b0398c21baf18cf82375c46)

16 years agor15489: Typo fixes.
Rafal Szczesniak [Sun, 7 May 2006 13:39:53 +0000 (13:39 +0000)]
r15489: Typo fixes.

rafal
(This used to be commit 221907fc0d0141c6c73f10f2dc829879205b9bcb)

16 years agor15488: This structure is not needed any longer.
Rafal Szczesniak [Sun, 7 May 2006 13:12:12 +0000 (13:12 +0000)]
r15488: This structure is not needed any longer.

rafal
(This used to be commit 45cd7bc4ec152c8623c134c6f33bcd3edbb1ff5e)

16 years agor15487: More comments and a few minor changes (not even fixes).
Rafal Szczesniak [Sun, 7 May 2006 12:51:53 +0000 (12:51 +0000)]
r15487: More comments and a few minor changes (not even fixes).

rafal
(This used to be commit 12d0faf9bc4c97b61879e8f7bb0419f4553bb340)

16 years agor15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.
Andrew Bartlett [Sun, 7 May 2006 11:15:52 +0000 (11:15 +0000)]
r15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.

This also tests that the server accepts the incorrect GSSAPI checksum,
and that we get the right session key.

Andrew Bartlett
(This used to be commit 888e2b7f4ec8e50869d323e51f191e018f8620ec)

16 years agor15485: This 'fake' GSSAPI doesn't do the extra SASL negotiation correctly, so
Andrew Bartlett [Sun, 7 May 2006 11:14:46 +0000 (11:14 +0000)]
r15485: This 'fake' GSSAPI doesn't do the extra SASL negotiation correctly, so
don't attribute the GSSAPI SASL mech to it.

Andrew Bartlett
(This used to be commit 23a4db28ed825bc8c45e5f704137a72386394f45)

16 years agor15484: Make accept_security_context() more compatible with how Samba3 (and
Andrew Bartlett [Sun, 7 May 2006 09:28:49 +0000 (09:28 +0000)]
r15484: Make accept_security_context() more compatible with how Samba3 (and
similarly built clients) behave.

This is better than just ignoring the checksum, if it isn't the GSSAPI
checksum.  (Samba4 clients in Samba3 mode use more than just the MD5
checksum, and will use a signed AES checksum if available.  Actual
samba3 may well do the same in future, against a suitable KDC).

Also a change for easier debugging of checksum issues.

Andrew Bartlett
(This used to be commit 120374f5f9e9af0653a26e0308e4bfdabbcaa3f3)

16 years agor15482: Don't shadow the global function pipe() with a local variable name.
Andrew Bartlett [Sun, 7 May 2006 05:35:52 +0000 (05:35 +0000)]
r15482: Don't shadow the global function pipe() with a local variable name.

Andrew Bartlett
(This used to be commit ed4ab63c2dd811d07594ba397ed22f9d02eeb63a)

16 years agor15481: Update heimdal/ to match current lorikeet-heimdal.
Andrew Bartlett [Sun, 7 May 2006 04:51:30 +0000 (04:51 +0000)]
r15481: Update heimdal/ to match current lorikeet-heimdal.

This includes many useful upstream changes, many of which should
reduce warnings in our compile.

It also includes a change to the HDB interface, which removes the need
for Samba4/lorikeet-heimdal to deviate from upstream for hdb_fetch().
The new flags replace the old entry type enum.

(This required the rework in hdb-ldb.c included in this commit)

Andrew Bartlett
(This used to be commit ef5604b87744c89e66e4d845f45b23563754ec05)

16 years agor15480: Patch from lha, to ensure we don't leave a free()'ed element in the
Andrew Bartlett [Sun, 7 May 2006 04:16:48 +0000 (04:16 +0000)]
r15480: Patch from lha, to ensure we don't leave a free()'ed element in the
principal on strdup failure.

Andrew Bartlett
(This used to be commit d72fafc1f0089212634fc1a77352b47970e82410)

16 years agor15474: Generate proper type declarations, fix headers
Jelmer Vernooij [Sat, 6 May 2006 16:19:29 +0000 (16:19 +0000)]
r15474: Generate proper type declarations, fix headers
(This used to be commit 1405f59d5501319c7d08861e19165e012c4bc3a9)

16 years agor15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
Jelmer Vernooij [Sat, 6 May 2006 11:44:00 +0000 (11:44 +0000)]
r15470: Write header file with prototypes for Samba3-Client-With-Samba4-NDR code.
(This used to be commit a2bb0b6012b14787825a9cd5f33e2c0e989b65a7)

16 years agor15469: Fix unixinfo interface to use pointers for [out] parameters (required
Jelmer Vernooij [Sat, 6 May 2006 11:24:11 +0000 (11:24 +0000)]
r15469: Fix unixinfo interface to use pointers for [out] parameters (required
for generating Samba3-style client functions and midl)
(This used to be commit cc2961427fc649185847fffdf583b05305e6b473)

16 years agor15459: Add forgotten guid retrieval among other data and thus prevent
Rafal Szczesniak [Fri, 5 May 2006 13:57:17 +0000 (13:57 +0000)]
r15459: Add forgotten guid retrieval among other data and thus prevent
from returning uninitialised structure member. Thank heavens for build
farm and valgrind :)

rafal
(This used to be commit daca283990c7a8b6efc952c9308c43b68dd49f06)

16 years agor15458: Fix support for Windows XP-style registry files and support for large numbers...
Jelmer Vernooij [Fri, 5 May 2006 13:16:58 +0000 (13:16 +0000)]
r15458: Fix support for Windows XP-style registry files and support for large numbers of subkeys.

Patch by Wilco Baan Hofman <wilco@baanhofman.nl>
(This used to be commit 02859870d62b875eca5feff175c489a93fa7ad84)

16 years agor15457: Get rid of more usages of uint_t
Jelmer Vernooij [Fri, 5 May 2006 13:02:14 +0000 (13:02 +0000)]
r15457: Get rid of more usages of uint_t
(This used to be commit 849818dcdeb8eaf2eb22fea3896a4f7c777d8c5f)

16 years agor15456: Inspired by a short discussion with abartlet on IRC.
Rafal Szczesniak [Fri, 5 May 2006 09:52:12 +0000 (09:52 +0000)]
r15456: Inspired by a short discussion with abartlet on IRC.

- create "async" parameter for smbtorture to categorise async tests
  potentially hard for windows servers
- create "num-async" parameter to specify the number of simultaneous
  async requests to be made
- move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably
  do the same for many others async tests...)

It's an interesting way to determine resources availability on windows
servers...

rafal
(This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)

16 years agor15440: Formatting.
Rafal Szczesniak [Thu, 4 May 2006 17:39:35 +0000 (17:39 +0000)]
r15440: Formatting.

rafal
(This used to be commit b4c378302bd56e7bbdce6a20b5623d8949d3ecef)

16 years agor15439: Reorder the code a bit to be like in other calls. More comments
Rafal Szczesniak [Thu, 4 May 2006 17:37:57 +0000 (17:37 +0000)]
r15439: Reorder the code a bit to be like in other calls. More comments
and comment-fixes.

rafal
(This used to be commit d35f1e07bed594dfae5421209c4318fe5e66a5aa)

16 years agor15437: Add generator that creates Samba3 client code which uses Samba4's NDR
Jelmer Vernooij [Thu, 4 May 2006 16:04:08 +0000 (16:04 +0000)]
r15437: Add generator that creates Samba3 client code which uses Samba4's NDR
routines.
(This used to be commit 538be4a6319b6f8235ed450740784104671ab0b5)

16 years agor15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
Rafal Szczesniak [Thu, 4 May 2006 14:54:31 +0000 (14:54 +0000)]
r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
(This used to be commit 76d965b0b04496ae959ba6f13d748c6dfb858591)

16 years agor15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnect
Rafal Szczesniak [Thu, 4 May 2006 14:52:03 +0000 (14:52 +0000)]
r15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnect
and make it async. Also, update any other usages of old function.
Build goes fine and so do tests, comments to follow.

rafal
(This used to be commit aef0a2de9d2f01a6f619e3fccc8715288f5c37a3)

16 years agor15433: Add a todo.
Andrew Bartlett [Thu, 4 May 2006 13:06:08 +0000 (13:06 +0000)]
r15433: Add a todo.

Andrew Bartlett
(This used to be commit 437ce4123761b65edebc9b9432515a62348f360b)

16 years agor15427: Rename private to private_data to prevent errors from C++ errors (which
Jelmer Vernooij [Thu, 4 May 2006 11:01:10 +0000 (11:01 +0000)]
r15427: Rename private to private_data to prevent errors from C++ errors (which
we care about in Samba3)
(This used to be commit eb07aea711a5e3606e169d77b208b03bd876c639)

16 years agor15426: Implement SPNEGO as the default RPC authentication mechanism. Where
Andrew Bartlett [Thu, 4 May 2006 10:03:41 +0000 (10:03 +0000)]
r15426: Implement SPNEGO as the default RPC authentication mechanism.  Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
(This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)

16 years agor15422: Fix issues with functions being called recursively in the credentials
Jelmer Vernooij [Wed, 3 May 2006 20:56:14 +0000 (20:56 +0000)]
r15422: Fix issues with functions being called recursively in the credentials
callback code.
(This used to be commit edf0701e877592695bd69124e528338c27f24efd)

16 years agor15421: Correct function comments.
Andrew Bartlett [Wed, 3 May 2006 20:31:24 +0000 (20:31 +0000)]
r15421: Correct function comments.

Andrew Bartlett
(This used to be commit f9899277898ee7ef1118cbc49f5f277623ff7444)

16 years agor15420: Add a new function to print a the 'unparsed' string format for usernames.
Andrew Bartlett [Wed, 3 May 2006 20:23:19 +0000 (20:23 +0000)]
r15420: Add a new function to print a the 'unparsed' string format for usernames.

This is used in the password prompt, and should be reversable by the
parse string function.

Also, don't look at the ccache, even for the guess code, if kerberos
is disabled.

Andrew Bartlett
(This used to be commit 4c4b8e4b396ca44270a0456c732d3b9c3c34d69d)

16 years agor15416: Point out that this doesn't work, but for servers this old, I just
Andrew Bartlett [Wed, 3 May 2006 14:59:55 +0000 (14:59 +0000)]
r15416: Point out that this doesn't work, but for servers this old, I just
don't care...

Andrew Bartlett
(This used to be commit 8abe7ba619a9499229937435b66005e278bcbf38)

16 years agor15415: Use Jelmer's new credentials 'wrong password' code to give the user 3
Andrew Bartlett [Wed, 3 May 2006 14:54:57 +0000 (14:54 +0000)]
r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3
attempts for the password, when talking to a remote CIFS server.

Andrew Bartlett
(This used to be commit 3a4ddc8f5978210ab3ad79f0332cee80a0d6e6c9)

16 years agor15414: Support retrying different username/password combinations
Jelmer Vernooij [Wed, 3 May 2006 14:15:31 +0000 (14:15 +0000)]
r15414: Support retrying different username/password combinations
(This used to be commit 5de894fb8bac8efa5bff004dbfc2e8b386d4003b)

16 years agor15413: Disable gwsvcctl on hosts without gtk
Jelmer Vernooij [Wed, 3 May 2006 11:52:20 +0000 (11:52 +0000)]
r15413: Disable gwsvcctl on hosts without gtk
(This used to be commit 95cca6a881ea8ead80646eced9c0a917bffebf7b)

16 years agor15412: Put the test in a dangerous category.
Rafal Szczesniak [Wed, 3 May 2006 11:24:17 +0000 (11:24 +0000)]
r15412: Put the test in a dangerous category.

rafal
(This used to be commit 52b4ef14a02ca1c72cef2467b214518bbe32c8f6)

16 years agor15410: Fix segfaults
Jelmer Vernooij [Wed, 3 May 2006 10:05:08 +0000 (10:05 +0000)]
r15410: Fix segfaults
(This used to be commit e8de80afb9d13c5c84bf70c9de3083d8caba9eb8)

16 years agor15409: Start working on GTK+ tool for services management
Jelmer Vernooij [Wed, 3 May 2006 09:12:42 +0000 (09:12 +0000)]
r15409: Start working on GTK+ tool for services management
(This used to be commit 5be3627cc6e666e6dbbf146c47bb093f66124f87)

16 years agor15408: Fix some small bugs in the GTK+ tools
Jelmer Vernooij [Wed, 3 May 2006 09:11:36 +0000 (09:11 +0000)]
r15408: Fix some small bugs in the GTK+ tools
Add utility function for connection to an interface
(This used to be commit 266f7472209e6ae4f70688cf06b8efa63d036d04)

16 years agor15407: Get rid of some more uint_t
Jelmer Vernooij [Wed, 3 May 2006 09:10:45 +0000 (09:10 +0000)]
r15407: Get rid of some more uint_t
(This used to be commit 897329c2534dc8e24670b91bc448939141f27417)

16 years agor15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
Jelmer Vernooij [Wed, 3 May 2006 09:07:38 +0000 (09:07 +0000)]
r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
not available on some platforms but is a Samba-specific library.
(This used to be commit e9d3660fa6678424e5159708a1aa572824926c8e)

16 years agor15405: remove define for STAT_ST_BLOCKSIZE
Stefan Metzmacher [Wed, 3 May 2006 08:34:11 +0000 (08:34 +0000)]
r15405: remove define for STAT_ST_BLOCKSIZE
as it's not used anywhere and it doesn't belong to check_ld.m4

metze
(This used to be commit 86a9b17b3a1de0bd893a276597c9377e305ef535)

16 years agor15400: Move the TLS code behind the socket interface.
Andrew Bartlett [Tue, 2 May 2006 20:15:47 +0000 (20:15 +0000)]
r15400: Move the TLS code behind the socket interface.

This reduces caller complexity, because the TLS code is now called
just like any other socket.  (A new socket context is returned by the
tls_init_server and tls_init_client routines).

When TLS is not available, the original socket is returned.

Andrew Bartlett
(This used to be commit 09b2f30dfa7a640f5187b4933204e9680be61497)

16 years agor15397: Fix typo.
Tim Potter [Tue, 2 May 2006 19:20:49 +0000 (19:20 +0000)]
r15397: Fix typo.
(This used to be commit 74bd8170fc9d53403899721bc4b620121946e4d2)

16 years agor15395: Fix build by adding another copy of the Python detection m4 fragment.
Tim Potter [Tue, 2 May 2006 19:00:19 +0000 (19:00 +0000)]
r15395: Fix build by adding another copy of the Python detection m4 fragment.
This stuff should be common somewhere.
(This used to be commit e906781cbd7a9d782e028fb0497de739ac6fb797)

16 years agor15394: Put initial code for testing async dcerpc binding. Currently
Rafal Szczesniak [Tue, 2 May 2006 13:08:38 +0000 (13:08 +0000)]
r15394: Put initial code for testing async dcerpc binding. Currently
it only tests multiple simultaneous bind requests using transport
specified in command line. It will be interesting to use various
transports at the same time and test it agains windows servers...

rafal
(This used to be commit 7e4756116e59f9a0599a80fb5ac06118817f4326)

16 years agor15391: Wrap up the nbt_name_query() function as a bit of an experiment. It
Tim Potter [Tue, 2 May 2006 10:59:31 +0000 (10:59 +0000)]
r15391: Wrap up the nbt_name_query() function as a bit of an experiment.  It
seemed to work quite well and this technique might be good for
generating an interface to use for automated testing.

Tested by doing a nbt lookup against smbd.
(This used to be commit 11150b3140c91459f17c767adf07a54524338c18)

16 years agor15390: Make test output a bit prettier.
Tim Potter [Tue, 2 May 2006 10:46:03 +0000 (10:46 +0000)]
r15390: Make test output a bit prettier.
(This used to be commit 7e4d3bb81859d27424edf5cbcc1101c414160c0c)

16 years agor15389: Add some better torture tests for LdbMessage.
Tim Potter [Tue, 2 May 2006 05:14:00 +0000 (05:14 +0000)]
r15389: Add some better torture tests for LdbMessage.

Fix up behaviour of Ldb.__setitem__() function.  It should overwrite the
element data.

Add wrapper for ldb_msg_sanity_check().
(This used to be commit d67e055f86a62d0e61fd20d75b252a6211618f7b)

16 years agor15388: Fix cut&paste typo.
Tim Potter [Tue, 2 May 2006 02:36:11 +0000 (02:36 +0000)]
r15388: Fix cut&paste typo.
(This used to be commit 88e854929f10947aa1a7f57bbfef436bc8832529)

16 years agor15387: Fix installation of dcerpc headers, remove more instances of uint_t
Jelmer Vernooij [Mon, 1 May 2006 23:03:32 +0000 (23:03 +0000)]
r15387: Fix installation of dcerpc headers, remove more instances of uint_t
(This used to be commit 9e9bfd04c6db013453b900e201df9c09e8777a22)

16 years agor15384: Improve naming of socket library, disable Requires(.private)? fields in pkg...
Jelmer Vernooij [Mon, 1 May 2006 22:07:12 +0000 (22:07 +0000)]
r15384: Improve naming of socket library, disable Requires(.private)? fields in pkg-config files for now as
they break external projects.
(This used to be commit f919fd6655f00361691e676d260bd40e0b8ddcc7)

16 years agor15383: Revert making DSO's the default - this caused a few test suite breakages.
Jelmer Vernooij [Mon, 1 May 2006 20:58:49 +0000 (20:58 +0000)]
r15383: Revert making DSO's the default - this caused a few test suite breakages.
(This used to be commit 44898adcf876e34a5b93b94d2824f1c2f8bec566)

16 years agor15382: Use grp.h in this block; it has been cleaned out of the other headers that...
Paul Green [Mon, 1 May 2006 20:57:15 +0000 (20:57 +0000)]
r15382: Use grp.h in this block; it has been cleaned out of the other headers that formerly included it for us.

Paul
(This used to be commit a4d706cf26382820b58940458f8873a4f8f79612)

16 years agor15381: Make shared libraries the default (where supported). This concludes my rewrit...
Jelmer Vernooij [Mon, 1 May 2006 20:13:25 +0000 (20:13 +0000)]
r15381: Make shared libraries the default (where supported). This concludes my rewrite of the build system, which I'm (overall)
pretty happy with now. I'll continue making smaller changes, but they won't have as much impact as the changes I've made in the past months.
(This used to be commit 9eea62c11ce83a857862d05123f0be40944951ba)

16 years agor15379: Fix shared library build's unresolved dependencies
Jelmer Vernooij [Mon, 1 May 2006 18:11:15 +0000 (18:11 +0000)]
r15379: Fix shared library build's unresolved dependencies
(This used to be commit 0fafa2e59566f8f892d7dfd7dd33d0100b96a780)

16 years agor15378: Fix installheader script. Alexander, this will break installation of headers
Jelmer Vernooij [Mon, 1 May 2006 15:45:26 +0000 (15:45 +0000)]
r15378: Fix installheader script. Alexander, this will break installation of headers
for srcdir != builddir
(This used to be commit 527a40d80b096a0716fe71eae5a65e2a136a7ac5)

16 years agor15377: Remove sys_select() code as it's no longer used.
Jelmer Vernooij [Mon, 1 May 2006 14:33:48 +0000 (14:33 +0000)]
r15377: Remove sys_select() code as it's no longer used.
(This used to be commit 68004f68a364ce826ed8cbed0977e631ca60594d)

16 years agor15376: Add detection of -lnsl, required for building on SUN boxes.
Jelmer Vernooij [Mon, 1 May 2006 13:39:36 +0000 (13:39 +0000)]
r15376: Add detection of -lnsl, required for building on SUN boxes.
(This used to be commit 49bac12767ca59095ad6609a3826f7f17ddb601c)

16 years agor15375: Rename readline.h to smbreadline.h avoid clashes with system header.
Jelmer Vernooij [Mon, 1 May 2006 13:20:05 +0000 (13:20 +0000)]
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
(This used to be commit ccc3d8a95441e7a7015f0cf0e622ec9e38347d33)

16 years agor15374: Make subsystem name shorter - Stratos VOS has a filename length limit of 32
Jelmer Vernooij [Mon, 1 May 2006 13:06:39 +0000 (13:06 +0000)]
r15374: Make subsystem name shorter - Stratos VOS has a filename length limit of 32
(This used to be commit 1c2dc5ec109200df8706504838f651fe98dec69e)

16 years agor15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
Jelmer Vernooij [Mon, 1 May 2006 12:54:36 +0000 (12:54 +0000)]
r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
boxes.
(This used to be commit c95ad11307dc89384c10bd5919817bf12d9c1ed9)

16 years agor15372: Don't look at possibly undefined controls in failure cases.
Andrew Bartlett [Mon, 1 May 2006 06:49:02 +0000 (06:49 +0000)]
r15372: Don't look at possibly undefined controls in failure cases.

Andrew Bartlett
(This used to be commit 04f383048ae48af6b28052ba6461fe2e476e7c44)

16 years agor15371: Revert some of my previous patch as it was breaking the plain build
Jelmer Vernooij [Mon, 1 May 2006 01:41:57 +0000 (01:41 +0000)]
r15371: Revert some of my previous patch as it was breaking the plain build
(This used to be commit fac9871122bcea2bb282ba77e5032094733442e5)

16 years agor15370: Fix more dependencies for shared libs
Jelmer Vernooij [Mon, 1 May 2006 01:34:04 +0000 (01:34 +0000)]
r15370: Fix more dependencies for shared libs
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)

16 years agor15367: Fix unused function warnings in generated EJS code.
Jelmer Vernooij [Sun, 30 Apr 2006 23:11:59 +0000 (23:11 +0000)]
r15367: Fix unused function warnings in generated EJS code.
(This used to be commit 946a80298ad58e7b8ba9608a840154ee4a790da7)

16 years agor15366: Use type name rather then typedef directly - fixes build on tcc
Jelmer Vernooij [Sun, 30 Apr 2006 21:21:04 +0000 (21:21 +0000)]
r15366: Use type name rather then typedef directly - fixes build on tcc
(This used to be commit 76c5f377204ad158b03641258a4645a9d487fee8)

16 years agor15365: Fix error in my previous commit, caught by metze.
Jelmer Vernooij [Sun, 30 Apr 2006 20:00:37 +0000 (20:00 +0000)]
r15365: Fix error in my previous commit, caught by metze.
(This used to be commit 0d99397007960e555f562f1498a202407e235f36)

16 years agor15364: Use global list of predefined keys
Jelmer Vernooij [Sun, 30 Apr 2006 19:22:56 +0000 (19:22 +0000)]
r15364: Use global list of predefined keys
(This used to be commit eee9e33442f846d278f0fc545480cc2ec8ea295b)

16 years agor15363: Fix dependencies for shared library
Jelmer Vernooij [Sun, 30 Apr 2006 18:46:14 +0000 (18:46 +0000)]
r15363: Fix dependencies for shared library
(This used to be commit f2ca71f1229f4c20296895116c09bacbd6a53b55)

16 years agor15362: Consider anything non-zero a failure, bnio\f not just -1
Jelmer Vernooij [Sun, 30 Apr 2006 18:45:43 +0000 (18:45 +0000)]
r15362: Consider anything non-zero a failure, bnio\f not just -1
(This used to be commit c3626548f74ca4c930b9d8a82de9c79f6f5e5903)

16 years agor15361: Export table of predefined registry keys
Jelmer Vernooij [Sun, 30 Apr 2006 16:09:00 +0000 (16:09 +0000)]
r15361: Export table of predefined registry keys
(This used to be commit 684ef2dae1145388308502942da15e59a8beb425)

16 years agor15358: Fix some compiler warnings / type safety. Found by tcc
Jelmer Vernooij [Sun, 30 Apr 2006 13:54:03 +0000 (13:54 +0000)]
r15358: Fix some compiler warnings / type safety. Found by tcc
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)

16 years agor15357: Fix the build on systems without GNUTLS.
Andrew Bartlett [Sun, 30 Apr 2006 06:44:19 +0000 (06:44 +0000)]
r15357: Fix the build on systems without GNUTLS.

Andrew Bartlett
(This used to be commit 2cd2e524e6e1acb2e2921e32c5551f528aa04bf4)

16 years agor15356: Remove unused 'flags' argument from socket_send() and friends.
Andrew Bartlett [Sun, 30 Apr 2006 05:58:31 +0000 (05:58 +0000)]
r15356: Remove unused 'flags' argument from socket_send() and friends.

This is in preperation for making TLS a socket library.

Andrew Bartlett
(This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)

16 years agor15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
Jelmer Vernooij [Sun, 30 Apr 2006 03:09:32 +0000 (03:09 +0000)]
r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
(This used to be commit 2961d545fb23e271c5f1c11bc618f16120e47f49)

16 years agor15354: Add dependency on libsocket (required for sun1)
Jelmer Vernooij [Sun, 30 Apr 2006 02:47:40 +0000 (02:47 +0000)]
r15354: Add dependency on libsocket (required for sun1)
(This used to be commit 566413f83d6a1a047acacfa79694d97bb0f66cf0)

16 years agor15353: Don't dereference NULL pointer. Found by the IBM checker.
Jelmer Vernooij [Sun, 30 Apr 2006 02:41:50 +0000 (02:41 +0000)]
r15353: Don't dereference NULL pointer. Found by the IBM checker.
(This used to be commit 67d62fc55621871c576298b5a8da2f5e9ea03d69)

16 years agor15352: Remove reference to just-removed subsystem
Jelmer Vernooij [Sun, 30 Apr 2006 02:23:10 +0000 (02:23 +0000)]
r15352: Remove reference to just-removed subsystem
(This used to be commit ccb86ab15986fa642d412432bfd4f8f2f280e13d)