Operating System - HP-UX
1826373 Members
4376 Online
109692 Solutions
New Discussion

strange behaviour with cifsclient and w2k-share

 
Rene Wiesner
Occasional Contributor

strange behaviour with cifsclient and w2k-share

Hello,

we use an W2K-Server for collecting data (ascii-files) from windows clients. The clients uses different shares, always one share for each machine.
A unix machine (HP-UX 11i) uses mount and cifslogin to mount a global share which includes all the individual shares as subdir . A process on the unix box traverses the sub directories in the mounted (windows) share and move the found data. Everything works fine except for four windows clients. These four differs from the others because they are windows nt domain controllers and put their data in subdirectories under their individual share.
And now the problem, the unix machine doesn't seee the data in these shares until I look with the windows explorer in these directories. It's enough to look in one subdir and it's the same if I use the explorer on the client or on the collecting windows 2000 server.
I use the following sequence for mount
mount -F cifs myserver:/myshare$ /mnt_dir
su unixuser -c "cifslogin myserver user -P pass"

Any suggestions
2 REPLIES 2
Mike Boswell_1
Frequent Advisor

Re: strange behaviour with cifsclient and w2k-share

I have the same problem. My windows 2k share's subfolders are not availalble from the cifs mount until I browse the share machine w/ any PC.

Did you resolve your problem yet?
Rene Wiesner
Occasional Contributor

Re: strange behaviour with cifsclient and w2k-share

I addition to my first mail, there are more than 4 clients with problems and it seems to be a general problem. There are some clients remaining with shares which are correctly updated. These shares are explicitly open and closed by the clients (net use, copy, net use /d).

For the clients (directories) with problems I use a very tricky work-around in the shell script on my hp machine:

ff=".refresh_dir"; touch $ff; ls -l > /dev/null; rm $ff

This must be done in every directory! It works for me since a few weeks!