首先創(chuàng)建一個(gè)本地Unix賬號(hào):
|
這條命令創(chuàng)建了一個(gè)名為myaccount的普通Unix用戶。
然后根據(jù)它創(chuàng)建一個(gè)Samba用戶:
|
或者是:
|
The password in Samba is not related to the unix account password.
注意:一旦你更新了samba配置文件,你必須要通過使用/etc/init.d/samba restart (debian)來重起你的samba
Then in windows, use the username and samba's password to map network drive.