你不必那么麻烦,可以这样写:[test]path=/export/home/testwriteable=yesbrowseable=yesvalid users=%S在windows中直接运行 //+samba服务器的Ip就行了