1 Install the appropriate software
Http://www.cnblogs.com/phinecos/archive/2009/06/06/1497717.html
2 found users not to add
[[email protected] ~]# smbpasswd-a [username]
New SMB Password:
Retype new SMB Password:
FailedTo add entry for user "username".
Workaround:
This is because no corresponding system account is added, so it will promptFailed to add entry for user error, simply add the corresponding system account test on it:
[Email protected] ~]# groupadd TEST-G 6000
[Email protected] ~]# useradd test-u 6000-g 6000-s/sbin/nologin-d/dev/null /c1>
You can use SMBPASSWD-A test to add test thisSamba account! In order to increase the security of the system, so add the system account does not give the shell it, do not give it a directory, to the home/home directory to test account to build a folder, the folder only test has read and Write permissions!
http://blog.csdn.net/minenamewj/article/details/17356703
3 Adding a network-mapped drive
\\ip\[path]
Enter user name and password
Ubuntu adds Samba and then Windows shares