summaryrefslogtreecommitdiff
path: root/source3/script
AgeCommit message (Collapse)AuthorFilesLines
2022-06-22s3:tests: Reformat test_virus_scanner.shAndreas Schneider1-70/+70
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22s3:tests: Reformat test_veto_rmdir.shAndreas Schneider1-150/+150
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22s3:tests: Reformat test_valid_users.shAndreas Schneider1-29/+29
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22s3:tests: Reformat test_usernamemap.shAndreas Schneider1-3/+3
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22s3:tests: Reformat test_timestamps.shAndreas Schneider1-32/+35
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22s3:tests: Reformat test_tevent_glib_glue.shAndreas Schneider1-4/+3
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-22s3:tests: Reformat test_testparm_s3.shAndreas Schneider1-62/+61
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-20s3: tests: Add test that shows smbd crashes using vfs_fruit with ↵Jeremy Allison1-0/+41
fruit:resource = stream on deleting a file. Add knownfail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15099 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <npower@samba.org>
2022-06-17Add test smbclient 'delree' of dir (on DFS share)Noel Power1-0/+51
deltree of a file on a DFS share results in NT_STATUS_OBJECT_PATH_NOT_FOUND Addionally add a knownfail for this (to be removed in subsequent patch to fix bug) We also need to add a knownfail (which will not be removed) for the new test which will fail in smb1 envs BUG: https://bugzilla.samba.org/show_bug.cgi?id=15100 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-06-17Add test smbclient 'del' of file (on DFS share)Noel Power1-0/+45
del of a file on a DFS share results in NT_STATUS_OBJECT_PATH_NOT_FOUND Addionally add a knownfail (will be removed in following patch to fix the bug) We also need to add a knownfail (which will not be removed) for the new test which will fail in smb1 envs BUG: https://bugzilla.samba.org/show_bug.cgi?id=15100 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-06-17s3:tests: Reformat test_symlink_traversal_smb2.shAndreas Schneider1-139/+138
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_symlink_traversal_smb1_posix.shAndreas Schneider1-148/+147
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_symlink_traversal_smb1.shAndreas Schneider1-139/+138
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_symlink_rename_smb1_posix.shAndreas Schneider1-91/+90
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_success.shAndreas Schneider1-4/+3
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_substitutions.shAndreas Schneider1-2/+2
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbtorture_s3.shAndreas Schneider1-6/+4
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbstatus.shAndreas Schneider1-170/+169
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbspool.shAndreas Schneider1-37/+37
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbpasswd.shAndreas Schneider1-10/+10
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbget.shAndreas Schneider1-39/+38
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbd_no_krb5.shAndreas Schneider1-8/+8
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbd_error.shAndreas Schneider1-8/+8
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbcquota.shAndreas Schneider1-7/+6
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3:tests: Reformat test_smbclient_tarmode.shAndreas Schneider1-28/+33
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-17s3: test: Add tests to show we still connect to a full_audit share with a ↵Jeremy Allison1-0/+29
bad success or fail VFS names. Add knownfail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15098 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-06-15s3:tests: Reformat test_smbclient_s3.shAndreas Schneider1-1619/+1616
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Jun 15 06:54:49 UTC 2022 on sn-devel-184
2022-06-10s3:tests: Reformat test_smbclient_ntlm.shAndreas Schneider1-6/+6
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Jun 10 14:51:39 UTC 2022 on sn-devel-184
2022-06-10s3:tests: Reformat test_smbclient_netbios_aliases.shAndreas Schneider1-4/+4
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_mget.shAndreas Schneider1-14/+20
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_machine_auth.shAndreas Schneider1-3/+3
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_log_basename.shAndreas Schneider1-5/+5
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_list_servers.shAndreas Schneider1-16/+16
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_large_file.shAndreas Schneider1-26/+26
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_krb5.shAndreas Schneider1-4/+4
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_kerberos.shAndreas Schneider1-35/+32
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_iconv.shAndreas Schneider1-18/+18
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_encryption_off.shAndreas Schneider1-21/+21
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_encryption.shAndreas Schneider1-23/+23
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_basic.shAndreas Schneider1-8/+8
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbclient_auth.shAndreas Schneider1-16/+16
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smbXsrv_client_dead_rec.shAndreas Schneider1-9/+10
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smb2_not_casesensitive.shAndreas Schneider1-13/+12
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smb1_system_security.shAndreas Schneider1-13/+14
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_smb1_shadow_copy_torture.shAndreas Schneider1-23/+23
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_sharesec.shAndreas Schneider1-37/+37
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_shareenum.shAndreas Schneider1-7/+8
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_shadow_copy_torture.shAndreas Schneider1-120/+119
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-10s3:tests: Reformat test_sacl_set_get.shAndreas Schneider1-13/+14
shfmt -f source3/script/| xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2022-06-09Revert "s3:smbd: Remove NIS support"Samuel Cabrero1-0/+13
This partly reverts commit edda7a329e5bed442418de9782cec9f567092aae. Revert the chunks related to netgroups and skip NIS support related ones. Use getdomainname() from glibc instead of yp_get_default_domain() from libnsl to get the NIS domain name. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15087 Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>