Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using windows xp, vista, server 2008 R2, ubuntu-linux 9.10, 9.04, 8.10 desktop editions. I shared some folders/directories in windows and in ubuntu machines. Normally for the first time it's prompted for the password when tried to access the shared folders on either of the machine and again they prompt for the password when the system is rebooted. Recently I've created a batch and sh script which copies from the shared folders from windows to ubuntu and vice-versa. But the scripts cannot automate the password prompt and I'm wondering if I could disable the password prompt of the shared folders on windows and as well as on ubuntu machines so that my script runs smoothly. I don't know if it's possible or not but want to confirm posting here and if it is then nothing but saying need help...!. Thanks all!

share|improve this question

1 Answer 1

Sure it's possible.

Have a look at these two links for the answer. First you will want to add the Ubuntu machine to Active Directory (I assume you are using it.) And on the Ubuntu box you can mount Windows shares on boot up. Actually, a third link just in case you need it to set up shares on the Ubuntu box. Lastly, you might want to look into command line options for WinSCP or installing Cygwin on the Windows box.

https://wiki.ubuntu.com/MountWindowsSharesPermanently https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto http://ubuntuforums.org/showthread.php?t=202605

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.