Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed and configured samba on a Centos 5.0 server and created a share [backup] that i want to make available in our windows environment. I am using the following smb.conf file:
[global]
workgroup = DOMAIN
Netbios name = SERVERNAME
realm = XX.DOMAIN.NET
preferred master = no
server string = Samba file and print server
security = ADS
encrypt passwords = yes
log level = 3
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
printing = cups
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
guest ok = no
writable = no
[backup]
comment = share backup files
path = /home/share
public = no
writable = yes
browseable = yes
printable = no
create mask = 0765
I added the samba server to the windows 2003 domain (net ads join), but when i am trying to access the samba share through windows explorer i get the following message "no network provider accepted the given network path".
I already checked the following:
-i used testparm to check the smb.conf file
-i ran "kinit" to check kerboros
-i confirmed that our samba server was available in Active directory
-i used "smb status" to check that the samba service is running
I searched several websites in order to solve my problem, but i can't seem to get it work.
You were right about the firewall. I added port 137-139 and 445 in the iptables file, and after a restart i was able to access my share through windows explorer. Thank you for pointing me in the right direction.
For those who have the same problem i include an URL, where to read how to adjust the iptable file: http://troy.jdmz.net/samba/fw/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.