我的centos5.3上装了samba,有三个用户samba,linux1,linux2,同组501
第一个用户samba可以从windows正常访问,又加了两个用户linux1,linux2后,发现无法访问,不知什么问题,防火墙没有问题,刚开始在文件夹linux server下指定用户语句 valid users = @samba,samba,后来用#注释掉了
按理说,同组用户samba可以访问,linux1,linux2应该也可以正常访问。另外我的testparm检测log也有点问题,
各位大虾为我看看,什么问题,帮我分析下,谢谢!
急呀!
[root@LCADMIN gdm]# testparpm
bash: testparpm: command not found
[root@LCADMIN gdm]# testparp
bash: testparp: command not found
[root@LCADMIN gdm]# testparm
Load smb config files from /etc/samba/smb.conf
params.c:Parameter() - Ignoring badly formed line in configuration file: logs split per machine
params.c:Parameter() - Ignoring badly formed line in configuration file: max 50KB per log file, then rotate
Processing section "[homes]"
Processing section "[printers]"
Processing section "[linux server]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
netbios name = LINUXSERVER
server string = linux server
interfaces = lo, eth0
log file = /var/log/samba/%m.log
max log size = 50
os level = 33
hosts allow = 127., 192.168.12., 192.168.223.
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[linux server]
comment = linux server
path = /mnt/wind/bk
read only = No
create mask = 0755
cat /etc/passwd
samba:x:501:501::/home/samba:/bin/bash
linux1:x:502:501::/home/linux1:/bin/bash
linux2:x:503:501::/home/linux2:/bin/bash
cat /etc/shadow
samba:$1$LMkhhhEc$9P9.FTtdC9C6GvEFz.hzN.:14471:0:99999:7:::
linux1:$1$f96Rv2uN$DVDAJO6qbIJn9S1TdLA/00:14471:0:99999:7:::
linux2:$1$7rocFy89$HtM1uP/.7LBomjipwdak81:14471:0:99999:7:::