|
Re: RE: Windows 2003 to Smb problems (directory listing again)
|
|
2005-08-11, 02:08 AM
Post: #1
|
|||
|
|||
|
Windows 2003 to Smb problems (directory listing again)
I'm using SFU 3.5 on Windows 2003 Server and I'm experiencing the following problems happening for Samba 3.0.6-2 mount coming from Linux ES 3u3 machine:
1) Directory listing incorrectly recognizes files as directories unless provided file name explicitly as an argument to ls command. This is demonstrated below:
2) Directory listing doesn't work (gives empty output) if a file belonging to that directory is open (using vi or more command for example). This goes back to the problem reported on this list under the title of "operation of "ls" inconsistant". I wonder whether there's been any progress on this issue? I'm seeing similar fstat behavior when ls returns empty contents... Thanks a lot in advance, Giga |
|||
|
2005-08-11, 10:21 AM
Post: #2
|
|||
|
|||
|
RE: Windows 2003 to Smb problems (directory listing again)
For (1):
The error will be with the information provided by the SMB server (Samba in this case). Interix itself obtains the information from the local device driver. So it's what is getting reported to the device driver. For (2): The problem there had to do with WinDFS. Nothing to do with SMB per se. I had added the '-U' (unreliable) option to ls which in turn causes a special flag to be passed to the FTS functions. It had no effect with WinDFS but did/does help cure the problem of no content appearing because FTS normally does an inode comparison and if there is a problem/difference it "quietly" dropped the entry; with -U that shouldn't happen. That was all done over a year ago (2004). The manual page has the info on it. Note this is with the /Tools version of ls built against the libport version of FTS. Give it a whirl. |
|||
|
2005-08-11, 09:56 PM
Post: #3
|
|||
|
|||
|
RE: Windows 2003 to Smb problems (directory listing again)
1) If it's the Smb problem, why does the dir command works correctly?
Please, find truss output below. Maybe, it will give some clue to what's going on here.
2) Seems to have no luck with 'ls -U' also. Please, find the info below. dir command works fine at the same time on the same directory...
Thank you for the help, Giga |
|||
|
2005-08-11, 10:17 PM
Post: #4
|
|||
|
|||
|
RE: Windows 2003 to Smb problems (directory listing again)
I have just found an article on MS site that addresses problem #1. I appologize for submitting the issue without checking MS support first. I will try it as soon as I get the patch from MS and will send a note whether it helped or not. For all the interested, the article is at: http://support.microsoft.com/default.asp...-us;892093
The problem #2 still in place. Thank you Giga |
|||
|
2005-08-12, 04:15 AM
Post: #5
|
|||
|
|||
|
RE: Windows 2003 to Smb problems (directory listing again)
> http://support.microsoft.com/default.asp...-us;892093
Interesting. The article notes that a reboot is not needed and then ID's the subsystem (8.0.1969.27). The only way you can replace/update a subsystem is with a reboot. So I'll suggest a reboot after applying the hotfix. I expect that Q899522 (the W2K3/SP1 fix) includes this fix because the subsystem is up to build 8.0.1969.32. So there may be another couple of fixes (build delta). Since you are on Windows 2003 you should ask for Q899522 instead in case you do apply SP1 to W2K3. It could save you doing two hotfixes. For Q899522 tell them it's W2K3 SP1 and you are having problems running shell scripts in addition to the ls -l output being incorrect. > The problem #2 still in place. It was an easy enough try. The hotfix may correct this too though. |
|||
|
2005-08-14, 07:52 AM
Post: #6
|
|||
|
|||
|
RE: Windows 2003 to Smb problems (directory listing again)
By uninstalling Windows 2003 SP1 and installing hot fix from http://support.microsoft.com/default.asp...-us;892093 I seem to have solved both problems. It seems that SFU 3.5 doesn't work too well with SP1 without patches.
Thank you for the help Giga |
|||
|
2012-03-21, 07:10 PM
Post: #7
|
|||
|
|||
|
Re: RE: Windows 2003 to Smb problems (directory listing again)
Very glad to see this thread, let me know how a lot of knowledge.
----------------------------------------------------------------------------- Trumpet Wedding Dresses|New Style Wedding Dresses|Column Wedding Dresses|Wedding Dresses with Sleeves |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)


Search
Member List
Calendar
Help



