[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: samba kopieren dauert lange



Am Donnerstag, 17. Februar 2005 21:51 schrieb Richard Mittendorfer:
> nimm ein console_programm um auf das samba share zuzugreifen (iirc
> smbclient?). debug.
> 
> sei dir sicher, dass user und passwort richtig uebertragen werden (sieht
> mir nicht danach aus). 
> 
> dreh das debuggiboogy rauf (loglevel =).
Also gut habe in meiner konsole
das share manuel gemountet:
************************************************************************************************
feld-bert:/home/markus# smbmount //FELD-SERVER/doku /home/markus/mnt/FELD-SERVER/doku/ -o debug=4,rw,username
=markus,uid=markus,gid=users
opts: rw
opts: username=markus
opts: uid=markus
opts: gid=users
mount.smbfs started (version 3.0.10-Debian)
added interface ip=192.168.0.146 bcast=192.168.0.255 nmask=255.255.255.0
Connecting to 192.168.0.186 at port 445
4402: session request ok
Serverzone is -3600
Password:
4402: session setup ok
4402: tconx ok
feld-bert:/home/markus#
************************************************************************************************
Das Problem ist nicht die Verbindung an sich zum Suse Server, die ist ziemlich schnell, nur wenns darum geht dateien zu erstellen oder zu verändern.
Dann streikt er.
Lesen geht genauso schnell wie unter winxp.

Ich habe wieder versucht eine Datei in dem Ordner zu erstellen wo nur der Benutzer markus reinschreiben darf und habe diesmal
die Message bekommen das ich keine Berechtigung dazu habe, die Datei zu erstellen. In der /var/log/smbd.log(vom suse server) steht folgendes:
************************************************************************************************
[2005/02/17 22:46:01, 3] smbd/server.c:exit_server(614)
  Server exit (normal exit)
[2005/02/17 22:46:22, 3] smbd/oplock.c:init_oplocks(1302)
  open_oplock_ipc: opening loopback UDP socket.
[2005/02/17 22:46:22, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
  Linux kernel oplocks enabled
[2005/02/17 22:46:22, 3] smbd/oplock.c:init_oplocks(1333)
  open_oplock ipc: pid = 20252, global_oplock_port = 33350
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 0 of length 183
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBnegprot (pid 20252) conn 0x0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [LANMAN1.0]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [LM1.2X002]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [DOS LANMAN2.1]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(457)
  Requested protocol [Samba]
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_nt1(323)
  not using SPNEGO
[2005/02/17 22:46:22, 3] smbd/negprot.c:reply_negprot(545)
  Selected protocol NT LANMAN 1.0
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 1 of length 141
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBsesssetupX (pid 20252) conn 0x0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
  wct=13 flg2=0x1
[2005/02/17 22:46:22, 3] smbd/sesssetup.c:reply_sesssetup_and_X(789)
  Domain=[WORKGROUP]  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[null]
[2005/02/17 22:46:22, 3] smbd/sesssetup.c:reply_sesssetup_and_X(804)
  sesssetupX:name=[WORKGROUP]\[markus]@[192.168.0.146]
[2005/02/17 22:46:22, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user [WORKGROUP]\[markus]@[192.168.0.146] with the new password interface
[2005/02/17 22:46:22, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [FELD-SERVER]\[markus]@[192.168.0.146]
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: sam authentication for user [markus] succeeded
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [markus] -> [markus] -> [markus] succeeded
[2005/02/17 22:46:22, 3] smbd/password.c:register_vuid(222)
  User name: markus Real name: Markus Säckel
[2005/02/17 22:46:22, 3] smbd/password.c:register_vuid(241)
  UNIX uid 500 is UNIX user markus, and will be vuid 100
[2005/02/17 22:46:22, 3] smbd/password.c:register_vuid(270)
  Adding homes service for user 'markus' using home directory: '/home/markus'
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 2 of length 73
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBtconX (pid 20252) conn 0x0
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/service.c:make_connection_snum(472)
  Connect path is '/usr/share/doc/packages/' for service [doku]
[2005/02/17 22:46:22, 3] lib/util_seaccess.c:se_access_check(251)
[2005/02/17 22:46:22, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-1502477359-1211763246-323006499-2000
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1201
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1007
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1015
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-2001
[2005/02/17 22:46:22, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2005/02/17 22:46:22, 3] lib/util_seaccess.c:se_access_check(251)
[2005/02/17 22:46:22, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-1502477359-1211763246-323006499-2000
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1201
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1007
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1015
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-2001
[2005/02/17 22:46:22, 3] lib/util_seaccess.c:se_access_check(251)
[2005/02/17 22:46:22, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-1502477359-1211763246-323006499-2000
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1201
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1007
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-1015
  se_access_check: also S-1-5-21-1502477359-1211763246-323006499-2001
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (500, 100) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 1] smbd/service.c:make_connection_snum(648)
  192.168.0.146 (192.168.0.146) connect to service doku initially as user markus (uid=500, gid=100) (pid 20252)
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/reply.c:reply_tcon_and_X(456)
  tconX service=DOKU 
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 3 of length 89
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:22, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (500, 100) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2369)
  call_trans2qfilepathinfo 00_ebooks (fnum = -1) level=512 call=5 total_data=0
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 4 of length 74
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfsinfo(1814)
  call_trans2qfsinfo: level = 512
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 5 of length 102
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2369)
  call_trans2qfilepathinfo 00_ebooks/Neuer Ordner (fnum = -1) level=512 call=5 total_data=0
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 6 of length 124
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2369)
  call_trans2qfilepathinfo 00_ebooks/Neuer Ordner/markus-darf-schreiben (fnum = -1) level=512 call=5 total_data=0
[2005/02/17 22:46:22, 3] smbd/process.c:process_smb(1092)
  Transaction 7 of length 135
[2005/02/17 22:46:22, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:22, 3] smbd/trans2.c:call_trans2qfilepathinfo(2356)
  call_trans2qfilepathinfo: SMB_VFS_LSTAT of 00_ebooks/Neuer Ordner/markus-darf-schreiben/.directory failed (No such file or directory)
[2005/02/17 22:46:22, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
[2005/02/17 22:46:22, 3] smbd/error.c:error_packet(145)
  error packet at smbd/trans2.c(2229) cmd=50 (SMBtrans2) eclass=1 ecode=2
[2005/02/17 22:46:24, 3] smbd/process.c:process_smb(1092)
  Transaction 8 of length 89
[2005/02/17 22:46:24, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2369)
  call_trans2qfilepathinfo 00_ebooks (fnum = -1) level=512 call=5 total_data=0
[2005/02/17 22:46:24, 3] smbd/process.c:process_smb(1092)
  Transaction 9 of length 102
[2005/02/17 22:46:24, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2369)
  call_trans2qfilepathinfo 00_ebooks/Neuer Ordner (fnum = -1) level=512 call=5 total_data=0
[2005/02/17 22:46:24, 3] smbd/process.c:process_smb(1092)
  Transaction 10 of length 124
[2005/02/17 22:46:24, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2369)
  call_trans2qfilepathinfo 00_ebooks/Neuer Ordner/markus-darf-schreiben (fnum = -1) level=512 call=5 total_data=0
[2005/02/17 22:46:24, 3] smbd/process.c:process_smb(1092)
  Transaction 11 of length 134
[2005/02/17 22:46:24, 3] smbd/process.c:switch_message(887)
  switch message SMBtrans2 (pid 20252) conn 0x8425788
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2335)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2005/02/17 22:46:24, 3] smbd/trans2.c:call_trans2qfilepathinfo(2356)
  call_trans2qfilepathinfo: SMB_VFS_LSTAT of 00_ebooks/Neuer Ordner/markus-darf-schreiben/Textdatei failed (No such file or directory)
[2005/02/17 22:46:24, 3] smbd/error.c:error_packet(105)
  error string = No such file or directory
[2005/02/17 22:46:24, 3] smbd/error.c:error_packet(145)
  error packet at smbd/trans2.c(2229) cmd=50 (SMBtrans2) eclass=1 ecode=2
[2005/02/17 22:46:28, 3] smbd/process.c:process_smb(1092)
  Transaction 710 of length 53
[2005/02/17 22:46:28, 3] smbd/process.c:switch_message(887)
  switch message SMBecho (pid 15164) conn 0x0
[2005/02/17 22:46:28, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:46:28, 3] smbd/reply.c:reply_echo(3024)
  echo 1 times
[2005/02/17 22:46:28, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:47:03, 3] smbd/process.c:process_smb(1092)
  Transaction 711 of length 53
[2005/02/17 22:47:03, 3] smbd/process.c:switch_message(887)
  switch message SMBecho (pid 15164) conn 0x0
[2005/02/17 22:47:03, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/17 22:47:03, 3] smbd/reply.c:reply_echo(3024)
  echo 1 times
[2005/02/17 22:47:03, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
************************************************************************************************
In Zeile 280 steht das ich versucht habe die Textdatei zu erstellen.

Sollte ich versuchen den debug level noch höher zu stellen?




mfg Markus



Reply to: