Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 03-24-2011, 09:16 PM   #1
linux hates me
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
Fighting with samba

Ok So I have been using Webmin to set up samba on my Centos 5.5 machine (Domain name in Samba is KISKA).

I set up a test directory /smbtest on the machine and made a share on webmin.

My problem is that when I try to connect to the share on my windows machine (im running windows 7) it gives me a message saying this:

Windows Cannot Access \\Kiska\smbtest
I have made sure to make the permissions on /smbtest 777 and I have tried alot of other stuff as well.

Here is my Smb.conf

	load printers = yes
	cups options = raw
	netbios name = KISKA
	winbind enum users = no
	default = global
	workgroup = NUS
	os level = 20
	winbind enum groups = no
	null passwords = yes
	winbind enable local accounts = no
	winbind trusted domains only = yes
	security = share
	preferred master = no
	passdb backend = tdbsam

	writeable = yes
	delete readonly = yes
	path = /smbtest
	force directory mode = 777
	force create mode = 777
	public = yes
	create mode = 777
	directory mode = 777
Thanks for any help you can give!!!
Old 03-25-2011, 02:13 AM   #2
Registered: Dec 2010
Posts: 31

Rep: Reputation: 3
try adding one line in your samba .conf file

valid user = username

and after that you can add that user using using this command

smbpasswd -a username

and try to access
Old 03-30-2011, 01:30 AM   #3
LQ Newbie
Registered: Dec 2009
Posts: 18

Rep: Reputation: 2
A first thing to check is whether your samba is running or not.

do a "ps -ef" and check if there are any smbd and nmbd processes

a second step is to check samba's log files
Old 03-30-2011, 07:20 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,406

Rep: Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396
Also, have you checked the iptables on the Centos system: You'll need ports 137, 139, 445. Possibly 138 as well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How likely is it that Linux will because of in-fighting? Dogs General 48 05-09-2010 08:10 PM
samba PDC and BDC fighting for control jfrancesconi Linux - Server 0 02-08-2008 02:01 PM
Windows is fighting samba blu_alchemist Linux - Software 0 06-22-2007 11:12 PM
Fighting desktops!! sramelyk Slackware 4 08-26-2003 05:24 AM
fighting over fonts nakkaya Linux - Software 0 04-17-2003 12:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration