LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connecting to Solaris from linux machine (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-to-solaris-from-linux-machine-190147/)

j911058 06-05-2004 07:05 PM

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

Demonbane 06-05-2004 08:23 PM

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

j911058 06-05-2004 09:14 PM

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

cassiusclay 06-06-2004 08:36 PM

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.