Link to home
Start Free TrialLog in
Avatar of hagaiy
hagaiy

asked on

viewing windows files from a solaris server

hello.

i have got a SunOs 5.8, i want to mount a local directory on a sherd directory on a windows 2000 machine, whats is the most simple/fast way to do it ? (if possible i preffer not to touch to windows machine and do it all from the solaris).

tx.
hagai.
Avatar of besky
besky

Take a look at PC Netlink.
It turns the Sun into an NT system ( without the problems)
using smb, handling auth and so on.

Info at Suns homepage, www.sun.com, search for "pc netlink"
ASKER CERTIFIED SOLUTION
Avatar of Nisus091197
Nisus091197

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hagaiy

ASKER

i want to work on the solaris and see the windows files like a local directory, not the other way arround.
Once you have done the Samba install as documented by Nisus,  you need to make sure that the Solaris user has permissions on the Windows files.  This can be done easily by creating aliases in the smbusers file ( Unix_user = windows_user_name).  There must be share permissions on the Windows files.  At this point, you can mount the windows shared directory/ies by using:

smbmount "\\\<windows_system_name>\\<windows_share_name>" <Solaris_mount_point> -o username=<username_on_windows> uid=<username_on_Solaris> <other_mount_options_such_as_rw_or_ro>

You will be asked a password, and this is good because you don't want to put the password in the mount command since you will probably create a script to do the mounts, but always bad because you are transmitting in-the-clear passwords over your network (yay MS as usual)
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by Nisus

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer