LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 06-05-2004, 07:05 PM   #1
j911058
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.

Thanks,
j911058
 
Old 06-05-2004, 08:23 PM   #2
Demonbane
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:
Code:
mount -t smbfs -o username=user,password=pass //server/username /mount/point
 
Old 06-05-2004, 09:14 PM   #3
j911058
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?

Thanks,
j911058
 
Old 06-06-2004, 08:36 PM   #4
cassiusclay
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
 
  


Reply


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 05:02 AM
Connecting linux machine to windows network corbis_demon Linux - Networking 3 11-08-2004 02:47 AM
Connecting to Solaris Servers from Fedora Core 2 j911058 Linux - Networking 0 08-06-2004 10:08 PM
Mounting a Solaris SCSI drive on Linux machine Crac Linux - Newbie 4 05-29-2002 07:08 AM
Connecting Linux to a Windows ME machine amykhar Linux - Networking 2 05-08-2001 07:41 PM


All times are GMT -5. The time now is 03:59 PM.

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