Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-16-2008, 09:25 AM   #1
LQ Newbie
Registered: Feb 2008
Posts: 11

Rep: Reputation: Disabled
SAMBA and duplicating directory lists in XP

Interesting problem. Server using Samba version 3.0.25b-1.el5_1.4 on RHEL5 providing file services to XP and 2000 clients. I am migrating shares over to the new server and have noticed that if a user was previously in a SAMBA directory that was just migrated, the parent is duplicated in the child folder. For example in XP:


shows a number of files and subdirs. If I go into a specific subdir, the same listing as the parent and the path shows as follows, even though there is no archives subdir:


When I drill down into the child archives, I then see the actual and proper dir listing.

This is happening on what seems to be a random basis. Only a hard reboot removes the problem. Logging off and on does not solve the problem. It seems as if the listing is cached on XP? and then somehow gets confused.

Old 05-16-2008, 10:43 AM   #2
LQ Newbie
Registered: Feb 2008
Posts: 11

Original Poster
Rep: Reputation: Disabled
Further info:

I am using dfs and it seems this is where the problem lies. If I map directly to the share, I do not receive any ghost dir listings.

Investigating further,
Old 05-16-2008, 02:26 PM   #3
LQ Newbie
Registered: Feb 2008
Posts: 11

Original Poster
Rep: Reputation: Disabled
Further info

t starting to look like MS dfs client caching problem. When I get the erroneous dir listing e.g.


If I use dfsutil from MS W2K3 Support Tools to flush the cache as follows;

dfsutil /pktflush
dfsutil /purgemupcache

and within XP Windows Explorer I stay at the root of the symlink i.e. /storeimage then everything shows correctly. However if I am in the symlink share i.e. /storeimage/dwg and the dfs cache is purged [when expires, I am forcing the purge], the problem surfaces!

So I can recreate problem at any time!

However the XP registry change


goes only to 720min ... problem is people leave their machines on and stay within a certain dir then the problem resurfaces!

Ideas how to prevent?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
find lists current directory kaprasanna Linux - General 3 12-17-2007 04:06 AM
Java phone directory using linked lists snowman81 Programming 1 11-27-2007 07:35 PM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
Samba - unable to sync browse lists MikeAtVillage Linux - Networking 6 06-29-2005 03:04 AM
duplicating a webserver jasoncngo Linux - Software 6 04-07-2003 01:37 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration