If you face problem while access samba in window machine follow the following steps.Login on ur linux box....run this command.
[root@rk ~]# smbclient -L localhost or machine ip 10.1.7.105Enter root's password:session setup failed: NT_STATUS_LOGON_FAILURE (if u get this msg).
Make sure your firwall stop..
#iptables -L ( to see current rules)
#iptables -F ( to delete are rules)
now restart samba services.
#service smb restart
now check ...it working for you.
To customize your smb.conf you can use following:-
[global]
workgroup = Kumar
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
cups options = raw
username map = /etc/samba/smbusers
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[media]
path = /media
writeable = yes
valid users = test
Cheers..... enjoy..........
No comments:
Post a Comment