jra/samba/.git
10 years agoRemove unused and unsubstituted variables from Makefile.settings.in.
Jelmer Vernooij [Fri, 1 May 2009 18:03:30 +0000 (20:03 +0200)]
Remove unused and unsubstituted variables from Makefile.settings.in.

10 years agoRemove references to dia now that we use inkscape for diagrams.
Jelmer Vernooij [Fri, 1 May 2009 18:01:37 +0000 (20:01 +0200)]
Remove references to dia now that we use inkscape for diagrams.

10 years agoFix build of the PostScript documents.
Jelmer Vernooij [Fri, 1 May 2009 17:56:08 +0000 (19:56 +0200)]
Fix build of the PostScript documents.

10 years agoFix dependencies on images for pdf and ps files.
Jelmer Vernooij [Fri, 1 May 2009 16:32:24 +0000 (18:32 +0200)]
Fix dependencies on images for pdf and ps files.

10 years agoRemove unnecessary checks for apps now used through dblatex.
Jelmer Vernooij [Fri, 1 May 2009 16:32:21 +0000 (18:32 +0200)]
Remove unnecessary checks for apps now used through dblatex.

10 years agoRemove use of unicode quotes, as it confuses LaTeX.
Jelmer Vernooij [Fri, 1 May 2009 16:05:45 +0000 (18:05 +0200)]
Remove use of unicode quotes, as it confuses LaTeX.

10 years agoUse standard LaTeX book document class rather than custom samba class.
Jelmer Vernooij [Fri, 1 May 2009 15:38:25 +0000 (17:38 +0200)]
Use standard LaTeX book document class rather than custom samba class.

10 years agoTrim the requirements for building the docs, remove outdated instructions
Jelmer Vernooij [Fri, 1 May 2009 15:24:11 +0000 (17:24 +0200)]
Trim the requirements for building the docs, remove outdated instructions
for db2latex.

10 years agoMove test image to test/images/, consistent with the other books.
Jelmer Vernooij [Fri, 1 May 2009 15:21:35 +0000 (17:21 +0200)]
Move test image to test/images/, consistent with the other books.

10 years agoCut out the intermediate dvi files in the Makefile - dblatex can take care
Jelmer Vernooij [Fri, 1 May 2009 15:20:01 +0000 (17:20 +0200)]
Cut out the intermediate dvi files in the Makefile - dblatex can take care
of those for us.

10 years agoRemove reference to (removed?) image copy script.
Jelmer Vernooij [Fri, 1 May 2009 15:10:28 +0000 (17:10 +0200)]
Remove reference to (removed?) image copy script.

10 years agoRemove admon graphics - provided by dblatex now.
Jelmer Vernooij [Fri, 1 May 2009 15:06:06 +0000 (17:06 +0200)]
Remove admon graphics - provided by dblatex now.

10 years agoAlso move \linebreaksign to the samba LaTeX package.
Jelmer Vernooij [Fri, 1 May 2009 15:02:34 +0000 (17:02 +0200)]
Also move \linebreaksign to the samba LaTeX package.

10 years agoSplit Samba-specific LaTeX commands into their own LaTeX package,
Jelmer Vernooij [Fri, 1 May 2009 14:48:01 +0000 (16:48 +0200)]
Split Samba-specific LaTeX commands into their own LaTeX package,
independent of the style changes made by the sambadoc documentclass.

10 years agoFix syntax errors (title is mandator for chapters) in Samba4-HOWTO.
Jelmer Vernooij [Fri, 1 May 2009 13:43:49 +0000 (15:43 +0200)]
Fix syntax errors (title is mandator for chapters) in Samba4-HOWTO.

10 years agoUse new stylesheet variables names as used by dblatex.
Jelmer Vernooij [Fri, 1 May 2009 13:34:13 +0000 (15:34 +0200)]
Use new stylesheet variables names as used by dblatex.
Remove a Samba-specific workaround for a db2latex bug.

10 years agoFix dblatex warning: Remove reference to removed DTD file.
Jelmer Vernooij [Fri, 1 May 2009 13:33:40 +0000 (15:33 +0200)]
Fix dblatex warning: Remove reference to removed DTD file.

10 years agoRemove included (but unused) copy of db2latex.
Jelmer Vernooij [Fri, 1 May 2009 13:31:52 +0000 (15:31 +0200)]
Remove included (but unused) copy of db2latex.

