Grass-hopper
asked on
Accessing Windows directory from Solaris Box
We have a Windows 2003 server that will produce files and dump them into a certain directory. We then need a separate Solaris 8 box to poll this directory periodically and if any files exist, pull them down to a certain area in the Solaris box.
I have been looking at installing UNIX services for Windows, setting up an NFS mount, then creating cron script on the
Solaris box to do the polling and moving of directories/files. Ideally - there needs to as little downtime as possible - and looking at demo's/work instructions on Microsoft's site, I would first need to upgrade to Windows 2003 SR2 (which would require downtime), then install all these UNIX services/NFS addons on the Windows box which again would require more downtime for reboots etc.
Am I over complicating this? Is there an easier way to do this?
I have been looking at installing UNIX services for Windows, setting up an NFS mount, then creating cron script on the
Solaris box to do the polling and moving of directories/files. Ideally - there needs to as little downtime as possible - and looking at demo's/work instructions on Microsoft's site, I would first need to upgrade to Windows 2003 SR2 (which would require downtime), then install all these UNIX services/NFS addons on the Windows box which again would require more downtime for reboots etc.
Am I over complicating this? Is there an easier way to do this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the replies,
I have installed Samba and can get connected to the Windows Server share... However,
1. How can I now integrate this into a script so that it connects to the share, checks for new files, pulls any files present down, then deletes the ones on the Windows server - all without prompting for a password (but still being relatively secure)?
My thinking with the nfs share was that the windows shared directory was constantly mounted as a file system under Solaris, therefore a cron'd script could just be run to continually poll this share and do the relevant moving/deleting.
Is this same thing possible under Samba?
I have installed Samba and can get connected to the Windows Server share... However,
1. How can I now integrate this into a script so that it connects to the share, checks for new files, pulls any files present down, then deletes the ones on the Windows server - all without prompting for a password (but still being relatively secure)?
My thinking with the nfs share was that the windows shared directory was constantly mounted as a file system under Solaris, therefore a cron'd script could just be run to continually poll this share and do the relevant moving/deleting.
Is this same thing possible under Samba?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers for the replies guys - I had a look at all the methods you gave me links to - but in the end decided to go for the NFS setup as it suited my needs more.
http://access1.sun.com/FAQSets/Solarisx86FAQs.html