Samba configuratin - Cannot mount samba share
Seems like I have this problem every time I try to set up a samba server. Anyways, here's my configuration
Centos 5.6 x64, Windows 7 Professional x64 Start>Run>\\192.168.0.1\storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run: setsebool -P samba_domain_controller on Trying to connect to samba locally gives me this: Code:
[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur Code:
[global] testparm: Code:
[tedward@hp-firegate ~]$ testparm /etc/samba/smb.conf |
Quote:
Check the settings based under: http://www.samba.org/samba/docs/man/...kBrowsing.html Under the "Domain Browsing Configuration" section. as you may need to add additional perimeters for the domain user browsing. |
Really not sure what parameters I should add from that page. I've tried commenting out the two lines you mentioned individually, and still get the same error.
|
Okay, looks like this was mostly an SELINUX problem. I made the following SELINUX changes:
setsebool -P samba_export_all_rw on chcon -t samba_share_t /storage/samba/ I'm not sure if the chcon at the end was necessary. It was only after the setsebool that I was able to get it to work, at least from my linux client. Also, I had to comment out the line "smb passwd file = /etc/smbpasswd." Why that is still has me confused. Current smb.conf file is: Code:
1 # Samba config, GAAAHAHAHAH |
Works from windows :D Here is my current smb.conf, which works just as the last one I posted does:
Code:
1 # Samba config, GAAAHAHAHAH |
All times are GMT -5. The time now is 02:53 AM. |