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
Jelmer Vernooij [Sat, 6 May 2006 16:19:29 +0000 (16:19 +0000)]
r15474: Generate proper type declarations, fix headers
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.
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)
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
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>
Jelmer Vernooij [Fri, 5 May 2006 13:02:14 +0000 (13:02 +0000)]
r15457: Get rid of more usages of uint_t
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
Rafal Szczesniak [Thu, 4 May 2006 17:39:35 +0000 (17:39 +0000)]
r15440: Formatting.
rafal
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
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.
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
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
Andrew Bartlett [Thu, 4 May 2006 13:06:08 +0000 (13:06 +0000)]
r15433: Add a todo.
Andrew Bartlett
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)
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
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.
Andrew Bartlett [Wed, 3 May 2006 20:31:24 +0000 (20:31 +0000)]
r15421: Correct function comments.
Andrew Bartlett
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
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
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
Jelmer Vernooij [Wed, 3 May 2006 14:15:31 +0000 (14:15 +0000)]
r15414: Support retrying different username/password combinations
Jelmer Vernooij [Wed, 3 May 2006 11:52:20 +0000 (11:52 +0000)]
r15413: Disable gwsvcctl on hosts without gtk
Rafal Szczesniak [Wed, 3 May 2006 11:24:17 +0000 (11:24 +0000)]
r15412: Put the test in a dangerous category.
rafal
Jelmer Vernooij [Wed, 3 May 2006 10:05:08 +0000 (10:05 +0000)]
r15410: Fix segfaults
Jelmer Vernooij [Wed, 3 May 2006 09:12:42 +0000 (09:12 +0000)]
r15409: Start working on GTK+ tool for services management
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
Jelmer Vernooij [Wed, 3 May 2006 09:10:45 +0000 (09:10 +0000)]
r15407: Get rid of some more uint_t
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.
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
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
Tim Potter [Tue, 2 May 2006 19:20:49 +0000 (19:20 +0000)]
r15397: Fix typo.
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.
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
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.
Tim Potter [Tue, 2 May 2006 10:46:03 +0000 (10:46 +0000)]
r15390: Make test output a bit prettier.
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().
Tim Potter [Tue, 2 May 2006 02:36:11 +0000 (02:36 +0000)]
r15388: Fix cut&paste typo.
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
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.
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.
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
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.
Jelmer Vernooij [Mon, 1 May 2006 18:11:15 +0000 (18:11 +0000)]
r15379: Fix shared library build's unresolved dependencies
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
Jelmer Vernooij [Mon, 1 May 2006 14:33:48 +0000 (14:33 +0000)]
r15377: Remove sys_select() code as it's no longer used.
Jelmer Vernooij [Mon, 1 May 2006 13:39:36 +0000 (13:39 +0000)]
r15376: Add detection of -lnsl, required for building on SUN boxes.
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.
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
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.
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
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
Jelmer Vernooij [Mon, 1 May 2006 01:34:04 +0000 (01:34 +0000)]
r15370: Fix more dependencies for shared libs
Jelmer Vernooij [Sun, 30 Apr 2006 23:11:59 +0000 (23:11 +0000)]
r15367: Fix unused function warnings in generated EJS code.
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
Jelmer Vernooij [Sun, 30 Apr 2006 20:00:37 +0000 (20:00 +0000)]
r15365: Fix error in my previous commit, caught by metze.
Jelmer Vernooij [Sun, 30 Apr 2006 19:22:56 +0000 (19:22 +0000)]
r15364: Use global list of predefined keys
Jelmer Vernooij [Sun, 30 Apr 2006 18:46:14 +0000 (18:46 +0000)]
r15363: Fix dependencies for shared library
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
Jelmer Vernooij [Sun, 30 Apr 2006 16:09:00 +0000 (16:09 +0000)]
r15361: Export table of predefined registry keys
Jelmer Vernooij [Sun, 30 Apr 2006 13:54:03 +0000 (13:54 +0000)]
r15358: Fix some compiler warnings / type safety. Found by tcc
Andrew Bartlett [Sun, 30 Apr 2006 06:44:19 +0000 (06:44 +0000)]
r15357: Fix the build on systems without GNUTLS.
Andrew Bartlett
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
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
Jelmer Vernooij [Sun, 30 Apr 2006 02:47:40 +0000 (02:47 +0000)]
r15354: Add dependency on libsocket (required for sun1)
Jelmer Vernooij [Sun, 30 Apr 2006 02:41:50 +0000 (02:41 +0000)]
r15353: Don't dereference NULL pointer. Found by the IBM checker.
Jelmer Vernooij [Sun, 30 Apr 2006 02:23:10 +0000 (02:23 +0000)]
r15352: Remove reference to just-removed subsystem
Jelmer Vernooij [Sun, 30 Apr 2006 02:11:25 +0000 (02:11 +0000)]
r15351: Fix tcc compile error
Jelmer Vernooij [Sun, 30 Apr 2006 02:07:33 +0000 (02:07 +0000)]
r15350: Remove empty subsystem, don't install .a files of subsystems
Jelmer Vernooij [Sun, 30 Apr 2006 01:32:59 +0000 (01:32 +0000)]
r15349: Integrate set_socket_options() into the socket library
Tim Potter [Sun, 30 Apr 2006 01:08:52 +0000 (01:08 +0000)]
r15348: Start adding a dict interface and tests to LdbMessage class.
Tim Potter [Sun, 30 Apr 2006 01:07:16 +0000 (01:07 +0000)]
r15346: Doc.
Tim Potter [Sun, 30 Apr 2006 01:00:57 +0000 (01:00 +0000)]
r15345: Add a read-only test to tdb torture tester.
Jelmer Vernooij [Sun, 30 Apr 2006 00:40:04 +0000 (00:40 +0000)]
r15344: Fix shared library build
Tim Potter [Sun, 30 Apr 2006 00:38:19 +0000 (00:38 +0000)]
r15343: Some small cleanups.
Remove LdbMessage.close() method as it's not necessary.
Tim Potter [Sun, 30 Apr 2006 00:22:05 +0000 (00:22 +0000)]
r15339: Signature for tdb_reopen_all() has changed.
Jelmer Vernooij [Sun, 30 Apr 2006 00:00:28 +0000 (00:00 +0000)]
r15338: Fix build of most things with shared libs enabled.
Jelmer Vernooij [Sat, 29 Apr 2006 23:22:54 +0000 (23:22 +0000)]
r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
Andrew Bartlett [Sat, 29 Apr 2006 20:59:46 +0000 (20:59 +0000)]
r15330: Add comment for IBM checker.
Andrew Bartlett
Andrew Bartlett [Sat, 29 Apr 2006 20:01:07 +0000 (20:01 +0000)]
r15329: I'm sick of this patch being in my local tree...
Use inet_ntop to convert IPv6 names to strings. Don't do a reverse
lookup.
Andrew Bartlett
Jelmer Vernooij [Sat, 29 Apr 2006 17:34:49 +0000 (17:34 +0000)]
r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
Jelmer Vernooij [Sat, 29 Apr 2006 17:33:32 +0000 (17:33 +0000)]
r15327: Support 'nosize'. Also write prototypes for print and size functions that are manually written.
Jelmer Vernooij [Sat, 29 Apr 2006 17:30:21 +0000 (17:30 +0000)]
r15326: Fix compiler warnings.
Jelmer Vernooij [Sat, 29 Apr 2006 16:12:01 +0000 (16:12 +0000)]
r15325: Fix compiler warnings
Jelmer Vernooij [Sat, 29 Apr 2006 14:51:26 +0000 (14:51 +0000)]
r15324: Generate prototype even if the function itself is
written manually.
Jelmer Vernooij [Sat, 29 Apr 2006 14:01:49 +0000 (14:01 +0000)]
r15323: Fix internal popt build
Jelmer Vernooij [Sat, 29 Apr 2006 12:55:19 +0000 (12:55 +0000)]
r15322: Don't depend on nonexisting targets - should fix the build
Jelmer Vernooij [Sat, 29 Apr 2006 12:39:19 +0000 (12:39 +0000)]
r15321: Reduce the size of rewrite.m4 a bit more
Stefan Metzmacher [Sat, 29 Apr 2006 11:48:56 +0000 (11:48 +0000)]
r15319: remove unneeded macros
metze
Jelmer Vernooij [Sat, 29 Apr 2006 11:32:54 +0000 (11:32 +0000)]
r15318: Don't create empty static libraries as some hosts have trouble with them.
Andrew Bartlett [Sat, 29 Apr 2006 09:20:22 +0000 (09:20 +0000)]
r15317: Because LDB is now async, there are more places were we might run the
even context again. We need to ensure we don't process packets until
we are finished setting up the connection, have the ldb in place etc.
We may need to do the same in other servers.
Andrew Bartlett
Andrew Bartlett [Sat, 29 Apr 2006 09:11:07 +0000 (09:11 +0000)]
r15316: I don't understand quite why this function was ever like this, but we
need to replace every instance of the character. Previously we
skipped the first.
Andrew Bartlett
Stefan Metzmacher [Sat, 29 Apr 2006 07:21:17 +0000 (07:21 +0000)]
r15315: - reenable the ildap backend
- this fixes the make test panics
jelmer: why have you disabled it in
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15295 ?
metze
Jelmer Vernooij [Sat, 29 Apr 2006 02:53:44 +0000 (02:53 +0000)]
r15314: Fix recursive dependency hack for static libs. Should fix the build
on most systems.
Jelmer Vernooij [Sat, 29 Apr 2006 02:45:34 +0000 (02:45 +0000)]
r15313: Fix some dependencies in dso mode
Jelmer Vernooij [Sat, 29 Apr 2006 02:45:06 +0000 (02:45 +0000)]
r15312: Fix dependency on gtksamba when GTK+ is not present
Jelmer Vernooij [Fri, 28 Apr 2006 01:55:17 +0000 (01:55 +0000)]
r15304: Fix smbd build, more updates on getting --enable-dso to build again
Jelmer Vernooij [Fri, 28 Apr 2006 00:03:52 +0000 (00:03 +0000)]
r15303: Re-add SMB readline replacement header
Jelmer Vernooij [Thu, 27 Apr 2006 22:59:20 +0000 (22:59 +0000)]
r15302: Remove strangely named function "StrnCpy" - strlcpy is available as a
replacement.
Jelmer Vernooij [Thu, 27 Apr 2006 21:46:44 +0000 (21:46 +0000)]
r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.