]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
17 years agonet conf: implement "net conf getincludes".
Michael Adam [Wed, 9 Apr 2008 13:37:33 +0000 (15:37 +0200)] 
net conf: implement "net conf getincludes".

Michael

17 years agonet conf: add diagnostic message for failure to load text file.
Michael Adam [Wed, 9 Apr 2008 13:17:28 +0000 (15:17 +0200)] 
net conf: add diagnostic message for failure to load text file.

Michael

17 years agonet conf: reduce indentation by grouping testmode code together.
Michael Adam [Wed, 9 Apr 2008 12:59:05 +0000 (14:59 +0200)] 
net conf: reduce indentation by grouping testmode code together.

Michael

17 years agonet conf: don't drop config in testmode
Michael Adam [Tue, 8 Apr 2008 23:27:30 +0000 (01:27 +0200)] 
net conf: don't drop config in testmode

Michael

17 years agonet conf: fix import to correctly add includes (at the end)
Michael Adam [Tue, 8 Apr 2008 23:20:36 +0000 (01:20 +0200)] 
net conf: fix import to correctly add includes (at the end)

Michael

17 years agoloadparm: drop debug level in map_parameter from 0 to 1
Michael Adam [Tue, 8 Apr 2008 23:28:43 +0000 (01:28 +0200)] 
loadparm: drop debug level in map_parameter from 0 to 1

we don't want to see this all the times in tests.

Michael

17 years agotest: run smbconftort testsuite from the local_s3 tests
Michael Adam [Tue, 8 Apr 2008 10:08:18 +0000 (12:08 +0200)] 
test: run smbconftort testsuite from the local_s3 tests

Michael

17 years agolibsmbconf: testsuite: add test for delete_includes
Michael Adam [Wed, 9 Apr 2008 20:23:12 +0000 (22:23 +0200)] 
libsmbconf: testsuite: add test for delete_includes

Michael

17 years agolibsmbconf: return success and count 0 from get_includes when no includes present.
Michael Adam [Wed, 9 Apr 2008 20:22:20 +0000 (22:22 +0200)] 
libsmbconf: return success and count 0 from get_includes when no includes present.

Michael

17 years agolibsmbconf: add delete_includes mehtod to the api (and backend implementations)
Michael Adam [Wed, 9 Apr 2008 20:21:15 +0000 (22:21 +0200)] 
libsmbconf: add delete_includes mehtod to the api (and backend implementations)

Michael

17 years agolibsmbconf: let set_includes delete the includes paramter when given an empty list
Michael Adam [Wed, 9 Apr 2008 16:46:02 +0000 (18:46 +0200)] 
libsmbconf: let set_includes delete the includes paramter when given an empty list

instead of complaining

Michael

17 years agolibsmbconf: fix crashbug - correctly check for existence of file.
Michael Adam [Wed, 9 Apr 2008 13:16:45 +0000 (15:16 +0200)] 
libsmbconf: fix crashbug - correctly check for existence of file.

Michael

17 years agolibsmbconf: prevent getting/deleting value "includes".
Michael Adam [Wed, 9 Apr 2008 07:54:17 +0000 (09:54 +0200)] 
libsmbconf: prevent getting/deleting value "includes".

This has to be handled differently (by using get_includes / set_includes)

Michael

17 years agolibsmbconf: consider "include" a forbidden parameter in regisry config again.
Michael Adam [Tue, 8 Apr 2008 23:19:50 +0000 (01:19 +0200)] 
libsmbconf: consider "include" a forbidden parameter in regisry config again.

It is now taken care of by the special includes handling.

Michael

17 years agolibsmbconf: add includes at the end of parameter list in reg_get_share().
Michael Adam [Tue, 8 Apr 2008 22:47:27 +0000 (00:47 +0200)] 
libsmbconf: add includes at the end of parameter list in reg_get_share().

Michael

17 years agolibsmbconf: add function smbconf_reg_valname_valid() and use it in get_values()
Michael Adam [Tue, 8 Apr 2008 22:05:45 +0000 (00:05 +0200)] 
libsmbconf: add function smbconf_reg_valname_valid() and use it in get_values()

so "includes" doesn't get listed as a parameter

Michael

