Ralph Boehme
08512e3a54
source3/lib/smbconf: don't ignore unknown options
...
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14828
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2021-09-10 15:10:30 +00:00
Andreas Schneider
0f6c86b201
s3:lib: Migrate smbconftort to new cmdline option parser
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-20 02:58:36 +00:00
Andreas Schneider
54c1ab6d75
s3:lib: Use POPT_TABLEEND for last element of poptOption
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-01-28 10:29:15 +01:00
Volker Lendecke
c51300ad89
lib: load_case_tables() -> smb_init_locale()
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-03-24 00:00:20 +01:00
Stefan Metzmacher
defe9aa675
s3:lib/smbconf: fix const warnings in testsuite.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-04-02 09:03:42 +02:00
Rusty Russell
f3001e808c
source3/lib/smbconf/testsuite.c: fix stackframe leak
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-07-18 05:07:31 +09:30
Andrew Bartlett
b74fe73a6f
build: Remove sys_fopen wrapper
2012-04-05 02:39:08 +02:00
Michael Adam
88ee6973f0
s3:libsmbconf: use lp_load_global() in the testsuite
2011-07-28 11:17:30 +02:00
Andreas Schneider
72d15f0c03
libsmbconf: Convert smbconf_delete_includes() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
d911bafea6
libsmbconf: Convert smbconf_set_includes() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
9f9711490a
libsmbconf: Convert smbconf_get_includes() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
9082c7cee8
libsmbconf: Convert smbconf_open() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
29eea4b09a
libsmbconf: Convert smbconf_init() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andrew Bartlett
9da4ace1d9
s3-debug Impove setup_logging() to specify logging to stderr
...
This change improves the setup_logging() API so that callers which
wish to set up logging to stderr can simply ask for it, rather than
directly modify the dbf global variable.
Andrew Bartlett
2010-11-02 04:36:04 +00:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Günther Deschner
e9f5bdf6b5
smbconf: only include smbconf headers where needed.
...
Guenther
2010-05-18 10:36:33 +02:00
Björn Jacke
c3691b839c
fix "dubious escape" warning of Studio compiler
2009-03-09 10:47:30 +01:00
Stefan Metzmacher
50db8ede23
s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')
...
Temporary results printfs should not contain reserved subunit words.
metze
2009-01-30 19:47:59 +01:00
Michael Adam
f0f5029fd7
s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite
...
Michael
2009-01-21 18:40:56 +01:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Michael Adam
9c09d545bf
[s3]libsmbconf: create text config in smbconftort
...
Michael
2008-10-27 13:02:40 +01:00
Michael Adam
b2425f88fa
libsmbconf: rename smbconf_init_txt_simple() to smbconf_init_txt().
...
...for consistency.
Michael
(This used to be commit 3d1da73f66
)
2008-04-22 16:11:37 +02:00
Michael Adam
35d6068f25
libsmbconf: remove the bool verbatim parameter from txt backend init function.
...
Always be verbatim for now. Backend config options may be added later
via some private data pointer.
Michael
(This used to be commit e8bafcfbf4
)
2008-04-13 20:04:43 +02:00
Michael Adam
3201155e00
libsmbconf: testsuite: add test for delete_includes
...
Michael
(This used to be commit 757601ec83
)
2008-04-10 01:29:01 +02:00
Michael Adam
40c60b0917
libsmbconf: testsuite: fix handling of error message/overall status
...
Michael
(This used to be commit c2d3d56d62
)
2008-04-10 01:28:59 +02:00
Michael Adam
70bb9a919b
libsmbconf: testsuite: add test_set_get_includes() and use it in registry test
...
Michael
(This used to be commit 1f64a1b2b4
)
2008-04-10 01:28:59 +02:00
Michael Adam
097a056df9
libsmbconf: testsuite: refactor printing of string lists out.
...
Michael
(This used to be commit 828c729724
)
2008-04-10 01:28:59 +02:00
Michael Adam
8c091a60d4
libsmbconf: testsuite: test get_includes for registry backend
...
Michael
(This used to be commit 31e68cbe5b
)
2008-04-10 01:28:59 +02:00
Michael Adam
07d038652c
libsmbconf: testsuite: use the get_global_includes in get_includes test.
...
Michael
(This used to be commit 2a4b71b105
)
2008-04-10 01:28:58 +02:00
Michael Adam
f4de1c6ac7
libsmbconf: testsuite: add test for "get_includes" and use it in the text backend test.
...
Michael
(This used to be commit 1ca5afe58c
)
2008-04-10 01:28:58 +02:00
Michael Adam
893ed44762
libsmbconf: testsuite: set the debufg fd to stderr.
...
...so that we see some debug output
Michael
(This used to be commit 7cfec55ed4
)
2008-04-10 01:28:58 +02:00
Michael Adam
e724bfae7a
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
(This used to be commit 94a1923462
)
2008-04-10 01:28:58 +02:00
Michael Adam
869e011e0f
libsmbconf: testsuite: add talloc_stackframe to main().
...
Michael
(This used to be commit 8c631ac2f4
)
2008-04-10 01:28:58 +02:00
Michael Adam
e251327b5b
libsmbconf: testsuite: add support for "--configfile" option.
...
Michael
(This used to be commit 9f6c909f46
)
2008-04-10 01:28:57 +02:00
Michael Adam
b7377c33a3
libsmbconf: add testsuite to the library.
...
Currently only the init function is tested, more tests to come...
Michael
(This used to be commit bc8dc8626c
)
2008-04-10 01:28:57 +02:00