1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

61768 Commits

Author SHA1 Message Date
Andreas Schneider
c7fb84a58f s3-spoolss: Added a winreg_setform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
0d46ab0f3e s3-spoolss: Added a winreg_deleteform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
93575d6d70 s3-spoolss: Added a winreg_addform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
fbd3235610 s3-spoolss: Added a winreg_enumforms1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
20e96d9243 s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
adfd4854fa s3-spoolss: Added a delete_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
f0054d8361 s3-spoolss: Added a enum_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
77d1b73a3e s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
e498338f6f s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
511dba5ae8 s3-spoolss: Added a get_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
bc23545909 s3-spoolss: Added a set_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
4f3893f814 s3-spoolss: Added a function to open a regkey using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Matthias Dieter Wallnöfer
1ac654d108 s4:WHATSNEW4.txt - further updates and corrections
Some are inspired by ekacnet.
2010-04-07 15:05:19 +02:00
Matthias Dieter Wallnöfer
acfd02574b s4:pyregistry.c - fix indentation 2010-04-07 15:05:19 +02:00
Matthias Dieter Wallnöfer
fa4d91e1e0 s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference 2010-04-07 15:05:18 +02:00
Günther Deschner
345fcf5875 s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
Guenther
2010-04-07 14:56:07 +02:00
Günther Deschner
95b9c48ef1 s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().
Guenther
2010-04-07 14:41:13 +02:00
Günther Deschner
f63c345bbd s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
Guenther
2010-04-07 14:41:13 +02:00
Björn Jacke
3fdebc0646 s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does 2010-04-07 12:22:47 +02:00
Günther Deschner
4712940e7c s4-smbtorture: merge badname spoolss openprinter tests.
Guenther
2010-04-07 11:40:41 +02:00
Günther Deschner
8bb30ffcf6 s4-smbtorture: avoid passing down a full test_spoolss_context to directory
spoolss tests when not used.

Guenther
2010-04-07 11:40:31 +02:00
Jeremy Allison
3d113a6ffb Ensure we total up the correct number of creds requested in a compound request. 2010-04-06 16:31:26 -07:00
Jeremy Allison
9c410118cb Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
Set to 64k by default.

Jeremy.
2010-04-06 15:43:35 -07:00
Jelmer Vernooij
027adf88ea Support 'make test TESTS=foo' again. 2010-04-07 00:32:24 +02:00
Jelmer Vernooij
c349aa3619 s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601. 2010-04-07 00:29:28 +02:00
Günther Deschner
4d482d9c19 s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
Guenther
2010-04-06 21:13:19 +02:00
Matthias Dieter Wallnöfer
91ce32b4c4 s4:param/secrets.c - add some "char *" casts
Also this quiets some warnings.
2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
2859b9df99 s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning 2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
5b824eb17b s4:torture - remove unused variables 2010-04-06 14:54:11 +02:00
Matthias Dieter Wallnöfer
b7b464eeee s4:auth/ntlm/auth_developer.c - "fixed_challenge_get_challenge" - fix the assignment of the challenge
This is a string buffer and not a DATA_BLOB.
2010-04-06 14:54:10 +02:00
Matthias Dieter Wallnöfer
0086db6c0c LDB:sample_module.c - remove code parts which generate warnings
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message
object is strongly discouraged. Better is to make a shallow copy of this message
and attach it to a new child request which is handled by the following modules.
2010-04-06 14:54:10 +02:00
Jelmer Vernooij
5f080d8e03 s4-python: Fix compilation of samba._ldb. 2010-04-06 14:24:45 +02:00
Christian Ambach
96ae3ee803 fix a segfault in the notify subsystem
When the notify_array cannot be loaded correctly,
do not keep the half-baked parsing results in the global variable.

This can lead to segfaults next time notify_load is entered and
the seqnum has not changed. This has been seen in a case
where mixed smbd versions were running in a CTDB cluster
(versions with and w/o commit c216d1e6 that changed the
notify_entry structure).
There will be missed notifications until all smbds are at the
same software level, but this should be acceptable and is better
than crashing and interrupting client operations.

This fix cleans up the notify_array, removes the unparseable data
from the TDB and returns a fresh notify_array that can be worked
with.

The NDR_PRINT_DEBUG had to be moved to only be called when the
parsing succeeded, it was seen to cause additional segfaults.

The status variable is intentionally left to NT_STATUS_OK to not
make callers abort and report errors to the clients and make them
disconnect.

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-04-06 14:09:06 +02:00
Jelmer Vernooij
449bdf3543 s4-python: Move set_session_info to PySambaLdb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
55b98e9768 s4-python: Move register_samba_handlers to PySambaLdb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
e9c3f2ef13 s4-python: Move ldb_set_utf8_casefold to pyldb-samba. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
ae97613499 s4-python: Move set_opaque_integer to pyldb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
b72a5c0336 Move glue.set_credentials hack to samba.Ldb. 2010-04-06 13:12:43 +02:00
Jelmer Vernooij
099fc00b60 Add C-based Samba-specific subclass of Ldb. 2010-04-06 13:12:43 +02:00
Andrew Tridgell
badc255748 s4-build: remove any 'makefile' that may have been left by the waf build
this allows ./autogen.sh to be used to switch back to the old build
system after trying the waf build
2010-04-06 20:48:33 +10:00
Andrew Tridgell
07d9da4d2f build: use a target_in_list() function for more flexible builtin control 2010-04-06 20:27:27 +10:00
Andrew Tridgell
35ec7c34b3 build: cope with binaries with subdir prefixes (for s3 waf build) 2010-04-06 20:27:27 +10:00
Andrew Tridgell
748ef2c865 s4-waf: don't need TOUCH_FILE() any more 2010-04-06 20:27:26 +10:00
Andrew Tridgell
5260b50467 build: run distcheck in testwaf.sh 2010-04-06 20:27:26 +10:00
Andrew Tridgell
bfd30ebcba s4-waf: add subdir argument to distcheck for source4 2010-04-06 20:27:26 +10:00
Andrew Tridgell
6ea4ae881c build: update version of waf to add subdir argument to distcheck 2010-04-06 20:27:26 +10:00
Andrew Tridgell
64594f296c s4-waf: replace TOUCH_FILE() with normal install rules
this allows it to work with 'waf uninstall'
2010-04-06 20:27:26 +10:00
Andrew Tridgell
cd712dff31 build: simpler symlink_bin and symlink_lib methods 2010-04-06 20:27:26 +10:00
Andrew Tridgell
7ae4372124 s4-waf: fixed waf distcheck for our standalone libs and s4 2010-04-06 20:27:26 +10:00
Andrew Tridgell
fe060c8f50 s4-waf: added simple 'waf test' support for tdb, talloc and ldb 2010-04-06 20:27:26 +10:00