17 years agolibsmbconf: refactor get_includes on opened key into smbconf_reg_get_includes_internal()
Michael Adam [Tue, 8 Apr 2008 21:58:56 +0000 (23:58 +0200)] 
libsmbconf: refactor get_includes on opened key into smbconf_reg_get_includes_internal()

Michael

17 years agolibsmbconf: rename registry_smbconf_valname_forbidden() to smbconf_reg_valname_forbid...
Michael Adam [Tue, 8 Apr 2008 20:57:48 +0000 (22:57 +0200)] 
libsmbconf: rename registry_smbconf_valname_forbidden() to smbconf_reg_valname_forbidden()

Michael

17 years agolibsmbconf: make registry_smbconf_valname_forbidden() static
Michael Adam [Tue, 8 Apr 2008 20:56:06 +0000 (22:56 +0200)] 
libsmbconf: make registry_smbconf_valname_forbidden() static

Michael

17 years agolibsmbconf: move registry_smbconf_valname_forbidden() to the registry backend
Michael Adam [Tue, 8 Apr 2008 20:51:02 +0000 (22:51 +0200)] 
libsmbconf: move registry_smbconf_valname_forbidden() to the registry backend

from util_reg.c - no other callers left

Michael

17 years agolibsmbconf: more sanely print multi_sz values in registry backend
Michael Adam [Tue, 8 Apr 2008 20:23:57 +0000 (22:23 +0200)] 
libsmbconf: more sanely print multi_sz values in registry backend

Michael

17 years agolibsmbconf: testsuite: fix handling of error message/overall status
Michael Adam [Tue, 8 Apr 2008 16:00:27 +0000 (18:00 +0200)] 
libsmbconf: testsuite: fix handling of error message/overall status

Michael

17 years agolibsmbconf: testsuite: add test_set_get_includes() and use it in registry test
Michael Adam [Tue, 8 Apr 2008 15:54:29 +0000 (17:54 +0200)] 
libsmbconf: testsuite: add test_set_get_includes() and use it in registry test

Michael

17 years agolibsmbconf: testsuite: refactor printing of string lists out.
Michael Adam [Tue, 8 Apr 2008 15:49:10 +0000 (17:49 +0200)] 
libsmbconf: testsuite: refactor printing of string lists out.

Michael

17 years agolibsmbconf: implement get_includes() and set_includes() for registry backend.
Michael Adam [Tue, 8 Apr 2008 15:46:36 +0000 (17:46 +0200)] 
libsmbconf: implement get_includes() and set_includes() for registry backend.

includes are stored per share in a special registry value "includes"
of type multi_sz.

Michael

17 years agolibsmbconf: testsuite: test get_includes for registry backend
Michael Adam [Tue, 8 Apr 2008 12:31:16 +0000 (14:31 +0200)] 
libsmbconf: testsuite: test get_includes for registry backend

Michael

17 years agolibsmbconf: testsuite: use the get_global_includes in get_includes test.
Michael Adam [Tue, 8 Apr 2008 12:30:46 +0000 (14:30 +0200)] 
libsmbconf: testsuite: use the get_global_includes in get_includes test.

Michael

17 years agolibsmbconf: add "_global_" wrappers for get/set_includes.
Michael Adam [Tue, 8 Apr 2008 12:24:42 +0000 (14:24 +0200)] 
libsmbconf: add "_global_" wrappers for get/set_includes.

These use the usual global_check like the other global wrappers.

Michael

17 years agolibsmbconf: testsuite: add test for "get_includes" and use it in the text backend...
Michael Adam [Tue, 8 Apr 2008 10:30:21 +0000 (12:30 +0200)] 
libsmbconf: testsuite: add test for "get_includes" and use it in the text backend test.

Michael

17 years agolibsmbconf: fill get_includes() in text backed to retrieve includes from cache.
Michael Adam [Tue, 8 Apr 2008 10:09:24 +0000 (12:09 +0200)] 
libsmbconf: fill get_includes() in text backed to retrieve includes from cache.

Michael

17 years agolibsmbconf: testsuite: set the debufg fd to stderr.
Michael Adam [Tue, 8 Apr 2008 15:53:45 +0000 (17:53 +0200)] 
libsmbconf: testsuite: set the debufg fd to stderr.

...so that we see some debug output

Michael

17 years agolibsmbconf: testsuite: use POPT_COMMON_SAMBA instead of POPT_COMMON_CONFIGFILE
Michael Adam [Tue, 8 Apr 2008 15:52:46 +0000 (17:52 +0200)] 
libsmbconf: testsuite: use POPT_COMMON_SAMBA instead of POPT_COMMON_CONFIGFILE

so we can for instance set the debug level on the command line.

Michael

17 years agolibsmbconf: testsuite: add talloc_stackframe to main().
Michael Adam [Tue, 8 Apr 2008 15:51:57 +0000 (17:51 +0200)] 
libsmbconf: testsuite: add talloc_stackframe to main().

Michael

17 years agolibsmbconf: testsuite: add support for "--configfile" option.
Michael Adam [Tue, 8 Apr 2008 10:07:35 +0000 (12:07 +0200)] 
libsmbconf: testsuite: add support for "--configfile" option.

Michael

17 years agolibsmbconf: add testsuite to the library.
Michael Adam [Tue, 8 Apr 2008 09:02:17 +0000 (11:02 +0200)] 
libsmbconf: add testsuite to the library.

Currently only the init function is tested, more tests to come...

Michael

17 years agolibsmbconf: add talloc context to the get_includes methods.
Michael Adam [Tue, 8 Apr 2008 08:16:03 +0000 (10:16 +0200)] 
libsmbconf: add talloc context to the get_includes methods.

Michael

17 years agolibsmbconf: add get_includes() and set_includes() to the API.
Michael Adam [Mon, 7 Apr 2008 23:56:32 +0000 (01:56 +0200)] 
libsmbconf: add get_includes() and set_includes() to the API.

Includes have to get a special treatment, at least for registry.
Includes are not like other smbconf parameters: they are some kind
of metainformation. "include" has two effects when stated twice so
it can not be stored boldly into registry, since there can only be
one value named "include" in registry per key.

I will provide special handling for includes for the registry backend.

This patch provides the necessary methods in the smbconf API.

Michael

17 years agolibsmbconf: activate the verbatim-flag in text backend: store parameters as they...
Michael Adam [Mon, 7 Apr 2008 20:49:11 +0000 (22:49 +0200)] 
libsmbconf: activate the verbatim-flag in text backend: store parameters as they come.

with verbatim == true, parameters are stored as they come from the input file,
duplicates are listed multiple times, etc.

Michael

17 years agolibsmbconf: pass txt_private_data instead of only cache to do_parameter/section
Michael Adam [Mon, 7 Apr 2008 20:43:33 +0000 (22:43 +0200)] 
libsmbconf: pass txt_private_data instead of only cache to do_parameter/section

in preparation of using the verbatim flag.

Michael

17 years agolibsmbconf: load file after special initialization
Michael Adam [Mon, 7 Apr 2008 21:28:48 +0000 (23:28 +0200)] 
libsmbconf: load file after special initialization

otherwise verbatim parameter can have no effect.

Michael

17 years agolibsmbconf: add a "verbatim" parameter to smbconf_init_txt_simple().
Michael Adam [Mon, 7 Apr 2008 20:33:01 +0000 (22:33 +0200)] 
libsmbconf: add a "verbatim" parameter to smbconf_init_txt_simple().

Michael

17 years agolibsmbconf: reformat smbconf_format_registry_value() - indentations/tabs
Michael Adam [Mon, 7 Apr 2008 13:29:11 +0000 (15:29 +0200)] 
libsmbconf: reformat smbconf_format_registry_value() - indentations/tabs

Michael

17 years agolibsmbconf: untangle assignment and test in for-loop condition.
Michael Adam [Mon, 7 Apr 2008 13:15:57 +0000 (15:15 +0200)] 
libsmbconf: untangle assignment and test in for-loop condition.

Michael

17 years agolibsmbconf: fix a comment
Michael Adam [Mon, 7 Apr 2008 13:12:44 +0000 (15:12 +0200)] 
libsmbconf: fix a comment

Michael

17 years agolibsmbconf: search from the back when getting parameter from text backend
Michael Adam [Mon, 7 Apr 2008 22:08:41 +0000 (00:08 +0200)] 
libsmbconf: search from the back when getting parameter from text backend

so we make sure to always deliver the value last read.

Michael

