Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-05-2007, 09:40 AM   #1
Registered: Oct 2007
Posts: 71

Rep: Reputation: 15
Windows can't access Samba server

Hi guys,

I would like to start by thanking all those who'll participate in solving my problem and good luck. It has been eating me up for two days now.

I was running Samba Version 3.0.23c-2 and it was working perfeclty with below configuration. I decided to yum and get the latest version Version 3.0.24*. That was the starting point of all my erros and problems. Since the upgrade, windows users have been able to access my samba server. I rollback to 3.0.23c-2, but no luck. Still facing the same issues.

See logs files below.

workgroup = MYGROUP
netbios name = HELEN
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
smb ports = 139
dns proxy = No
cups options = raw

comment = Home Directories
read only = No
browseable = No

comment = Old guds
path = /mnt/archive/Shared
valid users = elly, guest
create mask = 0222

I get the following logs when a window client tries to access the server.

Partial log out
[2007/10/05 17:22:23, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client Error Broken pipe
[2007/10/05 17:22:23, 0] lib/util_sock.c:send_smb(769)
Error writing 53 bytes to client. -1. (Broken pipe)
[2007/10/05 17:22:23, 0] smbd/server.c:exit_server_common(657)
[2007/10/05 17:22:23, 0] smbd/server.c:exit_server_common(659)
Abnormal server exit: reply_echo: send_smb failed.
[2007/10/05 17:22:23, 0] smbd/server.c:exit_server_common(660)
[2007/10/05 17:22:23, 0] lib/util.c:log_stack_trace(1721)
BACKTRACE: 9 stack frames:
#0 smbd(log_stack_trace+0x2d) [0x67725d]
#1 smbd [0x723a65]
#2 smbd [0x723c43]
#3 smbd(reply_echo+0x235) [0x4cec85]
#4 smbd [0x50aa70]
#5 smbd(smbd_process+0x7ab) [0x50bb9b]
#6 smbd(main+0xbd0) [0x7258e0]
#7 /lib/ [0xd8ef2c]
#8 smbd [0x495fb1]
[2007/10/05 17:22:23, 0] smbd/server.c:exit_server_common(664)
Last message was SMBecho
[2007/10/05 17:22:23, 5] lib/util.c:show_msg(500)
[2007/10/05 17:22:23, 5] lib/util.c:show_msg(510)
smb_vwv[ 0]= 1 (0x1)
[2007/10/05 17:22:23, 10] lib/util.c:dump_data(2237)
[000] 4A 6C 4A 6D 49 68 43 6C 42 73 72 00 JlJmIhCl Bsr.
[2007/10/05 17:22:23, 0] lib/fault.c:dump_core(173)
dumping core in /var/log/samba/cores/smbd

I've tried the following:
1. Flushed my iptables
2. Disable SELinux
3. Create, restart samba deamons

Please, assist me on this.

Old 10-06-2007, 01:53 PM   #2
Registered: Sep 2007
Distribution: Puppy 5.2.8
Posts: 69

Rep: Reputation: 15
Can you see the share on the linux box using either smbclient or smbtree?
Old 10-09-2007, 12:07 AM   #3
Registered: Oct 2007
Posts: 71

Original Poster
Rep: Reputation: 15
Yes, I can see the share. Even Mac machine can access the samba server. I'm only getting this problem with windows machine.
Old 10-17-2007, 12:26 AM   #4
LQ Newbie
Registered: Oct 2007
Posts: 6

Rep: Reputation: 5
I too faced the same problem. It seems, if we restart the Windows machine,
then it's able to access the Samba server.
Old 10-17-2007, 02:39 AM   #5
Registered: Dec 2005
Distribution: Fedora Core 5, Sun Solaris 8
Posts: 122

Rep: Reputation: 15
Wink file


Do u made any backup of smb.conf file before updating the package ?

Thanking You
Old 10-17-2007, 10:00 AM   #6
Registered: Oct 2007
Posts: 71

Original Poster
Rep: Reputation: 15
thanks for all the help guys. after restarting the machine, smb just came back to service.

I'm going through logs to check what has changed to make it work again. If i discover the problem, will post it.

Thanks again.


samba, windows

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 do windows client have access to a Samba server MandrivaUser Linux - Software 5 02-08-2006 02:44 PM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 06:40 AM
Can't access samba server from windows machine hellblade Linux - Networking 2 09-07-2004 11:15 AM
Windows XP access to Samba Server Jack11 Linux - Networking 2 06-25-2004 12:09 PM
Cannot access Samba server from Windows digiplaya Linux - Networking 7 12-29-2003 12:32 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:32 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