首先創建一個本地Unix賬號:
這條命令創建了一個名為myaccount的普通Unix用戶。
然后根據它創建一個Samba用戶:
smbadduser myaccount:mysmbact
|
或者是:
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.