LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-10-2013, 02:49 PM   #1
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 261

Rep: Reputation: Disabled
How to diagnose Samba server connection problems


Anyone have a suggestion how I might diagnose a Samba connection problem?

I have configured Samba server to Authenticate against our Windows Server 2012 Domain Controller. Windows machines can see the Samba Server but all fail to connect with error: Access is Denied. All of the shared directories have permission 0777.

I have deleted all the samba log files and disabled the firewall to rule that out. Now when I try to connect I see that a 'log.192.168.10.x' file gets created but size = 0 bytes.

As there is nothing in the log how can I find out why samba isn't working? Does Samba actually work with a Win 2012 server?


Nick
 
Old 01-11-2013, 04:05 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,950

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
those log files <log.hostname> will be related to a given connection. You need to check the log of the samba daemon and/or inetd too. You need to check the samba config file and set log level in order to get more info
 
Old 01-11-2013, 07:12 AM   #3
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 261

Original Poster
Rep: Reputation: Disabled
Thanks pan64. Turned Samba logging up to 10 and tried to connect to a share, log.192.168.10.67 attached. Are there any clues in there?

Edit:
Permission on /mnt/SpareSystem is 0777.
Attached Files
File Type: txt log.192.168.10.67.txt (6.9 KB, 12 views)

Last edited by Nick_C; 01-11-2013 at 07:14 AM.
 
  


Reply

Tags
samba


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 to diagnose dnsmasq problems? catkin Linux - Software 0 05-31-2012 02:04 AM
How to diagnose VPN connection failure on Fedora 12 tron_thomas Linux - Networking 1 06-05-2011 02:09 PM
How to diagnose problems??? onebuck General 13 12-08-2010 07:12 AM
Using Tethereal to diagnose Samba Traffic ericthebikeman Linux - Networking 2 05-24-2005 09:23 AM
diagnose problems toddncl Linux - Laptop and Netbook 0 07-14-2004 10:39 AM


All times are GMT -5. The time now is 03:04 AM.

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