basicsmb-domainsec.test

来自「samba-3.0.22.tar.gz 编译smb服务器的源码」· TEST 代码 · 共 28 行

TEST
28
字号
. basicsmb.fnstest_joindomain() {	test_join_domain_password="$1"	echo "$prefix/bin/net rpc join -S localhost  -U $whoami%$test_join_domain_password"	$prefix/bin/net rpc join -S localhost  -U $whoami%$test_join_domain_password	status=$?	if [ $status = 0 ]; then	    echo "'net rpc join' correctly joined the domain"	else	    echo "'net rpc join' failed to join the domain! (status $status)"	    return 1	fi	return 0}password=samba(test_smb_conf_setup && test_smbpasswd $password ) || exit 1test_joindomain $password || exit 1security=DOMAINtest_listfilesauth $security  || exit 1test_listfilesnpw $security  || exit 1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?