17 years agolibsmbconf: add smbconf_reverse_find_in_array() to find last occurence of a string.
Michael Adam [Mon, 7 Apr 2008 22:03:39 +0000 (00:03 +0200)] 
libsmbconf: add smbconf_reverse_find_in_array() to find last occurence of a string.

Michael

17 years agolibsmbconf: move smbconf_find_in_array() to smbconf_util.c
Michael Adam [Mon, 7 Apr 2008 13:09:28 +0000 (15:09 +0200)] 
libsmbconf: move smbconf_find_in_array() to smbconf_util.c

Michael

17 years agolibsmbconf: reorder prototypes in smbconf_private.h
Michael Adam [Mon, 7 Apr 2008 13:06:41 +0000 (15:06 +0200)] 
libsmbconf: reorder prototypes in smbconf_private.h

Michael

17 years agolibsmbconf: rename smbconf_txt_find_in_array() to smbconf_find_in_array()
Michael Adam [Mon, 7 Apr 2008 13:05:33 +0000 (15:05 +0200)] 
libsmbconf: rename smbconf_txt_find_in_array() to smbconf_find_in_array()

Michael

17 years agolibsmbconf: move utility functions from main module to new smbconf_util.c
Michael Adam [Mon, 7 Apr 2008 13:01:44 +0000 (15:01 +0200)] 
libsmbconf: move utility functions from main module to new smbconf_util.c

Michael

17 years agocharcnv: add talloc_strdup_lower() - talloc variant of strdup_lower().
Michael Adam [Wed, 9 Apr 2008 13:36:55 +0000 (15:36 +0200)] 
charcnv: add talloc_strdup_lower() - talloc variant of strdup_lower().

Michael

17 years agoregistry: add support for REG_MULTI_SZ to registry_push_value().
Michael Adam [Tue, 8 Apr 2008 15:44:40 +0000 (17:44 +0200)] 
registry: add support for REG_MULTI_SZ to registry_push_value().

This enables us to fetch multi_sz values from registry...

Michael

17 years agovlp: fix an implicit cast compile warning.
Michael Adam [Wed, 9 Apr 2008 22:44:25 +0000 (00:44 +0200)] 
vlp: fix an implicit cast compile warning.

Michael

17 years agonet: don't process net_registry_util.c with make proto
Michael Adam [Wed, 9 Apr 2008 16:54:20 +0000 (18:54 +0200)] 
net: don't process net_registry_util.c with make proto

it has its own herader net_registry_util.h

Michael

17 years agonet rpc registry: add getvalue command.
Michael Adam [Wed, 9 Apr 2008 12:30:18 +0000 (14:30 +0200)] 
net rpc registry: add getvalue command.

This is the same as already implemented for "net registry".

usage: net rpc registry getvalue <key> <valuename>

Michael

17 years agonet registry: add a getvalue subcommand that prints a single given value.
Michael Adam [Wed, 9 Apr 2008 10:31:05 +0000 (12:31 +0200)] 
net registry: add a getvalue subcommand that prints a single given value.

usage: "net registry getvalue <keyname> <valuename>"

Michael

17 years agonet (registry util): refactor printing of value without name out.
Michael Adam [Wed, 9 Apr 2008 10:29:34 +0000 (12:29 +0200)] 
net (registry util): refactor printing of value without name out.

This renames print_registry_value() to print_registry_value_with_name().
The new function is called print_registry_value().

Michael

17 years agoFix typos.
Karolin Seeger [Wed, 9 Apr 2008 14:14:04 +0000 (16:14 +0200)] 
Fix typos.

Karolin

17 years agoAdd NetUserEnum example.
Günther Deschner [Wed, 9 Apr 2008 11:50:30 +0000 (13:50 +0200)] 
Add NetUserEnum example.

Guenther

17 years agoAdd NetUserEnum to libnetapi.
Günther Deschner [Wed, 9 Apr 2008 11:47:51 +0000 (13:47 +0200)] 
Add NetUserEnum to libnetapi.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Wed, 9 Apr 2008 11:42:48 +0000 (13:42 +0200)] 
Re-run make idl.

Guenther

17 years agoAdd NetUserEnum to libnetapi IDL.
Günther Deschner [Wed, 9 Apr 2008 11:41:54 +0000 (13:41 +0200)] 
Add NetUserEnum to libnetapi IDL.

Guenther

