Operating System - HP-UX
1753666 Members
6018 Online
108799 Solutions
New Discussion юеВ

samba open_directory: unable to stat name

 
10ft
Occasional Advisor

samba open_directory: unable to stat name

With samba 2.2.9 (last version finded in software.hp.com) when i try to load a with xp/2000 file in some directory i have this log:

[2004/07/02 15:45:23, 0] smbd/open.c:(1294)
open_directory: unable to stat name = tt84/thinkteam config SAVIO/mid. Error was No such file or directory
[2004/07/02 15:45:23, 0] smbd/open.c:(1294)
open_directory: unable to stat name = tt84/thinkteam config SAVIO/mid. Error was No such file or directory

My platform is 11.00 hpux.

I had samba 2.2.7 and now i have to upgrade samba (2.2.9) for new clients XP ... ( with XP and samba 2.2.7 i cannot create directory )



What version of samba i have to use ?

Any idea ?


Thanks
Simone Stanzani

6 REPLIES 6
Geoff Wild
Honored Contributor

Re: samba open_directory: unable to stat name

Bare minimum you want is 2.2.8a as it fixes a security exploit. Reading the fixes/changes in 2.2.9 - I see:

The Samba Team announces Samba 2.2.9

=============================
Release Notes for Samba 2.2.9
May 8, 2004
=============================

This is the latest stable release of the Samba 2.2 code base.
This is a maintenance release of Samba 2.2.8a to address the
problem with user password changes after applying the Microsoft
hotfix described in KB828741 to Windows NT 4.0/200x/XP clients.
No other changes have been applied since Samba 2.2.8a.

There are no further Samba 2.2.x releases planned at this time.

From your log though - looks like it can't find a directory/file?

Can you turn your logging up a bit more?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
10ft
Occasional Advisor

Re: samba open_directory: unable to stat name

From your log though - looks like it can't find a directory/file?

Exactly ... but i can enter in that directory via browser but when application (pdm) try to load file it does not find path ...

it could be a problem when i pass the path of file via string ....


Some exaple of my files:
/vol1/think3/tt84/thinkteam config SAVIO/mid/mid1.hrc
/vol1/think3/tt84/thinkteam config SAVIO/mid/mid2.hrc
/vol1/think3/tt84/thinkteam config SAVIO/mid/mid3.hrc
/vol1/think3/tt84/thinkteam config SAVIO/mid/mid4.hrc
/vol1/think3/tt84/thinkteam config SAVIO/mid/mid5.hrc

Thanks a lot and excuse me for my poor English :-(
Geoff Wild
Honored Contributor

Re: samba open_directory: unable to stat name

Ok - so the files exist and are visible to the Windows machines - yet the application can not load them - is there a permission thing going on?
Does PDM launch as another user or something?
I see the path has spaces in it...that will need to be double quoted - or can you remove it all together - like make it so that it is:

/vol1/think3/tt84/thinkteam-config-SAVIO/mid/

Can you post you smb.conf file - and has it changed from when you had 2.2.7?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
10ft
Occasional Advisor

Re: samba open_directory: unable to stat name

is there a permission thing going on?

I think is not permission problem becouse with 2.2.7 it works ... and costumer did not change any permission.


Can you post you smb.conf file - and has it changed from when you had 2.2.7?

In new smb.conf i change this entry
nt smb support
to yes
(default)
becouse with No , 2.2.9 did not work.

PS:
I found in this url
https://bugzilla.samba.org/show_bug.cgi?id=591

what do you think to set

mangling method = hash2


Thanks
Simone :-)
Geoff Wild
Honored Contributor

Re: samba open_directory: unable to stat name

Okay - why do you have

security = DOMAIN

yet

password server = srvdom4

If you are authenticating to a Windows Server, you don't need security = DOMAIN, security = SERVER should work (that's what I do).

You can try the mangling - I don't think that's the issue...

What about socket options?

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
10ft
Occasional Advisor

Re: samba open_directory: unable to stat name


security = DOMAIN
yet
password server = srvdom4

My samba server is a domain member server, is
joined to domain and autentication works, in samba documentation this configuration is with
security = DOMAIN


You can try the mangling - I don't think that's the issue...


socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192

I will try with your socket options

Thanks
Simone ;-)