axs@zurich.ibm.com
1998-Sep-25 18:00 UTC
"The specified network resource or device i no longer available."
Another strange problem (running Samba 1.9.18p10 on AIX 4.3.1): If I map two drives to two different shares of the same Samba server like: net use e: \\smbsrv\axs net use f: \\smbsrv\zrl-afs and click on E:\ in the explorer - fine. If I then click on F:\ in the explorer I get: F:\ is not accessible. The specified network resource or device is no longer available. Retry/Cancel but after clicking either Retry or Cancel, I will see my files. Same when I now click on E:\ again: E:\ is not accessible. The specified network resource or device is no longer available. Retry/Cancel but after clicking either Retry or Cancel, I will see my files, all completely reproducible (from Win95 and NT4). Any ideas? Here some debug output, with debug level=4 I see in the log.smb: after clicking on F: in the above description 1998/09/25 18:29:56 Transaction 48 of length 80 switch message SMBtconX (pid 30662) chdir to /var/zurich/etc/samba Got device type A: Allowed connection from dhcp4-19.zurich.ibm.com (9.4.4.19) to zrl-afs Trying username zrl-afS SMB Password - pwlen = 8, challenge_done = 0 Checking password for user axs (l=8) after pressing Retry: 1998/09/25 18:30:43 changed root to / open_oplock_ipc: opening loopback UDP socket. bind succeeded on port 0 open_oplock ipc: pid = 30700, oplock_port = 60469 priming nmbd sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM Serverzone is -7200 1998/09/25 18:30:43 Transaction 0 of length 72 netbios connect: name1=SMBSRVTEST name2=MALOJA Trying username malojA 1998/09/25 18:30:43 Transaction 1 of length 158 switch message SMBnegprot (pid 30700) Requested protocol [PC NETWORK PROGRAM 1.0] Requested protocol [MICROSOFT NETWORKS 3.0] Requested protocol [DOS LM1.2X002] Requested protocol [DOS LANMAN2.1] Requested protocol [Windows for Workgroups 3.1a] Requested protocol [NT LM 0.12] Selected protocol NT LM 0.12 1998/09/25 18:30:43 Transaction 2 of length 154 switch message SMBsesssetupX (pid 30700) Domain=[ZURICH.IBM.COM] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0] sesssetupX:name=[AXS] Registered username axs for guest access adding home directory axs at /u/axs Chained message switch message SMBtconX (pid 30700) Got device type A: Allowed connection from dhcp4-19.zurich.ibm.com (9.4.4.19) to zrl-afs Trying username zrl-afS SMB Password - pwlen = 8, challenge_done = 0 Checking password for user axs (l=8) ACCEPTED: session list username and given password ok found free connection number 69 Connect path is /afs/zurich.ibm.com axs is in 3 groups 33536 33034 202 chdir to /afs/zurich.ibm.com chdir to /var/zurich/etc/samba 1998/09/25 18:30:44 maloja (9.4.4.19) connect to service zrl-afs as user axs (uid=21004,gid=202) (pi d 30700) 1998/09/25 18:30:44 tconX service=zrl-afs user=axs cnum=69 1998/09/25 18:30:44 Transaction 3 of length 87 switch message SMBtrans2 (pid 30700) chdir to /afs/zurich.ibm.com call_trans2findfirst: dirtype = 22, maxentries = 6, close_after_first=0, close_if_end = 0 requires_r esume_key = 0 level = 260, max_data_bytes = 2432 unix_clean_name [./*.*] unix_clean_name [*.*]unix_clean_name [./] creating new dirptr 0 for path ./, expect_close = 1 dptr_num is 0, wcard = *.*, attr = 22 1998/09/25 18:30:44 SMBtrans2 mask=*.* directory=./ cnum=69 dirtype=22 numentries=6 1998/09/25 18:30:44 Transaction 4 of length 62 switch message SMBgetatr (pid 30700) Skipping become_user - already user unix_clean_name [./RS_AIX31/DESKTOP.INI] Added dir cache entry . RS_AIX31 -> rs_aix31 unix_clean_name [rs_aix31/DESKTOP.INI]stat of rs_aix31/DESKTOP.INI failed (No such file or directory) 1998/09/25 18:30:44 error packet at line 832 cmd=8 (SMBgetatr) eclass=1 ecode=2 error string = No such file or directory1998/09/25 18:30:44 Transaction 5 of length 55 switch message SMBgetatr (pid 30700) Skipping become_user - already user unix_clean_name [./U/DESKTOP.INI] Added dir cache entry . U -> u unix_clean_name [u/DESKTOP.INI] stat of u/DESKTOP.INI failed (No such file or directory) 1998/09/25 18:30:44 error packet at line 832 cmd=8 (SMBgetatr) eclass=1 ecode=2 error string = No such file or directory 1998/09/25 18:30:44 Transaction 6 of length 57 switch message SMBgetatr (pid 30700) ... (why is it doing all this searching for DESKTOP.INI ???) 1998/09/25 18:30:45 error packet at line 832 cmd=8 (SMBgetatr) eclass=1 ecode=2 error string = No such file or directory 1998/09/25 18:30:45 Transaction 44 of length 62 switch message SMBgetatr (pid 30700) Skipping become_user - already user unix_clean_name [./RS_AIX43/DESKTOP.INI] Added dir cache entry . RS_AIX43 -> rs_aix43 unix_clean_name [rs_aix43/DESKTOP.INI] stat of rs_aix43/DESKTOP.INI failed (No such file or directory) 1998/09/25 18:30:45 error packet at line 832 cmd=8 (SMBgetatr) eclass=1 ecode=2 error string = No such file or directory 1998/09/25 18:30:45 Transaction 45 of length 91 switch message SMBtrans2 (pid 30700) Skipping become_user - already user call_trans2findnext: dirhandle = 0, max_data_bytes = 2432, maxentries 6, close_after_request=0, cl ose_if_end = 0 requires_resume_key = 0 resume_key = 0 resume name rs_aix43 continue=0 level = 260 fetching dirptr 0 for path ./ dptr_num is 0, mask = *.*, attr = 16, dirptr=(0x200975E8,57) 1998/09/25 18:30:45 SMBtrans2 mask=*.* directory=./ cnum=69 dirtype=22 numentries=0 1998/09/25 18:30:45 Transaction 46 of length 41 switch message SMBfindclose (pid 30700) Skipping become_user - already user reply_findclose, cnum = 69, dptr_num = 0 closing dptr key 0 1998/09/25 18:30:45 SMBfindclose cnum=69, dptr_num = 0 1998/09/25 18:30:45 Transaction 47 of length 41 switch message SMBgetatr (pid 30700) Skipping become_user - already user unix_clean_name [] 1998/09/25 18:30:45 getatr name= mode=18 size=0 1998/09/25 18:30:45 Transaction 48 of length 39 switch message SMBdskattr (pid 30700) Skipping become_user - already user 1998/09/25 18:30:45 dskattr cnum=69 dfree=65535 after clicking on E:\ again: chdir to /var/zurich/etc/samba 1998/09/25 18:30:55 Transaction 49 of length 76 switch message SMBtconX (pid 30700) Got device type A: Allowed connection from dhcp4-19.zurich.ibm.com (9.4.4.19) to axs SMB Password - pwlen = 8, challenge_done = 0 Checking password for user axs (l=8) after clicking cancel: 1998/09/25 18:37:57 changed root to / open_oplock_ipc: opening loopback UDP socket. bind succeeded on port 0 open_oplock ipc: pid = 25860, oplock_port = 60626 priming nmbd sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM Serverzone is -7200 1998/09/25 18:37:57 Transaction 0 of length 72 netbios connect: name1=SMBSRVTEST name2=MALOJA Trying username malojA 1998/09/25 18:37:57 Transaction 1 of length 158 switch message SMBnegprot (pid 25860) Requested protocol [PC NETWORK PROGRAM 1.0] Requested protocol [MICROSOFT NETWORKS 3.0] Requested protocol [DOS LM1.2X002] Requested protocol [DOS LANMAN2.1] Requested protocol [Windows for Workgroups 3.1a] Requested protocol [NT LM 0.1] Selected protocol NT LM 0.12 1998/09/25 18:37:57 Transaction 2 of length 154 switch message SMBsesssetupX (pid 25860) Domain=[ZURICH.IBM.COM] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0] sesssetupX:name=[AXS] Registered username axs for guest access adding home directory axs at /u/axs Chained message switch message SMBtconX (pid 25860) Got device type A: Allowed connection from dhcp4-19.zurich.ibm.com (9.4.4.19) to zrl-afs Trying username zrl-afS SMB Password - pwlen = 8, challenge_done = 0 Checking password for user axs (l=8) ACCEPTED: session list username and given password ok found free connection number 69 Connect path is /afs/zurich.ibm.com axs is in 3 groups 33536 33040 202 chdir to /afs/zurich.ibm.com chdir to /var/zurich/etc/samba 1998/09/25 18:37:58 maloja (9.4.4.19) connect to service zrl-afs as user axs (uid=21004,gid=202) (pi d 25860) 1998/09/25 18:37:58 tconX service=zrl-afs user=axs cnum=69 1998/09/25 18:37:58 Transaction 3 of length 87 ... Any help is welcome! Axel _______________________________________________________________ Axel Tanner IBM Zurich Research Laboratory email: axs@zurich.ibm.com Saumerstr. 4 phone: +41/1/724 82 49 CH-8803 Rueschlikon fax : +41/1/724 89 59 Switzerland http://www.zurich.ibm.com/~axs _______________________________________________________________