17 years agoAdd Add NetUserDel example.
Günther Deschner [Wed, 9 Apr 2008 11:38:39 +0000 (13:38 +0200)] 
Add Add NetUserDel example.

Guenther

17 years agoAdd NetUserDel to libnetapi.
Günther Deschner [Wed, 9 Apr 2008 11:35:49 +0000 (13:35 +0200)] 
Add NetUserDel to libnetapi.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Wed, 9 Apr 2008 11:32:19 +0000 (13:32 +0200)] 
Re-run make idl.

Guenther

17 years agoAdd NetUserDel to libnetapi IDL.
Günther Deschner [Wed, 9 Apr 2008 11:31:53 +0000 (13:31 +0200)] 
Add NetUserDel to libnetapi IDL.

Guenther

17 years agoAdd NetUserAdd example.
Günther Deschner [Wed, 9 Apr 2008 11:28:30 +0000 (13:28 +0200)] 
Add NetUserAdd example.

Guenther

17 years agoAdd NetUserAdd to libnetapi.
Günther Deschner [Wed, 9 Apr 2008 10:38:22 +0000 (12:38 +0200)] 
Add NetUserAdd to libnetapi.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Wed, 9 Apr 2008 10:36:02 +0000 (12:36 +0200)] 
Re-run make idl.

Guenther

17 years agoAdd NetUserAdd to libnetapi IDL.
Günther Deschner [Wed, 9 Apr 2008 10:35:09 +0000 (12:35 +0200)] 
Add NetUserAdd to libnetapi IDL.

Guenther

17 years agoFix parameters string for rpc_trustdom_add_internals().
Günther Deschner [Wed, 9 Apr 2008 11:17:42 +0000 (13:17 +0200)] 
Fix parameters string for rpc_trustdom_add_internals().

Guenther

17 years agoTry anonymous session setup
Volker Lendecke [Wed, 9 Apr 2008 07:48:59 +0000 (09:48 +0200)] 
Try anonymous session setup

... if there's no trust password

Attempt to fix bug 5350

17 years agoRemove reference to pointless socket options
Volker Lendecke [Wed, 9 Apr 2008 06:40:59 +0000 (08:40 +0200)] 
Remove reference to pointless socket options

17 years agoCheck x_fflush returns.
Jeremy Allison [Tue, 8 Apr 2008 22:08:47 +0000 (15:08 -0700)] 
Check x_fflush returns.
Jeremy.

17 years agoFix lsa_QueryTrustedDomainInfo caller.
Günther Deschner [Tue, 8 Apr 2008 21:09:24 +0000 (23:09 +0200)] 
Fix lsa_QueryTrustedDomainInfo caller.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 21:04:22 +0000 (23:04 +0200)] 
Re-run make idl.

Guenther

17 years agoFix IDL for lsa_LookupPrivName.
Günther Deschner [Tue, 8 Apr 2008 21:02:48 +0000 (23:02 +0200)] 
Fix IDL for lsa_LookupPrivName.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 20:58:16 +0000 (22:58 +0200)] 
Re-run make idl.

Guenther

17 years agoFix IDL for lsa_QueryTrustedDomainInfo.
Günther Deschner [Tue, 8 Apr 2008 20:57:16 +0000 (22:57 +0200)] 
Fix IDL for lsa_QueryTrustedDomainInfo.

Guenther

17 years agoFix lsa_TrustedDomainInfo callers.
Günther Deschner [Tue, 8 Apr 2008 20:55:52 +0000 (22:55 +0200)] 
Fix lsa_TrustedDomainInfo callers.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 20:54:18 +0000 (22:54 +0200)] 
Re-run make idl.

Guenther

17 years agoFix IDL for lsa_QueryTrustedDomainInfoBySid.
Günther Deschner [Tue, 8 Apr 2008 20:52:26 +0000 (22:52 +0200)] 
Fix IDL for lsa_QueryTrustedDomainInfoBySid.

Guenther

17 years agoFix IDL for lsa_QueryTrustedDomainInfoByName.
Günther Deschner [Tue, 8 Apr 2008 20:51:55 +0000 (22:51 +0200)] 
Fix IDL for lsa_QueryTrustedDomainInfoByName.

Guenther

