ubuntu 配置samba , 与xp共享文件

1 安装samba

# sudo apt-get insall samba

# sudo apt-get install smbfs

2 编辑配置 /etc/samba /smb.conf

[global] 添加 client lanman = yes

修改注释 user = share

添加:

[share]
path = /home/username/share
available = yes
browsealbe = yes
public = yes
writable = yes

3创建samba帐户

#sudo touch /etc/samba /smbpasswd
#sudo smbpasswd -a USERNAME

4 本地测试

smbclient -L //localhost/share

5 windows xp

输入 \\ip\share

你可能感兴趣的:(windows,XP,ubuntu)