1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3
Bryan Mason f0abf62adc s3:tests: Add smbspool test for CUPS-like "sanitized" Device URI in argv[0]
Before calling a backend like smbspool, CUPS will set argv[0] to the
"sanitized" Device URI (the Device URI with username/password
information removed).  These changes are intended to catch problems
with smbspool that may be created by this behavior (like
https://bugzilla.samba.org/show_bug.cgi?id=14128).

source3/script/tests/smbspool_argv_wrapper.c: added to emulate
CUPS-like behavior by setting argv[0] to the device URI before
exec()ing smbspool.

source3/script/tests/test_smbspool.sh: updated to use
smbspool_argv_wrapper to test the CUPS-like behavior described above.

Signed-off-by: Bryan Mason <bmason@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Oct 16 10:55:04 UTC 2019 on sn-devel-184
2019-10-16 10:55:04 +00:00
..
auth s3/auth: clang: Fix 'Value stored during its initialization is never read' 2019-09-26 18:41:27 +00:00
build source3/build/charset.py: update to handle waf 2.0.4 2018-09-05 06:37:23 +02:00
client s3: smbclient: Stop an SMB2-connection from blundering into SMB1-specific calls. 2019-10-07 08:13:44 +00:00
exports
groupdb s3/groupdb: clang: 'Value stored during its initialization is never read' 2019-09-26 18:41:26 +00:00
include s3: VFS: Complete the removal of SMB_VFS_CHOWN() 2019-10-15 20:07:51 +00:00
intl lib: Remove "tdb based replacement for gettext" 2019-05-22 05:59:13 +00:00
lib s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
libads s3:libads: Do not turn on canonicalization flag for MIT Kerberos 2019-10-12 17:39:13 +00:00
libgpo/gpext Spelling fixes s/emtpy/empty/ 2019-09-01 22:21:26 +00:00
libnet s3:libads: Just change the machine password if account already exists 2019-10-09 07:06:35 +00:00
librpc s3/librpc/crypto: clang: Fixes Value stored to 'ret' is never read 2019-09-25 09:47:32 +00:00
libsmb s3:libsmb: Link libsmb against pthread 2019-10-16 09:33:32 +00:00
locale Spelling fixes s/Mirgate/Migrate/ 2019-09-01 22:21:26 +00:00
locking smbd: Fix an uninitalized variable 2019-10-10 01:04:33 +00:00
modules s3: VFS: Complete the removal of SMB_VFS_CHOWN() 2019-10-15 20:07:51 +00:00
nmbd s3:nmbd: small improvements in --help strings 2019-01-28 14:28:29 +01:00
param s4-dns: Deprecate BIND9_FLATFILE and remove "rndc command" 2019-08-22 21:24:00 +00:00
passdb s3/passdb: clang: Fix 'Value stored during initialization is never read' 2019-10-08 02:40:24 +00:00
printing s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
profile s3:profile: Allow profile subsystem to use SHA1 in FIPS mode 2019-07-09 13:31:46 +00:00
registry Spelling fixes s/preceeding/preceding/ 2019-09-01 22:21:28 +00:00
rpc_client mdssvc.idl: pass policy_handle as pointer 2019-10-09 15:52:55 +00:00
rpc_server mdssvc.idl: pass policy_handle as pointer 2019-10-09 15:52:55 +00:00
rpcclient mdssvc.idl: pass policy_handle as pointer 2019-10-09 15:52:55 +00:00
script s3:tests: Add smbspool test for CUPS-like "sanitized" Device URI in argv[0] 2019-10-16 10:55:04 +00:00
selftest selftest: s3: add a test for spnego downgrade from krb5 to ntlm 2019-10-12 14:33:32 +00:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd s3: VFS: Complete the removal of SMB_VFS_CHOWN() 2019-10-15 20:07:51 +00:00
torture s3: torture: Remove cmd_chown() - can be replicated by cmd_open()->cmd_fchown(). 2019-10-15 18:46:37 +00:00
utils s3:utils: add mdfind 2019-10-09 14:35:29 +00:00
web
winbindd s3:libnet: Require sealed LDAP SASL connections for joining 2019-10-09 07:06:35 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript wscript: split function check to one per line and sort alphabetically 2019-10-10 20:13:25 +00:00
wscript_build s3:tests: Add smbspool test for CUPS-like "sanitized" Device URI in argv[0] 2019-10-16 10:55:04 +00:00
wscript_configure_system_ncurses source3/wscript_configure_system_ncurses: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00