Copy to Windows hidden share


 
Thread Tools Search this Thread
Operating Systems AIX Copy to Windows hidden share
# 8  
Old 06-26-2017
I think we should first clear a few basic things, solutions should then be obvious:

1) When Windows says it is doing "TCP/IP" this is a half-lie: in fact it is using TCP/IP to transport NetBIOS packets (and NetBIOS-protocols) around. In fact, when you want to talk to a Windows system you need to be able to talk NetBIOS.

2) The file transfer protocol native to the TCP/IP stack is - who'd have guessed the name - FTP. This isn't used to day any more but its securified successors (SFTP, SCP, ...) are. Alas, Windows doesn't speak any of these out of the box, because - see above - it doesn't really understand TCP/IP.

3) The alternative to file transfer is file sharing - basically the possibiity to mount part of a certain systems file(-system)s at a remote system. The TCP/IPs standard protocol for this is NFS. Again, Windows won't (out of the box) understand it, because NetBIOS has a different file sharing protocol: SMB (and its successor CIFS).

Solutions:

A) Use a file transfer solution: you will need scp on one system and a running sshd on the other. You won't need passwords because you can exchange keys and establish trust between two host/user combinations. This should be relatively easy to do because most modern AIX systems run sshd anyway. You can check with

Code:
lssrc -s sshd

if it is active or not. The transfer can (on either side) be scripted with relatively little effort to automate it.

B) If you want to use a file sharing solution you need to make the systems understand each others languages. If you can install software on the AIX side you need SAMBA or something such to make AIX understand SMB/CIFS. Then you can mount Windows shares as part of the UNIX filesystem and by moving/copying files you can transfer them to the Windows side.

If you only can install software on the Windows side you need to get some NFS client software (i have no idea which one that could be, but there is sure something available). Then you need to switch on NFS services on the AIX (if not already running), check with

Code:
lssrc -g tcp

Notice that NFS exists in different versions and both V3 and V4 are common today. You need to define a so-called "export" (if unsure how to do it, do it with smitty nfs): a part of the AIX filesystem which can then be mounted from the Windows side.

I hope this helps.

bakunin
These 2 Users Gave Thanks to bakunin For This Post:
# 9  
Old 06-26-2017
extremly clear tovarisch (hope you speak russian Smilie), I do...) bakunin.

will add to the info for our vendor with the info provided by others.

You put in a b c way.

Thanks!

Sure will update the thread when the final solution will be working one.
The guy not in the office those days.

Last edited by pob579; 06-26-2017 at 09:45 PM..
# 10  
Old 07-23-2017
I am very much an AIX person - my iisues are that I an not a CIFS person, even though I have, over the years dealt with all these issues.

IMHO: from UNIX NFS is usually the most straightforward method of file transfer for general purpose.

If it is just one file that needs to move from AIX to XXX then I would look at something much simpler than NFS/CIFS (or any filesystem based transfer mechanism). Instead I would look at scp (secure and readily available) and/or rsync - aka think "file" transfer programs.

Hope this helps!

Michael

Ah - bakunin - I see there are two pages of posts and you already said above. Take this as an additional "like" for your previous post Smilie

Last edited by MichaelFelt; 07-23-2017 at 04:53 AM.. Reason: Too late, as usual - bakunin was here!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync - how to copy hidden folder or hidden files when using full path

Hello. I use this command : rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command. And no full source directories are in use, only some files. Source example... (2 Replies)
Discussion started by: jcdole
2 Replies

2. UNIX for Beginners Questions & Answers

Copy files to samba share Ubuntu 14.04

I am trying to use mv or cp rsync to copy folders to a samba share. I can manually copy the folders to the share, but can not seem to access it using command line. Thank you :). smbclient //path/to/cifs/share <password> -W <domain> -u <user> WARNING: The "syslog" option is deprecated... (2 Replies)
Discussion started by: cmccabe
2 Replies

3. UNIX for Dummies Questions & Answers

Windows Share

Hi guys I have some Windows Shares and I need to mount those shares on my Suse 10 SP3 I would like to know how to mount those? do I need to enable Samba? or is it just a simple mount command? thanks a lot (2 Replies)
Discussion started by: karlochacon
2 Replies

4. Shell Programming and Scripting

Script to copy User home folders to mounted windows share

First of all, let me state that I am a windows admin. I have a windows share mounted to /mnt/server I need a script that will either login as sudo or perform commands with sudo rights. I need the script to copy all of the users /home folders to the mounted windows share. Now If I can... (7 Replies)
Discussion started by: EricM
7 Replies

5. UNIX for Advanced & Expert Users

windows printers share

Hello, My network environment is: The server is Linux, all the clients are win2000 professional, the PC names are(ws00201, ws00202,ws00203,ws00204,ws00205,ws00206,ws00207,ws00208,ws00209), I have 3 printers connected through USB to ws00201, ws00204,ws00207, I want ws00201,ws00202,ws00203... (1 Reply)
Discussion started by: truelyli
1 Replies

6. AIX

Need help with Windows Share please

I have a windows 2003 server with services for unix installed I have create a folder c:\nfsshare and set it as an nfs share named nfsshare. now I am trying to mount it from my aix system using mount <server ip>:/nfsshare /mnt the filesystem mounts , but I cannot change into /mnt, I get a... (4 Replies)
Discussion started by: bbbngowc
4 Replies

7. IP Networking

how to share with windows

i m using Linux Mint on my computer and i m the server of shared Internet connection with windows machines. Internet sharing is working well with all the machines but file sharing is not working well. I can access the shared folders of other system with windows machine the windows machines cannot... (1 Reply)
Discussion started by: giri.nitp
1 Replies

8. UNIX for Dummies Questions & Answers

how to copy hidden files from one folder to another

dear all, i want to copy all files in my home dir to another. from my home dir i have given ls -la then some hidden files are there with dot . .. and i also want to copy all dirs in my home as it is . because iam upgrading the system how to copy all files and dirs in my home dir... (1 Reply)
Discussion started by: rajan_ka1
1 Replies

9. UNIX for Advanced & Expert Users

recursive copy of hidden files

I need to know how to copy hidden files recursively? cp -r sourceDir/* targetDir/. ignores the hidden files. Thank you!! (2 Replies)
Discussion started by: usfrog
2 Replies
Login or Register to Ask a Question