17 years agoFix IDL for lsa_QueryDomainInformationPolicy.
Günther Deschner [Tue, 8 Apr 2008 20:50:05 +0000 (22:50 +0200)] 
Fix IDL for lsa_QueryDomainInformationPolicy.

Guenther

17 years agoFix the build of reply_setattrE().
Günther Deschner [Tue, 8 Apr 2008 19:41:16 +0000 (21:41 +0200)] 
Fix the build of reply_setattrE().

How ever could this compile ?

Guenther

17 years agoMove is_valid_policy_hnd() out of net.
Günther Deschner [Tue, 8 Apr 2008 17:54:57 +0000 (19:54 +0200)] 
Move is_valid_policy_hnd() out of net.

Guenther

17 years agoTry to use kerberos in libnetapi.
Günther Deschner [Tue, 8 Apr 2008 17:42:26 +0000 (19:42 +0200)] 
Try to use kerberos in libnetapi.

Guenther

17 years agoAdd DsGetDcName libnetapi example.
Günther Deschner [Tue, 8 Apr 2008 16:45:26 +0000 (18:45 +0200)] 
Add DsGetDcName libnetapi example.

Guenther

17 years agoAdd DsGetDcName call to libnetapi library.
Günther Deschner [Tue, 8 Apr 2008 16:43:51 +0000 (18:43 +0200)] 
Add DsGetDcName call to libnetapi library.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 12:38:10 +0000 (14:38 +0200)] 
Re-run make idl.

Guenther

17 years agoAdd DsGetDCName call to libnetapi.idl.
Günther Deschner [Tue, 8 Apr 2008 12:37:09 +0000 (14:37 +0200)] 
Add DsGetDCName call to libnetapi.idl.

Guenther

17 years agoFix includes in libnetapi examples common.c
Günther Deschner [Tue, 8 Apr 2008 15:17:17 +0000 (17:17 +0200)] 
Fix includes in libnetapi examples common.c

Guenther

17 years agoselftest: run the BASE-DELAYWRITE test 4 times faster in make test
Stefan Metzmacher [Tue, 8 Apr 2008 16:50:49 +0000 (18:50 +0200)] 
selftest: run the BASE-DELAYWRITE test 4 times faster in make test

metze

17 years agoUse size_t for strlen return, not int. Karolin please
Jeremy Allison [Tue, 8 Apr 2008 14:43:30 +0000 (07:43 -0700)] 
Use size_t for strlen return, not int. Karolin please
pull.
Jeremy.

17 years agoUse popt in libetapi example code.
Günther Deschner [Tue, 8 Apr 2008 12:34:30 +0000 (14:34 +0200)] 
Use popt in libetapi example code.

Guenther

17 years agoPrefill in username in libnetapi ctx.
Günther Deschner [Tue, 8 Apr 2008 12:29:21 +0000 (14:29 +0200)] 
Prefill in username in libnetapi ctx.

Guenther

17 years agoAdd CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.
Günther Deschner [Tue, 8 Apr 2008 12:10:48 +0000 (14:10 +0200)] 
Add CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.

This allows to switch on the cli->fallback_after_kerberos switch.

Guenther

17 years agoDestroy DMAPI session when main smbd daemon exits.
Alexander Bokovoy [Tue, 8 Apr 2008 11:19:01 +0000 (15:19 +0400)] 
Destroy DMAPI session when main smbd daemon exits.

DMAPI session is precious resource maintained at kernel level. We open one of them and use across multiple smbd daemons
but once last of them exits, DMAPI session needs to be destroyed. There are some HSM implementations which fail to
shutdown when opened DMAPI sessions left. Ensure we shutdown our session when it is really not needed anymore.
This is what recommended by DMAPI specification anyway.

17 years agoAllow broader range of HSM systems in vfs_tsmsm
Alexander Bokovoy [Tue, 8 Apr 2008 11:17:53 +0000 (15:17 +0400)] 
Allow broader range of HSM systems in vfs_tsmsm

    Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'.
    Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence*
    of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result.
    Port from Tridge's v3-0-ctdb git tree.

17 years agoRewrite the wrap checks to deal with gcc 4.x optimisations.
Jeremy Allison [Tue, 8 Apr 2008 04:11:16 +0000 (21:11 -0700)] 
Rewrite the wrap checks to deal with gcc 4.x optimisations.
Karolin, please pull once Volker has reviewed. Thanks.
Jeremy.