Solved

Samba and Explorer.

Posted on 2002-07-07
14
371 Views
Last Modified: 2010-04-20
Running a pretty stock Debian 3.0 system and samba 2.2.3-a6. For some reason when i have a share open in the Windows explorer, the left tre pane doesnt update if i move files/directories on the samba server. The directories are still visible in the left pane, and shows as empty if i open them. How can i make things fall back into sync?
0
Comment
Question by:j2
  • 5
  • 3
  • 2
  • +3
14 Comments
 
LVL 7

Expert Comment

by:lewisg
Comment Utility
Have you tried pressing F5 on the windows machine? What version of Windows?
0
 
LVL 12

Author Comment

by:j2
Comment Utility
Yes. F5, close the pane, disconnect and reconnect the share, closed explorer and reopened it. W2k Pro and W98SE
0
 
LVL 7

Expert Comment

by:lewisg
Comment Utility
Are you "move(ing) files/directories on the samba server" using explorer on one of the Windows machines?

If you are moving them using a logon with different rights on the server machine I can see where you might not be able to see them when they are moved.
0
 
LVL 12

Author Comment

by:j2
Comment Utility
No. Moving with explorer works. But directly manipulating files on the unix server causes this. But it does not happen when using resources of our RedHat Samba Servers, and i cant find any real diff between the confgis.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
I've seen the same thing with a copy of Samba running on FreeBSD 4.4. Since I had built Samba from sources, it was easy enough to build Samba from the same sources for Solaris 2.7 and RedHat 7.1. Using the same config file I didn't have the problem with Solaris or with RedHat. So I figured it had to be something in the way Samba and the host OS got along.

I don't know if your problem is from the same cause and you'd  really want to use a copy built from source on Debian and RedHat to figure out if is directly related to the OS.
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
did you check following setting in smb.conf:

  change notify timeout
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 12

Author Comment

by:j2
Comment Utility
change notify was set to default (60 seconds). Reducing it makes no difference.

And also, as i said. The _right_ pane in windows explorer works correctly. But the left doesnt.
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
Does following produce the correct listing?

   smbclient \\\\SERVER\\j2 -U j2 -W FUNNT -c dir

if so, the problem needs to be tracked down in the Explorer, not Samba.
0
 
LVL 12

Author Comment

by:j2
Comment Utility
That produces the correct listing. Well, if it is an explorer problem, why doesnt it behave the same with a RedHat samba server?
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
strange, indeed ...
Do you have the same smb.conf for RH-Samba and other-Samba?
0
 
LVL 12

Author Comment

by:j2
Comment Utility
Yeap. same config. But i just realised that the Debian box is using XFS and the Redhat uses ext2. Ill set up a shre on the deb box on one of its ext3 (as close as ill get) and see.. But i dont think that should matter?
0
 
LVL 1

Expert Comment

by:Nick
Comment Utility
As an aside, and totally irrelevant comment here, if you have a SMB share open in Windows Explorer on Win2000, right mouse click a file you only have read access to, got to the 'security tab' and change the properties to full access...  Windows Explorer crashes bigtime.

Nick :)
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
Comment Utility
PAQ'd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now