全部博文(65)
分类: LINUX
2009-03-05 16:41:14
/*
*By Neil Chiao ( neilchiao at gmail.com )
*From ( neilengineer.cublog.cn )
*/
1、$sudo apt-get install samba system-config-samba -y
2、System->Administration->Samba, add the dirs you gonna share, and set the proper permissions.
3、To automatically run the samba service:System->Preferences->Sessions, hit "add" button, settings are like the following, finally "save".
4、In Windows XP, open "my computer",enter the address of your samba server, e.g.: .
Trouble-shooting
1)Can not open the shared folder in Windows XP, even if you entered the correct username and password.
Solution:
$sudo smbpasswd –e neil
("smbpasswd –e" will enable a samba user, you'll have to enter password of the samba user)