(1)通过/etc/samba/smbusers文件设置用户映射关系
如实列:
# cat /etc/samba/smbusers # Unix_name = SMB_name1 SMB_name2 ... root = administrator admin nobody = guest pcguest smbguest chenl = yj
在samba配置文件中加入下面参数:
[global] username map = /etc/samba/smbusers
时间: 2024-11-07 18:27:23