[1]
用Smb4k浏览SMB网上邻居时,遇到这样的错误
“smbmnt must be installed suid root for direct user mounts (1000,1000)”
解决办法
sudo chmod +s /usr/bin/smbmnt
[2]
ubuntulinux下可行samba配置
# Global parameters
[global]
dos charset = cp936
unix charset = cp936
workgroup = CQKJZXZX
netbios name = T19
server string = T19
map to guest = Bad Password
null passwords = Yes
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\sUNIX\spassword: %n
\n Retype\snew\sUNIX\spassword: %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
domain logons = Yes
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = fred
create mask = 0755
guest ok = Yes
only user = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[Documents]
comment = ZhuZhu's Linux Shared
path = /home/fred/SharedLocal/
username = nobody
invalid users =
admin users = root
only user = No
hosts allow = 192.168.0.0/24, 127.0.0.1
case sensitive = No
msdfs proxy = no
No comments:
Post a Comment