Connecting to Solaris from linux machine
Hi All,
I am trying to connect to our Solaris servers from my linux machine and need help in gettting there. Let me explain to what I got here. We have a solaris server where our appilcation servers are ported. I have a login access to it and when I login in I am logged to my home directory there. I recently got a laptop, installed fedora core 2 on it (its a dual boot with Win XP). In Windows environment I connect to our Solaris servers by mapping network drive \\server\username using samba. All my scripts are in \\server\username. I would like to connect to this folder from linux just like the way I do it in Windows and would like to automate it such that when I login to Linux I would like a folder mapped to my server\username. Currently I can telnet to server and login from linux. But my work would be easier if I can mount it. Hope I am clear with my request. Please help me out with this. Thanks, j911058 |
firstly you need to install Samba (should come with Fedora) configure it, then you'll be able to mount share using something like:
Code:
mount -t smbfs -o username=user,password=pass //server/username /mount/point |
I ran the code that you gave and this is the error that I got.
1222: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) SMB connection failed The username and password are right. I double checked by doing a telnet to the server and logging in. Any ideas? Thanks, j911058 |
try it reversed
mount -t smbfs //servername/folder /mountpoint -o username=user,password=pass i thought the order mattered - the way above always works for me where as the other way doesnt |
All times are GMT -5. The time now is 11:49 AM. |