Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2004, 08:05 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
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.

Old 06-05-2004, 09:23 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
firstly you need to install Samba (should come with Fedora) configure it, then you'll be able to mount share using something like:
mount -t smbfs -o username=user,password=pass //server/username /mount/point
Old 06-05-2004, 10:14 PM   #3
LQ Newbie
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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?

Old 06-06-2004, 09:36 PM   #4
LQ Newbie
Registered: Jun 2004
Location: Atlanta, GA
Distribution: Slackware and OpenBSD
Posts: 22

Rep: Reputation: 15
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to Linux machine from outside source... Geepak Linux - Newbie 1 02-03-2005 06:02 AM
Connecting linux machine to windows network corbis_demon Linux - Networking 3 11-08-2004 03:47 AM
Connecting to Solaris Servers from Fedora Core 2 j911058 Linux - Networking 0 08-06-2004 11:08 PM
Mounting a Solaris SCSI drive on Linux machine Crac Linux - Newbie 4 05-29-2002 08:08 AM
Connecting Linux to a Windows ME machine amykhar Linux - Networking 2 05-08-2001 08:41 PM

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration