ERRSRV - ERRinvnetname
Alexey N.Shananin
shananin at su29.ru
Sat Nov 24 06:31:04 GMT 2001
Hi!
I've got the fillowing trouble.
Im' trying to get the local shares list. I started the smbd using
"/etc/init.d/smb restart" script. It seem to work fine.
The smb.conf and log.smb are listed below.
The smbd says that he "Can't change directory to /root/tmp" when I'm trying
to "smbclient -L localhost -U%".
The permissions for /tmp/SHARE are "rwx" for all.
Why?
Why he tries to go there?
Thank you,
Alex
P.S.
OS -- is Linux Mandrake RE Spring 2001.
SAMBA -- version 2.0.7
smb.conf----------------------------------------------------------------
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2001/11/24 03:01:11
# Global parameters
[global]
workgroup = SIMPLE
security = SHARE
debug level = 3
hosts allow = localhost 127. 192.168.
[test]
comment = just a test
path = /tmp/SHARE
guest ok = Yes
hosts allow = 127. 192.168.
RUN SEQUENCE----------------------------------------------------------------
[alex at ork alex]$ smbclient -L localhost -U%
doing parameter hosts allow = localhost 127. 192.168.
pm_process() returned Yes
added interface ip=192.168.85.36 bcast=192.168.85.255 nmask=255.255.255.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
Connecting to 127.0.0.1 at port 139
Domain=[SIMPLE] OS=[Unix] Server=[Samba 2.0.7]
tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree
connect.)
log.smb----------------------------------------------------------------
[2001/11/24 03:03:27, 3] locking/shmem_sysv.c:sysv_shm_open(707)
Initialised IPC area of size 1048576
[2001/11/24 03:03:27, 2] smbd/server.c:main(746)
Changed root to /
[2001/11/24 03:03:27, 3] smbd/oplock.c:open_oplock_ipc(86)
open_oplock_ipc: opening loopback UDP socket.
[2001/11/24 03:03:27, 3] lib/util_sock.c:open_socket_in(875)
bind succeeded on port 0
[2001/11/24 03:03:27, 3] smbd/oplock.c:open_oplock_ipc(114)
open_oplock ipc: pid = 4876, global_oplock_port = 1078
[2001/11/24 03:03:27, 2] lib/access.c:check_access(258)
Allowed connection from localhost (127.0.0.1)
[2001/11/24 03:03:27, 3] smbd/process.c:process_smb(618)
Transaction 0 of length 76
[2001/11/24 03:03:27, 2] smbd/reply.c:reply_special(97)
netbios connect: name1=LOCALHOST name2=ORK
[2001/11/24 03:03:27, 3] smbd/process.c:process_smb(618)
Transaction 1 of length 168
[2001/11/24 03:03:27, 3] smbd/process.c:switch_message(448)
switch message SMBnegprot (pid 4876)
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [MICROSOFT NETWORKS 1.03]
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [MICROSOFT NETWORKS 3.0]
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LANMAN1.0]
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LM1.2X002]
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [Samba]
[2001/11/24 03:03:27, 3] smbd/negprot.c:reply_negprot(424)
Selected protocol NT LANMAN 1.0
[2001/11/24 03:03:27, 3] smbd/process.c:process_smb(618)
Transaction 2 of length 86
[2001/11/24 03:03:27, 3] smbd/process.c:switch_message(448)
switch message SMBsesssetupX (pid 4876)
[2001/11/24 03:03:27, 3] smbd/reply.c:reply_sesssetup_and_X(805)
Domain=[SIMPLE] NativeOS=[Unix] NativeLanMan=[Samba]
[2001/11/24 03:03:27, 3] smbd/reply.c:reply_sesssetup_and_X(809)
sesssetupX:name=[]
[2001/11/24 03:03:27, 3] smbd/process.c:process_smb(618)
Transaction 3 of length 71
[2001/11/24 03:03:27, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 4876)
[2001/11/24 03:03:27, 2] lib/access.c:check_access(258)
Allowed connection from localhost (127.0.0.1)
[2001/11/24 03:03:27, 3] smbd/password.c:authorise_login(816)
ACCEPTED: guest account and guest ok
[2001/11/24 03:03:27, 3] smbd/service.c:make_connection(441)
Connect path is /root/tmp
[2001/11/24 03:03:27, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /root/tmp
[2001/11/24 03:03:27, 0] smbd/service.c:make_connection(502)
Can't change directory to /root/tmp (Permission denied)
[2001/11/24 03:03:27, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=6
[2001/11/24 03:03:27, 3] smbd/error.c:error_packet(143)
error string = Permission denied
[2001/11/24 03:03:27, 3] smbd/process.c:timeout_processing(856)
end of file from client
[2001/11/24 03:03:27, 2] smbd/server.c:exit_server(408)
Closing connections
[2001/11/24 03:03:27, 3] smbd/server.c:exit_server(435)
Server exit (normal exit)
More information about the samba
mailing list