Mount windows share folder into AIX..
Mount windows share folder into AIX..
mount -v cifs -n winserver/myuser/mypassword /home /mnt
and it works fine
And that's right, it worked perfectly on my AIX server.
Of course, you had to work a little bit before that :
On your PC, you have to create a user, for simplicity let's name this user "myuser", his password is "mypassword". You also have to create a shared resource named "home" (on my PC it's named CX500).
On the AIX server, verify that you have the cxfs lpp :
CONSOLE# lslpp -l *cifs*
you should see something like " bos.cifs_fs.rte 5.3.0.50 COMMITTED Runtime for SMBFS".
If cifs is not installed, you will have to use smit install (with the AIX CD inserted) in order to install it.
And I don't use the /mnt mountpoint, I use /remote, don't forget "mkdir /remote" first.
Then, just typing the "mount" command mounts the PC/NTFS file on your AIX mountpoint.
So, everybody can "cd /mnt ; vi myfile.txt", you will see that the user has read and write permission. Which is normal, the mount command give a regular Windows username and password.
By the way, if you don't type the /mypassword part in the commandline, you are prompted for the Windows myser passwod, and you type it blindly, which is better from a security point of view.
Isn't this nice ? AIX users can startup the install of Oracle patches downloaded on the PC, and the user on the PC can read the comments from files written by the AIX/Unix users.
A nice collaboration between Unix and Windows worlds
Post a Comment