[Samba] connection from a Windows station problem

Fábio Soares soaresfabm at gmail.com
Wed Feb 9 21:01:52 GMT 2005


Hi everybody,

I'm having issues with samba. When I try to see my shares from a
Windows 2000 station, I get the following error message:

I've checked the log file, I could see that these errors always have
to do with the /root/tmp folder, whose permissions  I think it is
allright:

[root at printerserver2 /root]#ls -la
...
drwxrw-rw-   2 root     root         4096 Feb  9 16:54 tmp/
..

So, what's the problem? 
Why does this error (  Can't change directory to /root/tmp (Permission
denied)) happen?
I would be so thankful to anyone who could help me on this, I'm really
stuck on this thing :(

here is the log file.
[2005/02/09 17:58:08, 3] smbd/process.c:process_smb(618)
  Transaction 1 of length 137
[2005/02/09 17:58:08, 3] smbd/process.c:switch_message(448)
  switch message SMBnegprot (pid 12990)
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN1.0]
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [Windows for Workgroups 3.1a]
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LM1.2X002]
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [LANMAN2.1]
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(341)
  Requested protocol [NT LM 0.12]
[2005/02/09 17:58:08, 3] smbd/negprot.c:reply_negprot(424)
  Selected protocol NT LM 0.12
[2005/02/09 17:58:08, 3] smbd/process.c:process_smb(618)
  Transaction 2 of length 204
[2005/02/09 17:58:08, 3] smbd/process.c:switch_message(448)
  switch message SMBsesssetupX (pid 12990)
[2005/02/09 17:58:08, 3] smbd/reply.c:reply_sesssetup_and_X(805)
  Domain=[COMP-NET]  NativeOS=[Windows 2000 2195]
NativeLanMan=[Windows 2000 5.0]
[2005/02/09 17:58:08, 3] smbd/reply.c:reply_sesssetup_and_X(809)
  sesssetupX:name=[fabio]
[2005/02/09 17:58:08, 3] lib/username.c:map_username(193)
  Mapped user fabio to fabio
[2005/02/09 17:58:09, 3] param/loadparm.c:lp_add_home(1553)
  adding home directory fabio at /home/fabio
[2005/02/09 17:58:09, 3] smbd/password.c:setup_groups(192)
  fabio is in 1 groups: 503
[2005/02/09 17:58:09, 3] smbd/password.c:register_vuid(270)
  uid 503 registered to name fabio
[2005/02/09 17:58:09, 3] smbd/password.c:register_vuid(272)
  Clearing default real name
[2005/02/09 17:58:09, 3] smbd/process.c:chain_reply(775)
  Chained message
[2005/02/09 17:58:09, 3] smbd/process.c:switch_message(448)
  switch message SMBtconX (pid 12990)
[2005/02/09 17:58:09, 3] smbd/password.c:authorise_login(759)
  ACCEPTED: validated uid ok as non-guest
[2005/02/09 17:58:09, 3] smbd/service.c:make_connection(441)
  Connect path is /root/tmp
[2005/02/09 17:58:09, 3] lib/doscalls.c:dos_ChDir(342)
  dos_ChDir to /root/tmp
[2005/02/09 17:58:09, 0] smbd/service.c:make_connection(502)
  Can't change directory to /root/tmp (Permission denied)
[2005/02/09 17:58:09, 3] smbd/error.c:error_packet(138)
  error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=6
[2005/02/09 17:58:09, 3] smbd/error.c:error_packet(143)
  error string = Permission denied
[2005/02/09 17:58:09, 3] smbd/process.c:timeout_processing(856)
  end of file from client
[2005/02/09 17:58:09, 2] smbd/server.c:exit_server(408)
  Closing connections
[2005/02/09 17:58:09, 3] smbd/server.c:exit_server(435)
  Server exit (normal exit)


More information about the samba mailing list