ira/wip.git
15 years agoFix misfiled headers.
Simo Sorce [Fri, 30 Jan 2009 14:24:48 +0000 (09:24 -0500)]
Fix misfiled headers.
Some public functions were mistakenly put into ldb_private.h
Revert all modules to only include ldb_module.h

15 years agos4:selftest: run RPC-COUNTCALLS as dc:local
Stefan Metzmacher [Fri, 30 Jan 2009 12:33:45 +0000 (13:33 +0100)]
s4:selftest: run RPC-COUNTCALLS as dc:local

metze

15 years agos4:selftest: run ncalrpc tests in dc:local mode
Stefan Metzmacher [Fri, 30 Jan 2009 09:30:13 +0000 (10:30 +0100)]
s4:selftest: run ncalrpc tests in dc:local mode

metze

15 years agoselftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
Stefan Metzmacher [Fri, 30 Jan 2009 10:03:45 +0000 (11:03 +0100)]
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH

metze

15 years agopidl: fix samba3-cli test after change to cli->dispatch()
Stefan Metzmacher [Fri, 30 Jan 2009 12:22:31 +0000 (13:22 +0100)]
pidl: fix samba3-cli test after change to cli->dispatch()

metze

15 years agoAdd the "SMBD" rpc transport
Volker Lendecke [Thu, 29 Jan 2009 21:54:55 +0000 (22:54 +0100)]
Add the "SMBD" rpc transport

The idea of this is that all client utils like smbpasswd and also for example
"net join" do not access our internal databases like passdb and secrets.tdb
directly anymore but pass everything throught the well-established RPC
interfaces.

The way you use this is the following: With rpc_cli_smbd_conn_init() or its
async variant you initialize a "struct rpc_cli_smbd_conn". This structure is
the link to a freshly forked smbd, ready to be used for RPC services. You
should only ever have one such structure in your program. More don't hurt, but
are plainly unnecessary.

If you want to use the SAMR pipe to change a passwort, you connect to that pipe
with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your
locally forked smbd will connect to passdb for you.

GD, this might make the distinction between the _l and _r calls in libnetapi
mostly unnecessary. At least it is intended to do so... :-)

15 years agoMake rpc_transport_np_init async
Volker Lendecke [Thu, 29 Jan 2009 21:41:33 +0000 (22:41 +0100)]
Make rpc_transport_np_init async

15 years agoAdd async cli_ntcreate
Volker Lendecke [Mon, 26 Jan 2009 19:45:19 +0000 (20:45 +0100)]
Add async cli_ntcreate

15 years agoMake cli_tcon_andx async
Volker Lendecke [Mon, 26 Jan 2009 07:37:13 +0000 (08:37 +0100)]
Make cli_tcon_andx async

15 years agoMake cli_session_setup_guest async
Volker Lendecke [Sun, 25 Jan 2009 20:54:55 +0000 (21:54 +0100)]
Make cli_session_setup_guest async

15 years agos3-docs: fix typo in eventlogadm manpage.
Günther Deschner [Thu, 22 Jan 2009 18:31:22 +0000 (19:31 +0100)]
s3-docs: fix typo in eventlogadm manpage.

Guenther

15 years agoselftest: fix "none" test
Stefan Metzmacher [Fri, 30 Jan 2009 09:29:39 +0000 (10:29 +0100)]
selftest: fix "none" test

metze

15 years agoselftest: fix default option name
Stefan Metzmacher [Fri, 30 Jan 2009 09:01:48 +0000 (10:01 +0100)]
selftest: fix default option name

metze

15 years agos4:fix the build after 380874ef863866c94c999ef53252b9d30df65e88
Stefan Metzmacher [Fri, 30 Jan 2009 08:36:12 +0000 (09:36 +0100)]
s4:fix the build after 380874ef863866c94c999ef53252b9d30df65e88

metze

15 years agoselftest: allow environment options
Stefan Metzmacher [Fri, 30 Jan 2009 07:25:27 +0000 (08:25 +0100)]
selftest: allow environment options

We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.

metze

15 years agoFix standalone configure scripts
Simo Sorce [Fri, 30 Jan 2009 06:01:05 +0000 (01:01 -0500)]
Fix standalone configure scripts

15 years agoFix the mess with ldb includes.
Simo Sorce [Thu, 29 Jan 2009 23:39:30 +0000 (18:39 -0500)]
Fix the mess with ldb includes.
Separate again the public from the private headers.

Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.

15 years agoFix coverity CID#117 - resource leak in error path.
Jeremy Allison [Fri, 30 Jan 2009 01:56:40 +0000 (17:56 -0800)]
Fix coverity CID#117 - resource leak in error path.
Jeremy.

15 years agoFix coverity CID#116. Resource leak on error path.
Jeremy Allison [Fri, 30 Jan 2009 01:31:12 +0000 (17:31 -0800)]
Fix coverity CID#116. Resource leak on error path.
Jeremy.

15 years agoFix coverity CID#115. Resource leak in error path.
Jeremy Allison [Fri, 30 Jan 2009 01:27:47 +0000 (17:27 -0800)]
Fix coverity CID#115. Resource leak in error path.
Jeremy.

15 years agoFix coverity CID#66. Resource leak in error path.
Jeremy Allison [Fri, 30 Jan 2009 01:16:34 +0000 (17:16 -0800)]
Fix coverity CID#66. Resource leak in error path.
Jeremy.

15 years agoUpgrade POSIX inheritance storage to a new format (version 2). Stores
Jeremy Allison [Thu, 29 Jan 2009 23:58:50 +0000 (15:58 -0800)]
Upgrade POSIX inheritance storage to a new format (version 2). Stores
the Windows ACL type and flags if "map acl inherit" is set.
Jeremy.

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 29 Jan 2009 23:31:56 +0000 (15:31 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agos3 build: Fix "shadows global declaration warning"
Tim Prouty [Thu, 29 Jan 2009 22:50:18 +0000 (14:50 -0800)]
s3 build: Fix "shadows global declaration warning"

15 years agos3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZE
Tim Prouty [Tue, 27 Jan 2009 01:19:40 +0000 (17:19 -0800)]
s3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZE

15 years agos3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation
Tim Prouty [Mon, 26 Jan 2009 23:39:40 +0000 (15:39 -0800)]
s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation

This allows module implementors to customize what allocation size is
returned to the client.

15 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 29 Jan 2009 23:27:42 +0000 (15:27 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

15 years agoadd Tru64 sub-second resolution timestamp support
Björn Jacke [Thu, 29 Jan 2009 21:59:00 +0000 (22:59 +0100)]
add Tru64 sub-second resolution timestamp support

15 years agoadd configure check for Tru64 sub-second timestamp resolution
Björn Jacke [Thu, 29 Jan 2009 20:59:44 +0000 (21:59 +0100)]
add configure check for Tru64 sub-second timestamp resolution

15 years agos3:proto.h: remove duplicate prototypes.
Michael Adam [Thu, 22 Jan 2009 11:34:43 +0000 (12:34 +0100)]
s3:proto.h: remove duplicate prototypes.

Michael

15 years agos3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.
Michael Adam [Thu, 22 Jan 2009 09:24:40 +0000 (10:24 +0100)]
s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.

Michael

15 years agos3:build: fix build on AIX - only test for splice on linux
Michael Adam [Thu, 29 Jan 2009 23:16:41 +0000 (00:16 +0100)]
s3:build: fix build on AIX - only test for splice on linux

Michael

15 years agoAdd the strlen to push to smb_bytes_push_str, return the converted size
Volker Lendecke [Mon, 26 Jan 2009 19:45:09 +0000 (20:45 +0100)]
Add the strlen to push to smb_bytes_push_str, return the converted size

The pushed strlen replaces the STR_TERMINATE flag which I personally always
find very confusing.

15 years agocli_ucs2
Volker Lendecke [Sun, 25 Jan 2009 20:55:05 +0000 (21:55 +0100)]
cli_ucs2

15 years agoFix the build on "opi"
Volker Lendecke [Thu, 29 Jan 2009 19:07:58 +0000 (20:07 +0100)]
Fix the build on "opi"

It did not like to include "includes.h" twice

15 years agoadd missing semicolons
Björn Jacke [Thu, 29 Jan 2009 19:56:51 +0000 (20:56 +0100)]
add missing semicolons

the fixed configure check led to a missing semicolon in the now activated BSD
code. Then this error was even copypasted into the new AIX code. grrr

15 years agosetting mtime setted atime on BSD systems, fix this
Björn Jacke [Thu, 29 Jan 2009 12:23:26 +0000 (13:23 +0100)]
setting mtime setted atime on BSD systems, fix this

15 years agoadd AIX sub-second resolution timestamp support
Björn Jacke [Wed, 28 Jan 2009 23:35:26 +0000 (00:35 +0100)]
add AIX sub-second resolution timestamp support

15 years agoadd configure check for AIX style sub-second resolution support
Björn Jacke [Wed, 28 Jan 2009 23:33:19 +0000 (00:33 +0100)]
add configure check for AIX style sub-second resolution support

15 years agorather cosmetic fix for failed birthtime configure checks
Björn Jacke [Wed, 28 Jan 2009 23:20:00 +0000 (00:20 +0100)]
rather cosmetic fix for failed birthtime configure checks

15 years agogive configure check "sub-second timestamps without struct timespec" a chance to...
Björn Jacke [Wed, 28 Jan 2009 23:17:12 +0000 (00:17 +0100)]
give configure check "sub-second timestamps without struct timespec" a chance to succeed

15 years agos3:configure: autodetect ctdb/cluster support
Stefan Metzmacher [Wed, 28 Jan 2009 16:36:36 +0000 (17:36 +0100)]
s3:configure: autodetect ctdb/cluster support

We need to make sure ctdb has transaction support
and we autodetect ipv6 support.

metze

15 years agos3:ctdbd_conn: canonicalize ips before sending them to ctdbd
Stefan Metzmacher [Wed, 28 Jan 2009 17:55:13 +0000 (18:55 +0100)]
s3:ctdbd_conn: canonicalize ips before sending them to ctdbd

This makes samba work with older ctdb versions.

metze

15 years agos3:smbd: make smbd_open_one_socket() static
Michael Adam [Thu, 29 Jan 2009 14:42:10 +0000 (15:42 +0100)]
s3:smbd: make smbd_open_one_socket() static

Michael

15 years agos3:smbd: ignore open_socket_in() failures
Stefan Metzmacher [Thu, 29 Jan 2009 14:30:38 +0000 (15:30 +0100)]
s3:smbd: ignore open_socket_in() failures

This restores the pre e0232934fbf69a9e72de1d9844b14d70b34a2d6a
behavior.

metze

15 years agoquote ' inside '...' and make sure shell isn't eating \ by using perl here.
Björn Jacke [Fri, 9 Jan 2009 11:05:55 +0000 (12:05 +0100)]
quote ' inside '...' and make sure shell isn't eating \ by using perl here.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 years agos3: fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested
Michael Adam [Thu, 29 Jan 2009 12:04:01 +0000 (13:04 +0100)]
s3: fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested

This fixes "net ads join".
It copes with the changed default "ldap ssl = start tls".
A new boolean option "ldap ssl : ads" is added to allow for
explicitly requesting ssl with  ads.

Michael

15 years agos3:selftest: import more tests from 'make test'
Stefan Metzmacher [Thu, 29 Jan 2009 09:30:45 +0000 (10:30 +0100)]
s3:selftest: import more tests from 'make test'

metze

15 years agoselftest: add "member" environment for Samba3
Stefan Metzmacher [Wed, 28 Jan 2009 20:01:04 +0000 (21:01 +0100)]
selftest: add "member" environment for Samba3

metze

15 years agos3:seltest: make test_smbclient_s3.sh more strict
Stefan Metzmacher [Thu, 29 Jan 2009 09:29:35 +0000 (10:29 +0100)]
s3:seltest: make test_smbclient_s3.sh more strict

metze

15 years agoselftest: fix Samba3 bugs
Stefan Metzmacher [Wed, 28 Jan 2009 21:15:44 +0000 (22:15 +0100)]
selftest: fix Samba3 bugs

metze

15 years agoselftest: Samba4 remove unused variable
Stefan Metzmacher [Wed, 28 Jan 2009 21:13:11 +0000 (22:13 +0100)]
selftest: Samba4 remove unused variable

metze

15 years agoselftest: abstract Samba3 provision a bit
Stefan Metzmacher [Wed, 28 Jan 2009 19:30:16 +0000 (20:30 +0100)]
selftest: abstract Samba3 provision a bit

metze

15 years agos3:selftest: fix 'make selftest'
Stefan Metzmacher [Wed, 28 Jan 2009 16:28:51 +0000 (17:28 +0100)]
s3:selftest: fix 'make selftest'

metze

15 years agos3:selftest: create BUILTIN\\Administrators at startup
Stefan Metzmacher [Wed, 28 Jan 2009 16:24:38 +0000 (17:24 +0100)]
s3:selftest: create BUILTIN\\Administrators at startup

And add and remove the alias member via net rpc group
instead of net sam.

metze

15 years agoStop installing events.h - it contains a broken include itself and
Jelmer Vernooij [Wed, 28 Jan 2009 16:06:18 +0000 (17:06 +0100)]
Stop installing events.h - it contains a broken include itself and
should be considered internal now.

15 years agoDefine _GNU_SOURCE, required for comparison_fn_t.
Jelmer Vernooij [Wed, 28 Jan 2009 16:05:56 +0000 (17:05 +0100)]
Define _GNU_SOURCE, required for comparison_fn_t.

15 years agoAvoid valgrind errors
Volker Lendecke [Tue, 27 Jan 2009 18:45:51 +0000 (19:45 +0100)]
Avoid valgrind errors

In event handlers, we might destroy other events that are pending in the lists.
We can only run one event safely per select call.

Yes, I've seen these valgrind errors :-)

Jeremy, with ccdd921e61 you had checked in the change to run multiple events.
Do you remember why it was necessary and could not be solved in a different
way?

Volker

15 years agoFix a valgrind error when the socket dies
Volker Lendecke [Tue, 27 Jan 2009 18:41:34 +0000 (19:41 +0100)]
Fix a valgrind error when the socket dies

Don't reference anything that might have been deleted in the async_req_error
call.

15 years agos3:winbind: remove prototype for non-existent function from winbind_proto.h
Michael Adam [Wed, 28 Jan 2009 11:41:04 +0000 (12:41 +0100)]
s3:winbind: remove prototype for non-existent function from winbind_proto.h

Michael

15 years agos3:test: exit the net rpc registry tests when give_administrative_rights fails
Michael Adam [Wed, 28 Jan 2009 11:19:06 +0000 (12:19 +0100)]
s3:test: exit the net rpc registry tests when give_administrative_rights fails

Michael

15 years agos3:selftest: fix warnings with empty *_TEST_LOG variables
Stefan Metzmacher [Wed, 28 Jan 2009 11:03:59 +0000 (12:03 +0100)]
s3:selftest: fix warnings with empty *_TEST_LOG variables

metze

15 years agos3:registry: always provision the registry, not only in smbd.
Michael Adam [Wed, 28 Jan 2009 11:04:53 +0000 (12:04 +0100)]
s3:registry: always provision the registry, not only in smbd.

This will make tools like "net registry" also fill the registry
with the basic hives and keys.

Michael

15 years agoselftest: set 'lock dir' in client.conf
Stefan Metzmacher [Wed, 28 Jan 2009 10:59:26 +0000 (11:59 +0100)]
selftest: set 'lock dir' in client.conf

metze

15 years agoasync_sock: Move to top level
Kai Blin [Sat, 24 Jan 2009 09:00:13 +0000 (10:00 +0100)]
async_sock: Move to top level

15 years agos3:torture: support SMB_CONF_PATH envvar in smbtorture
Stefan Metzmacher [Wed, 28 Jan 2009 09:50:55 +0000 (10:50 +0100)]
s3:torture: support SMB_CONF_PATH envvar in smbtorture

metze

15 years agos3:util_tdb: remove duplicate prototypes (from ../lib/util/util_tdb.h)
Michael Adam [Wed, 28 Jan 2009 09:35:17 +0000 (10:35 +0100)]
s3:util_tdb: remove duplicate prototypes (from ../lib/util/util_tdb.h)

Michael

15 years agos3: try to make 'make selftest' work again
Stefan Metzmacher [Wed, 28 Jan 2009 08:35:44 +0000 (09:35 +0100)]
s3: try to make 'make selftest' work again

metze

15 years agos3:build: don't use $(FLAGS) in linking targets - it is useless
Michael Adam [Wed, 28 Jan 2009 08:42:42 +0000 (09:42 +0100)]
s3:build: don't use $(FLAGS) in linking targets - it is useless

Michael

15 years agos3:tdb_validate: clean up leading tabs/spaces and trailing spaces.
Michael Adam [Wed, 28 Jan 2009 07:56:17 +0000 (08:56 +0100)]
s3:tdb_validate: clean up leading tabs/spaces and trailing spaces.

Michael

15 years agos3: separate tdb validation code out into its own source file
Michael Adam [Wed, 28 Jan 2009 07:52:53 +0000 (08:52 +0100)]
s3: separate tdb validation code out into its own source file

So this gets now linked only into its single user: winbindd
(needed by winbindd_cache.c)

Michael

15 years agoFix detection of dns_sd libraries.
Jeremy Allison [Wed, 28 Jan 2009 00:19:09 +0000 (16:19 -0800)]
Fix detection of dns_sd libraries.
Jeremy.

15 years agoMove S3 specific parameters to S3 conf file in make test.
Steven Danneman [Tue, 27 Jan 2009 21:24:38 +0000 (13:24 -0800)]
Move S3 specific parameters to S3 conf file in make test.

15 years agos3: Fix shadowed declaration
Tim Prouty [Tue, 27 Jan 2009 18:37:51 +0000 (10:37 -0800)]
s3: Fix shadowed declaration

15 years agolibreplace: fix detection of netinet/ip.h on solaris 8
Michael Adam [Tue, 27 Jan 2009 14:46:25 +0000 (15:46 +0100)]
libreplace: fix detection of netinet/ip.h on solaris 8

(The test needs to additionally include <netinet/in_systm.h>.)

Michael

15 years agos3:rpc_server: use get_client_fd() instead of smbd_server_fd()
Stefan Metzmacher [Tue, 27 Jan 2009 08:48:48 +0000 (09:48 +0100)]
s3:rpc_server: use get_client_fd() instead of smbd_server_fd()

Both are absolutely the same, but smbd_server_fd() is otherwise
only used in smbd/*.c and would like to remove smbd_server_fd() soon.

metze

15 years agos3:smbd: wait for new connection via fd events
Stefan Metzmacher [Tue, 27 Jan 2009 09:02:43 +0000 (10:02 +0100)]
s3:smbd: wait for new connection via fd events

metze

15 years agos3:smbd: make mdns registration event driven.
Stefan Metzmacher [Mon, 26 Jan 2009 13:55:54 +0000 (14:55 +0100)]
s3:smbd: make mdns registration event driven.

metze

15 years agos3:smbd: make inetd code path more clear
Stefan Metzmacher [Fri, 23 Jan 2009 12:08:22 +0000 (13:08 +0100)]
s3:smbd: make inetd code path more clear

metze

15 years agos3:smbd: make kernel oplocks event driven
Stefan Metzmacher [Fri, 23 Jan 2009 09:08:44 +0000 (10:08 +0100)]
s3:smbd: make kernel oplocks event driven

And use signal events for Linux oplocks.

metze

15 years agos3:smbd: remove pointless respond_to_all_remaining_local_messages() function
Stefan Metzmacher [Fri, 23 Jan 2009 09:07:45 +0000 (10:07 +0100)]
s3:smbd: remove pointless respond_to_all_remaining_local_messages() function

This the process_kernel_oplock() function never response to messages,
it only generates messages to ourself.

metze

15 years agos3:smbd: convert aio to use tevent_signal
Stefan Metzmacher [Thu, 22 Jan 2009 17:04:17 +0000 (18:04 +0100)]
s3:smbd: convert aio to use tevent_signal

metze

15 years agos3:nmbd: handle SIG_TERM and SIGHUP via tevent
Stefan Metzmacher [Thu, 22 Jan 2009 15:17:23 +0000 (16:17 +0100)]
s3:nmbd: handle SIG_TERM and SIGHUP via tevent

metze

15 years agos3:nmbd: as the sig_term() handler only sets a flag we don't need to block SIGTERM
Stefan Metzmacher [Fri, 23 Jan 2009 09:15:00 +0000 (10:15 +0100)]
s3:nmbd: as the sig_term() handler only sets a flag we don't need to block SIGTERM

The arguments of commit d98bea900ee694cdba83149620c65bd7f8765f26
are no longer valid.

metze

15 years agos3:nmbd: install the SIG_DFL handler for SIGTERM while we're waiting for interfaces
Stefan Metzmacher [Fri, 23 Jan 2009 09:13:29 +0000 (10:13 +0100)]
s3:nmbd: install the SIG_DFL handler for SIGTERM while we're waiting for interfaces

We should handle all 3 cases where we actively wait for interfaces
in the same way.

metze

15 years agos3:winbindd: handle SIG_TERM, SIGHUP, SIGCHLD and SIGUSR2 via tevent
Stefan Metzmacher [Thu, 22 Jan 2009 13:54:21 +0000 (14:54 +0100)]
s3:winbindd: handle SIG_TERM, SIGHUP, SIGCHLD and SIGUSR2 via tevent

metze

15 years agos3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD
Stefan Metzmacher [Wed, 21 Jan 2009 22:24:18 +0000 (23:24 +0100)]
s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD

metze

15 years agos3:smbd: move all code that handles a client connection into smbd_process()
Stefan Metzmacher [Thu, 22 Jan 2009 11:36:42 +0000 (12:36 +0100)]
s3:smbd: move all code that handles a client connection into smbd_process()

metze

15 years agos3:smbd: we should setup the client socket in the same way in all code pathes
Stefan Metzmacher [Thu, 22 Jan 2009 09:13:45 +0000 (10:13 +0100)]
s3:smbd: we should setup the client socket in the same way in all code pathes

We should behave the same in inetd, interactive and deamon modes.

metze

15 years agos3:namecache: remove unused namecache_shutdown() function
Stefan Metzmacher [Thu, 22 Jan 2009 09:19:14 +0000 (10:19 +0100)]
s3:namecache: remove unused namecache_shutdown() function

metze

15 years agotevent: change SA_INFO_QUEUE_COUNT from 10 to 100
Stefan Metzmacher [Fri, 23 Jan 2009 09:42:31 +0000 (10:42 +0100)]
tevent: change SA_INFO_QUEUE_COUNT from 10 to 100

The samba3 aio code requires lp_max_mux() with a default of 50
and the samba3 linux oplock code requires 100.

May we could make the size dynamic later.

metze

15 years agoasync_req: Fix the S4 build
Kai Blin [Tue, 27 Jan 2009 09:37:35 +0000 (10:37 +0100)]
async_req: Fix the S4 build

15 years agolibreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled
Michael Adam [Tue, 27 Jan 2009 11:11:49 +0000 (12:11 +0100)]
libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled

under solaris

Michael

15 years agos3 build: Eliminate the gmake-specific Makefile syntax
Tim Prouty [Tue, 27 Jan 2009 00:50:31 +0000 (16:50 -0800)]
s3 build: Eliminate the gmake-specific Makefile syntax

15 years agos3 make test: Fix a bug in the previous commit
Tim Prouty [Mon, 26 Jan 2009 23:38:19 +0000 (15:38 -0800)]
s3 make test: Fix a bug in the previous commit

Luckily the build farm caught this

15 years agos3 make test: Add the ability to specify a custom smb.conf for make test
Tim Prouty [Sun, 25 Jan 2009 22:38:44 +0000 (14:38 -0800)]
s3 make test: Add the ability to specify a custom smb.conf for make test

- Adds new -c <custom conf> option to selftest.sh that when specified
  adds a line to make test's server.conf: "include <custom conf>"
- Adds getopts processing to selftest.sh
- Changes selftest.sh shrdir arg to use -s <shrdir>
- Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path>
- Adds configure option --with-selftest-custom-conf=<custom conf>
- Updates Makefile.in to take advantage of the new/changed parameters

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 26 Jan 2009 17:14:41 +0000 (18:14 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agopyrpc: Raise proper NDR error codes with matching strings rather than mapping
Jelmer Vernooij [Mon, 26 Jan 2009 16:31:50 +0000 (17:31 +0100)]
pyrpc: Raise proper NDR error codes with matching strings rather than mapping
to NTSTATUS first.

15 years agoAdd function for mapping NDR error codes to strings.
Jelmer Vernooij [Mon, 26 Jan 2009 16:31:22 +0000 (17:31 +0100)]
Add function for mapping NDR error codes to strings.

15 years agoDocument default of the printing config variable.
Andreas Schneider [Mon, 26 Jan 2009 13:38:34 +0000 (14:38 +0100)]
Document default of the printing config variable.

Signed-off-by: Andreas Schneider <anschneider@suse.de>