LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-29-2003, 03:47 PM   #1
outburst
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Win->Samba works, Samba->Win does'nt work


Hello everyone.
I'm configuring a Samba File Server to serve a windows network and for authentication.
Following the problem:
i can upload from any client (win2k and winxp) files to the file server but i can't download. When i browse the file server from win clients, they freeze and i have to wait a long time before i get the control.

I can read many lines in the logs, talking about "Connection timed out". So i lose connetion with the file server and win clients lock, wainting for something i don't know.

I read many documentation and howto but i can't figure out what is the problem.
I hope someone can resolve my problem.

Thecnical info:
- i can ping the file server
- compiled hosts, lmhosts
- resolv.conf poit to localhost

Thank you in advance.

Next lines represent my smb.conf:

#-----smb.conf-------

[global]
workgroup = WORKNET
netbios name = NETSERVER
server string = NetServer
log file = /var/log/samba/log.%m
max log size = 50
log level = 2
hosts allow = 192.168.0.0/26 127.
map to guest = never
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = smbpasswd
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
logon script = netlogon.bat
logon path = \\%L\profiles\%U
logon home = \\%L\%U\.profile
logon drive = H:
; add user script = /usr/sbin/useradd -s /bin/false %u
wins support = yes
dns proxy = no

max xmit = 2048
read raw = no
strict locking = no


[homes]
comment = Directory Utente
browseable = no
writable = yes
create mask = 0664
directory mask = 0775
hide dot files = yes

[netlogon]
comment = Servizio di Rete per il Logon
path = /home/samba/netlogon
read only = yes
browseable = no
write list =@admin

[profiles]
comment = Profili utenti
path = /home/samba/profiles
browseable = no
writable = yes
create mask = 0600
directory mask = 0700
root preexec = PROFILE=/home/profiles/%u; if [ ! -e $PROFILE ]; \
then mkdir -pm700 $PROFILE; chown %u.%g $PROFILE;fi

[pdf-generator]
path = /var/tmp
guest ok = No
printable = Yes
comment = Generatore PDF
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP doc_name &
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "%J" &

[tmp]
comment = Temporary
path = /tmp
read only = no
public = yes
hide dot files = yes

[share1]
comment = Share disk
path = /home/samba/isfar
read only = yes
browsable = yes
write list = @netgroup @admin root
create mask = 0660
directory mask = 0770
valid users = @isfar @admin root
inherit permissions = yes
force group = isfar
hide dot files = yes


[install]
comment = Installation package
path = /home/samba/installazione
read only = yes
browsable = yes
write list = @admin @power root
create mask = 0664
directory mask = 0775
valid users = @power @admin root
inherit permissions = yes
force group = power
hide dot files = yes
 
Old 10-30-2003, 12:37 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
might be a compile time error, maybe recompiel samba, reset the config and rewrite from scratch? thats all the advice I can give.
 
Old 10-30-2003, 08:31 AM   #3
outburst
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I forgot to say that i installed the binary rpm version.
But now, I'm downloading source package and I will try to install it. I hope it will works.

Thank you.
 
  


Reply



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
My instructions are for Linux, but I work in Win...what is the win equialent of (~)? michaelton Linux - Newbie 2 05-21-2004 11:15 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM
win xp won't login to samba but win 2k works great mrtwice Linux - Networking 4 03-28-2003 01:27 PM
Setting up Samba with SuSe 8.1 and Win 2K/Win XP Pro crstine Linux - Networking 1 12-11-2002 06:21 AM
Samba and Win XP miker Linux - Networking 6 02-19-2002 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration