basicsmb-domainsec-nt4.test

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

TEST
29
字号
. 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 + =
减小字号Ctrl + -
显示快捷键?