10 years agoUse system-provided dblatex to build the docs rather than included
Jelmer Vernooij [Fri, 1 May 2009 13:31:14 +0000 (15:31 +0200)]
Use system-provided dblatex to build the docs rather than included
db2latex.

10 years agoMake the test document include a Samba-specific XML element and an image.
Jelmer Vernooij [Fri, 1 May 2009 13:28:31 +0000 (15:28 +0200)]
Make the test document include a Samba-specific XML element and an image.

10 years agoLook for dblatex.
Jelmer Vernooij [Fri, 1 May 2009 12:14:30 +0000 (14:14 +0200)]
Look for dblatex.

10 years agoMany build farm boxes do not have clock_gettime
Volker Lendecke [Fri, 1 May 2009 19:34:12 +0000 (21:34 +0200)]
Many build farm boxes do not have clock_gettime

10 years agos4:rpc_server: convert the socket based part to use the tstream interface
Stefan Metzmacher [Tue, 7 Apr 2009 16:35:30 +0000 (18:35 +0200)]
s4:rpc_server: convert the socket based part to use the tstream interface

metze

10 years agos4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM...
Stefan Metzmacher [Mon, 6 Apr 2009 09:05:59 +0000 (11:05 +0200)]
s4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM...

metze

10 years agolibcli/named_pipe_auth: add tstream_npa_connect_send/recv()
Stefan Metzmacher [Thu, 12 Mar 2009 17:10:19 +0000 (18:10 +0100)]
libcli/named_pipe_auth: add tstream_npa_connect_send/recv()

Add a tstream client implemenation for the named pipe auth
code. This supports byte and message mode.

metze

10 years agos4:smbd: add support for named_pipe_auth level 2 in service_named_pipe...
Stefan Metzmacher [Tue, 21 Apr 2009 02:55:42 +0000 (04:55 +0200)]
s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe...

metze

10 years agorerun "make idl"
Stefan Metzmacher [Tue, 21 Apr 2009 02:48:48 +0000 (04:48 +0200)]
rerun "make idl"

metze

10 years agonamed_pipe_auth.idl: add level 2 and pass the client/server info and session key
Stefan Metzmacher [Tue, 21 Apr 2009 02:44:08 +0000 (04:44 +0200)]
named_pipe_auth.idl: add level 2 and pass the client/server info and session key

We also return can return the named pipe mode now.

metze

10 years agotsocket: add tstream_readv_pdu_queue_send/recv()
Stefan Metzmacher [Fri, 3 Apr 2009 16:49:24 +0000 (18:49 +0200)]
tsocket: add tstream_readv_pdu_queue_send/recv()

metze

10 years agotsocket: add tstream_writev_queue_send/recv()
Stefan Metzmacher [Fri, 3 Apr 2009 16:18:51 +0000 (18:18 +0200)]
tsocket: add tstream_writev_queue_send/recv()

metze

10 years agotsocket: add tstream_readv_pdu_send/recv()
Stefan Metzmacher [Fri, 3 Apr 2009 15:17:15 +0000 (17:17 +0200)]
tsocket: add tstream_readv_pdu_send/recv()

metze

10 years agotsocket: add tstream implementation for bsd sockets (inet and unix)
Stefan Metzmacher [Fri, 3 Apr 2009 10:15:27 +0000 (12:15 +0200)]
tsocket: add tstream implementation for bsd sockets (inet and unix)

metze

10 years agotsocket: add tstream_context infrastructure similar to tdgram_context
Stefan Metzmacher [Fri, 3 Apr 2009 16:08:10 +0000 (18:08 +0200)]
tsocket: add tstream_context infrastructure similar to tdgram_context

metze

10 years agotsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()
Stefan Metzmacher [Thu, 30 Apr 2009 11:10:54 +0000 (13:10 +0200)]
tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()

metze

10 years agotsocket: move tsocket_simple_int_recv() to tsocket.c
Stefan Metzmacher [Fri, 3 Apr 2009 15:54:08 +0000 (17:54 +0200)]
tsocket: move tsocket_simple_int_recv() to tsocket.c

metze

10 years agotsocket: move tsocket_sendto_queue_send/recv() to tsocket_helpers.c
Stefan Metzmacher [Fri, 3 Apr 2009 15:52:15 +0000 (17:52 +0200)]
tsocket: move tsocket_sendto_queue_send/recv() to tsocket_helpers.c

metze

