📄 basicsmb-domainsec-nt4.test
字号:
. basicsmb.fnstest_joindomain_nt4() { echo $prefix/bin/smbpasswd -L -a -m buildfarm$ $prefix/bin/smbpasswd -L -a -m buildfarm$ echo $prefix/bin/net rpc oldjoin -S localhost $prefix/bin/net rpc oldjoin -S localhost status=$? if [ $status = 0 ]; then echo "'net rpc oldjoin' correctly joined the domain" else echo "'net rpc oldjoin' failed to join the domain! (status $status)" return 1 fi return 0}password=sambasecurity=DOMAIN(test_smb_conf_setup && test_smbpasswd $password ) || exit 1test_joindomain_nt4 $password || exit 1test_listfilesauth $security || exit 1test_listfilesnpw $security || exit 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -