samba very slow

Vincent Morlot Vincent.Morlot at netcourrier.com
Thu Sep 14 14:32:11 GMT 2000


Hello,

We use samba-linux with clients Workstation NT4.0 SP5. We
have one PDC samba and one additionnal serveur.

When we open files on the PDC all is ok, but when the files
are open or write on the other one, the access time is very,
very slow.

On the PDC we use debian 2.1 kernel 2.2.12 samba 2.0.6
On the other server debian 2.2 kernel 2.2.12 samba 2.0.7

After various search we have found that we have a trouble
with the netbios resolve name, without explain this.

on the two servers the value of the parameter name resolv
order in the smb.conf is the same = lmhosts host wins.

Or if we try the command

echo "test"|smbclient -M c010036 -dA
on the additionnal server

added interface ip=10.12.10.208 bcast=10.12.255.255
nmask=255.255.0.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name
c010036<0x3>
getlmhostsent: lmhost entry: 10.12.10.203 serveur3 
Unable to resolve name c010036

on the pdc 

added interface ip=10.12.11.213 bcast=10.12.255.255
nmask=255.255.0.0
Client started (version 2.0.6).
resolve_lmhosts: Attempting lmhosts lookup for name
c010036<0x20>
getlmhostsent: lmhost entry: 10.12.10.203 serveur3 
resolve_wins: Attempting wins lookup for name c010036<0x20>
bind succeeded on port 0
nmb packet from 127.0.0.1(137) header: id=19812
opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes
trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=C010036<20> q_type=32 q_class=1
Sending a packet of len 50 to (127.0.0.1) on port 137
nmb packet from 127.0.0.1(137) header: id=19812
opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes
trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=C010036<20> q_type=32 q_class=1
Sending a packet of len 50 to (127.0.0.1) on port 137
nmb packet from 127.0.0.1(137) header: id=19812
opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes
trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=C010036<20> q_type=32 q_class=1
Sending a packet of len 50 to (127.0.0.1) on port 137
resolve_hosts: Attempting host lookup for name c010036<0x20>
Connecting to 10.12.10.36 at port 139
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
write_socket(3,54)
write_socket(3,54) wrote 54
got smb length of 37
size=37
smb_com=0xd5
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=65535
smb_pid=2730
smb_uid=0
smb_mid=1
smt_wct=1
smb_vwv[0]=5 (0x5)
smb_bcc=0
Connected. Type your message, ending it with a Control-D
write_socket(3,52)
write_socket(3,52) wrote 52
got smb length of 35
size=35
smb_com=0xd7
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=65535
smb_pid=2730
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0
sent 8 bytes
write_socket(3,41)
write_socket(3,41) wrote 41
got smb length of 35
size=35
smb_com=0xd6
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=65535
smb_pid=2730
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0

Please help us !!
Thanks




More information about the samba-ntdom mailing list