10 years agotsocket: tdgram move input checks to the common code as there're needed for all backends
Stefan Metzmacher [Tue, 14 Apr 2009 08:44:25 +0000 (10:44 +0200)]
tsocket: tdgram move input checks to the common code as there're needed for all backends

We need to make sure that we free the sendto and recvfrom requests before
the tdgram_context

metze

10 years agotsocket: for unix domain sockets we need to use sizeof(struct sockaddr_un)
Stefan Metzmacher [Mon, 6 Apr 2009 12:29:24 +0000 (14:29 +0200)]
tsocket: for unix domain sockets we need to use sizeof(struct sockaddr_un)

sizeof(struct sockaddr_storage) generates EINVAL.

metze

10 years agotsocket: return EINVAL when tdgram_sendto_send() is used with len == 0
Stefan Metzmacher [Fri, 10 Apr 2009 18:35:12 +0000 (20:35 +0200)]
tsocket: return EINVAL when tdgram_sendto_send() is used with len == 0

metze

10 years agotsocket: fix dependecies
Stefan Metzmacher [Mon, 6 Apr 2009 12:27:24 +0000 (14:27 +0200)]
tsocket: fix dependecies

metze

10 years agotsocket: remove tsocket_context related stuff
Stefan Metzmacher [Fri, 3 Apr 2009 15:29:12 +0000 (17:29 +0200)]
tsocket: remove tsocket_context related stuff

It will be replaced by tdgram_context and tstream_context.

metze

10 years agos4:libcli: remember operating system and lan manager strings from session setup
Stefan Metzmacher [Fri, 1 May 2009 13:03:33 +0000 (15:03 +0200)]
s4:libcli: remember operating system and lan manager strings from session setup

metze

10 years agos4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error
Stefan Metzmacher [Thu, 30 Apr 2009 15:24:58 +0000 (17:24 +0200)]
s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error

We should not try to parse the result if the status is not NT_STATUS_OK.

metze

10 years agoFix regular expressions in find_missing_doc after code format changes in
Jelmer Vernooij [Fri, 1 May 2009 02:51:46 +0000 (04:51 +0200)]
Fix regular expressions in find_missing_doc after code format changes in
loadparm.c.

10 years agoFix 'make undocumented' (by hardcoding the source path, now that the docs
Jelmer Vernooij [Fri, 1 May 2009 02:40:55 +0000 (04:40 +0200)]
Fix 'make undocumented' (by hardcoding the source path, now that the docs
live in the same git repo)

10 years agoFilter substitution variables out of list of undocumented applications.
Jelmer Vernooij [Fri, 1 May 2009 02:38:19 +0000 (04:38 +0200)]
Filter substitution variables out of list of undocumented applications.

10 years agoFix 'make samples' (git doesn't version directories, so 'examples' won't
Jelmer Vernooij [Fri, 1 May 2009 02:34:23 +0000 (04:34 +0200)]
Fix 'make samples' (git doesn't version directories, so 'examples' won't
exist yet)

10 years agoAdd getaddrinfo_send/recv
Volker Lendecke [Sat, 25 Apr 2009 22:01:43 +0000 (00:01 +0200)]
Add getaddrinfo_send/recv

10 years agoAdd fncall_send/recv
Volker Lendecke [Sat, 25 Apr 2009 18:02:24 +0000 (20:02 +0200)]
Add fncall_send/recv

10 years agoAdd thread pool
Volker Lendecke [Thu, 23 Apr 2009 15:23:13 +0000 (17:23 +0200)]
Add thread pool

Included if pthreads are found, can be disabled with --enable-pthreadpool=no

Tim, Steven, I haven't yet seen comments from you. You have been asking for
such a thing at SambaXP. Do you like this? :-)

10 years agoCause cli_close to return an NTSTATUS.
Jeremy Allison [Thu, 30 Apr 2009 23:57:42 +0000 (16:57 -0700)]
Cause cli_close to return an NTSTATUS.
Jeremy.

10 years agos3:config.sub: clean some space/tab mixup that git complains about
Michael Adam [Thu, 30 Apr 2009 23:15:38 +0000 (01:15 +0200)]
s3:config.sub: clean some space/tab mixup that git complains about

Michael

10 years agos3:config.sub: replace old FSF address by the web site url.
Michael Adam [Thu, 30 Apr 2009 23:10:10 +0000 (01:10 +0200)]
s3:config.sub: replace old FSF address by the web site url.

Michael

10 years agos3:config.sub: move to GPLv3
Michael Adam [Thu, 30 Apr 2009 23:09:13 +0000 (01:09 +0200)]
s3:config.sub: move to GPLv3

Michael

10 years agos3:update config.sub from gnu.org (2009-04-17)
Michael Adam [Thu, 30 Apr 2009 22:53:49 +0000 (00:53 +0200)]
s3:update config.sub from gnu.org (2009-04-17)

as requested in bug #6292.

This is taken from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

Michael

10 years agos3:config.guess: clean some whitespace/tab mixtures that git complains about
Michael Adam [Thu, 30 Apr 2009 23:13:30 +0000 (01:13 +0200)]
s3:config.guess: clean some whitespace/tab mixtures that git complains about

Michael

10 years agos3:config.guess: replace old FSF address by the web site url.
Michael Adam [Thu, 30 Apr 2009 23:06:34 +0000 (01:06 +0200)]
s3:config.guess: replace old FSF address by the web site url.

Michael

10 years agos3:config.guess: move to GPLv3
Michael Adam [Thu, 30 Apr 2009 23:04:55 +0000 (01:04 +0200)]
s3:config.guess: move to GPLv3

10 years agos3:update config.guess form gnu.org (version 2009-04-27)
Michael Adam [Thu, 30 Apr 2009 22:52:43 +0000 (00:52 +0200)]
s3:update config.guess form gnu.org (version 2009-04-27)

as requested in bug #6292.

This is taken from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD

Michael

10 years agoGet medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
Jeremy Allison [Thu, 30 Apr 2009 22:26:43 +0000 (15:26 -0700)]
Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions.
This is smaller than it looks, it just fixes a lot of old code.
Next up, ensure all cli_XX functions return NTSTATUS.
Jeremy.

10 years agos3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.
Günther Deschner [Thu, 30 Apr 2009 21:37:26 +0000 (23:37 +0200)]
s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.

Found by David Markey <admin@dmarkey.com>. Thanks!

Guenther

10 years agowkssvcs: add WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS join flag.
Günther Deschner [Thu, 30 Apr 2009 21:36:24 +0000 (23:36 +0200)]
wkssvcs: add WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS join flag.

Guenther

10 years agos3-printing: rework move_driver_file_to_download_area() a bit for clarity.
Günther Deschner [Thu, 30 Apr 2009 14:49:50 +0000 (16:49 +0200)]
s3-printing: rework move_driver_file_to_download_area() a bit for clarity.

Guenther

10 years agos3-lsa: use LSA_POLICY_MODE flags in _lsa_GetSystemAccessAccount().
Günther Deschner [Thu, 30 Apr 2009 10:30:10 +0000 (12:30 +0200)]
s3-lsa: use LSA_POLICY_MODE flags in _lsa_GetSystemAccessAccount().

Guenther

10 years agos3-nss_wins: Fix unresolved ldb symbols in libnss_wins.so.
Günther Deschner [Thu, 30 Apr 2009 12:16:01 +0000 (14:16 +0200)]
s3-nss_wins: Fix unresolved ldb symbols in libnss_wins.so.

The objects for this module should probably be cleaned up once.

Guenther

10 years agoRe-import the v3-3 version of str_list_make().
Volker Lendecke [Thu, 30 Apr 2009 11:37:19 +0000 (13:37 +0200)]
Re-import the v3-3 version of str_list_make().

The merged version behaves differently: "Domain Users" is parsed into two
values, as it does not look at quotes. Samba3 users depend on the ability do
say for example

valid users = "domain users"

which would not work anymore with the merged version.

Thanks to Björn Jacke for testing this!

Volker

10 years agoFix notify_onelevel: notify is not necessarily enabled
Volker Lendecke [Thu, 30 Apr 2009 10:24:51 +0000 (12:24 +0200)]
Fix notify_onelevel: notify is not necessarily enabled

Thanks to Günther Deschner!

Volker

10 years agos3-spoolss: avoid referring to uid 0 in spoolss server (use sec_initial_uid() instead).
Günther Deschner [Thu, 30 Apr 2009 09:19:42 +0000 (11:19 +0200)]
s3-spoolss: avoid referring to uid 0 in spoolss server (use sec_initial_uid() instead).

Guenther

10 years agos3-printing: use move_driver_file_to_download_area() to avoid code duplication.
Günther Deschner [Wed, 29 Apr 2009 23:25:23 +0000 (01:25 +0200)]
s3-printing: use move_driver_file_to_download_area() to avoid code duplication.

Guenther

10 years agos3-printing: add move_driver_file_to_download_area().
Günther Deschner [Wed, 29 Apr 2009 23:07:31 +0000 (01:07 +0200)]
s3-printing: add move_driver_file_to_download_area().

Guenther

10 years agoMake cli_unlink async.
Jeremy Allison [Thu, 30 Apr 2009 01:26:02 +0000 (18:26 -0700)]
Make cli_unlink async.
Jeremy.

10 years agoMore async calls in libsmb/clifile.c
Jeremy Allison [Wed, 29 Apr 2009 17:48:16 +0000 (10:48 -0700)]
More async calls in libsmb/clifile.c
Jeremy.

10 years agos3:vfs: untangle logic for loading and probing modules in vfs_init_custom()
Michael Adam [Wed, 29 Apr 2009 14:33:45 +0000 (16:33 +0200)]
s3:vfs: untangle logic for loading and probing modules in vfs_init_custom()

This is to be able to provide more specific error messages.

Michael

10 years agos3-test: make it possible to find the built vlp in "make test".
Günther Deschner [Wed, 29 Apr 2009 12:29:25 +0000 (14:29 +0200)]
s3-test: make it possible to find the built vlp in "make test".

Guenther

10 years agos3/docs: Fix serveral typos.
Karolin Seeger [Wed, 29 Apr 2009 12:12:01 +0000 (14:12 +0200)]
s3/docs: Fix serveral typos.

This fixes bug #4315.
Thanks to Felipe Augusto van de Wiel <faw [at] cathedrallabs [dot] org>!

Karolin

10 years agos3/docs: Remove documentation of "use kerberos keytab".
Karolin Seeger [Wed, 29 Apr 2009 10:38:28 +0000 (12:38 +0200)]
s3/docs: Remove documentation of "use kerberos keytab".

This parameter has been removed with d96248a9b4655.

Karolin

10 years agos3-docs: document "net eventlog" in net manpage.
Günther Deschner [Wed, 29 Apr 2009 09:46:43 +0000 (11:46 +0200)]
s3-docs: document "net eventlog" in net manpage.

Guenther

10 years agos3-net: make "net eventlog" help output a little more appropriate.
Günther Deschner [Wed, 29 Apr 2009 09:46:12 +0000 (11:46 +0200)]
s3-net: make "net eventlog" help output a little more appropriate.

Guenther

10 years agos3: fix crash in winbindd
Bo Yang [Wed, 29 Apr 2009 01:50:41 +0000 (09:50 +0800)]
s3: fix crash in winbindd

10 years agos3:smbd/service: switch load_registry_service/shares to use loadparm routines
Michael Adam [Tue, 28 Apr 2009 23:49:53 +0000 (01:49 +0200)]
s3:smbd/service: switch load_registry_service/shares to use loadparm routines

instead of reading the registry directly with tdb and activating the
configure options by hand.

This eliminates the need for repeating checks done in loadparm.
For instance it disables registry shares without path in the server
as is the case with text based shares.

Michael

10 years agos3:loadparm: refactor process_registry_service out or process_registry_globals
Michael Adam [Tue, 28 Apr 2009 23:31:03 +0000 (01:31 +0200)]
s3:loadparm: refactor process_registry_service out or process_registry_globals

Michael

10 years agosamr: fix samr_ConnectVersion enum which is 32bit not 16bit.
Günther Deschner [Tue, 28 Apr 2009 23:55:09 +0000 (01:55 +0200)]
samr: fix samr_ConnectVersion enum which is 32bit not 16bit.

Volker, please check.
Rafal, haven't we seen this in your tests at sambaxp as well ?

Guenther

10 years agosvcctl: Fix IDL for svcctl_StartServiceW().
Günther Deschner [Tue, 28 Apr 2009 23:49:26 +0000 (01:49 +0200)]
svcctl: Fix IDL for svcctl_StartServiceW().

Guenther

10 years agoDoh ! Don't need "int dummy" when we have state :-).
Jeremy Allison [Tue, 28 Apr 2009 23:45:13 +0000 (16:45 -0700)]
Doh ! Don't need "int dummy" when we have state :-).
Jeremy.

10 years agoConvert cli_rename to async.
Jeremy Allison [Tue, 28 Apr 2009 23:43:16 +0000 (16:43 -0700)]
Convert cli_rename to async.
Jeremy.

10 years agoConvert cli_posix_unlink() and cli_posix_rmdir()
Jeremy Allison [Tue, 28 Apr 2009 20:18:51 +0000 (13:18 -0700)]
Convert cli_posix_unlink() and cli_posix_rmdir()
to async. First trans calls I've done.
Jeremy.

10 years agoFix bug #6291 - force user stop working.
Jeremy Allison [Tue, 28 Apr 2009 18:07:51 +0000 (11:07 -0700)]
Fix bug #6291 - force user stop working.
A previous fix broke the invariant that *uid is always
initialized on return from create_token_from_username().
Restore it.
Jeremy.

10 years agoFix a missing prototype warning
Volker Lendecke [Tue, 28 Apr 2009 13:33:21 +0000 (15:33 +0200)]
Fix a missing prototype warning

10 years agos3-cldap: check for zero ip address in ads_cldap_netlogon().
Günther Deschner [Tue, 28 Apr 2009 10:02:22 +0000 (12:02 +0200)]
s3-cldap: check for zero ip address in ads_cldap_netlogon().

Guenther

10 years agoFix Coverity ID 853 (UNINIT) -- Kai, please check!
Volker Lendecke [Tue, 28 Apr 2009 10:24:26 +0000 (12:24 +0200)]
Fix Coverity ID 853 (UNINIT) -- Kai, please check!

10 years agopm_process():raise level of debug message
Michael Adam [Tue, 28 Apr 2009 10:18:23 +0000 (12:18 +0200)]
pm_process():raise level of debug message

Michael

10 years agos3:loadparm: prevent infinite include nesting.
Michael Adam [Mon, 27 Apr 2009 16:10:14 +0000 (18:10 +0200)]
s3:loadparm: prevent infinite include nesting.

This introduces a hard coded MAX_INCLUDE_DEPTH of 100.
When this is exceeded, handle_include (and hence lp_load) fails.

One could of course implement a more intelligent loop detection
in the include-tree, but this would require some restructuring
of the internal loadparm housekeeping. Maybe as a second improvement
step.

Michael

10 years agos3-net: make sure to call libnetapi init functions at the top of "net rpc" command.
Günther Deschner [Mon, 27 Apr 2009 12:39:02 +0000 (14:39 +0200)]
s3-net: make sure to call libnetapi init functions at the top of "net rpc" command.

Without the initialization "net rpc password" will prompt twice for passwords
and will not allow to define the name of the connection admin user.

In the long run we should probably only have one place where to initialize
libnetapi.

Kai, please check.

Guenther

10 years agoFix a type-punned warning
Volker Lendecke [Tue, 28 Apr 2009 09:57:47 +0000 (11:57 +0200)]
Fix a type-punned warning

10 years agos3:mark registry shares without path unavailable just as with text config
Michael Adam [Mon, 27 Apr 2009 23:24:27 +0000 (01:24 +0200)]
s3:mark registry shares without path unavailable just as with text config

This prevents users from getting access to "/" in misconfigured setups.

Michael

10 years agoFix annoying debug messages when no snapshots are used
Volker Lendecke [Tue, 28 Apr 2009 09:16:19 +0000 (11:16 +0200)]
Fix annoying debug messages when no snapshots are used

Not being able to open the shadow copy directory is the same as having no
shadow copy support at all. The VFS module should in this case not log with
debug level 0 and set ENOSYS to indicate "no shadow copies used" to the higher
levels.

10 years agos3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().
Günther Deschner [Mon, 27 Apr 2009 23:08:31 +0000 (01:08 +0200)]
s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().

The resume handle is a unique pointer, always check before dereference.

Guenther

10 years agoDo not panic unnecessarily
Volker Lendecke [Wed, 22 Apr 2009 14:44:11 +0000 (16:44 +0200)]
Do not panic unnecessarily

10 years agoFix a type-punned warning
Volker Lendecke [Thu, 23 Apr 2009 16:05:51 +0000 (18:05 +0200)]
Fix a type-punned warning

10 years agos3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.
Günther Deschner [Mon, 27 Apr 2009 16:47:41 +0000 (18:47 +0200)]
s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.

This fixes all kinds of encrypted passwords used in the shared auth code naturally.
Andrew B., please check.

Guenther