LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Win->Samba works, Samba->Win does'nt work (https://www.linuxquestions.org/questions/linux-networking-3/win-samba-works-samba-win-doesnt-work-110067/)

outburst 10-29-2003 03:47 PM

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

exodist 10-30-2003 12:37 AM

might be a compile time error, maybe recompiel samba, reset the config and rewrite from scratch? thats all the advice I can give.

outburst 10-30-2003 08:31 AM

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.


All times are GMT -5. The time now is 01:56 AM.