Like funksen said, if you have bos.cifs_fs.rte installed, you could use this kind of script to automatically copy files to a Windows share:
"win_domain" is your windows domain if you use one
"win_userid" is the Windows user ID that has write access to the share
"share_name" has to be the name of the share.
"remote_path" would be subdirectories in the share if you had any.
To not get prompted for a password, save the password to a file like "/home/user/.smb.passwd" and then export the environment variable "export PASSWD_FILE=/home/user/.smb.passwd" before you run the commands above or save inside a script along with the commands.
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
*Following questions involves use of YAML, BASH, SSH and Software called Ansible*
I am trying to learn how to use a Linux environment (in my case a Ubuntu Windows Sub System) to copy a text file from my files to a remote instance (in this case Amazon Web Services) by connecting via SSH.
I... (8 Replies)
Hello my dear friends,
Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory.
is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
/oragriddb_01/app/oracle/product/11203> ct_14_2012_22_58_58/files/lib/libdbcfg11.so /oragrid_01/Grid_11203/lib/libdbcfg11.so <
cp: /oragrid_01/Grid_11203/lib/libdbcfg11.so: Cannot open or remove a file containing a running program.
Best regards,
Vishal (2 Replies)
I have a FirstDoc application that integrates with SharePoint 2010.
As per the FirstDoc install guide, I need to generate the sharepoint_authentication properties file and place it on the server and the 2 Windows boxes that contain other components of the app.
The properties file I... (1 Reply)
Hi All,
I'm hoping this is an easy question, but I'm having a weird problem trying to simply copy and paste text from MS Windows (XP) Notepad and then pasting into vi or vim in AIX. When I type "oslevel" I get "5.3.0.0". The problem is that once the text is pasted, there are sections of text... (2 Replies)
i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue.
error message :... (1 Reply)
Hello, I am really new to solaris and I want to know the easiest way to copy a file from a solaris server to an Iomega NAS running windows 2003 server. Can I map the drive on the windows box so the solaris server can see it. Any advice would be appreciated. (1 Reply)
Hi All,
I am new for Unix, and facing one problem
I wanted to copy some of files from my Unix workarea to Window network drive. I am not able to use copy or move command for this, as this only works within workarea.
Please let me know, how it can be done. (2 Replies)