LinuxQuestions.org
Review your favorite Linux distribution.
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 11-02-2004, 06:14 PM   #1
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Rep: Reputation: 15
samba question


I am able to see my windows network no problem right out of the box with SUSE9.1

However, it seems in order to mount the share etc, I need a log/pass? Is that true? or am I missing something?

note: this is all internal, and the computer i have my share on doesnt have a password to logon, just my screenname (winxp)

Last edited by bjs; 11-02-2004 at 06:17 PM.
 
Old 11-02-2004, 06:22 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you try that username with no password?
 
Old 11-02-2004, 06:22 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Does it work when you add a user on your windows machine with a password and use it?
 
Old 11-02-2004, 06:25 PM   #4
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Original Poster
Rep: Reputation: 15
i type this

mount -t smbfs -o username=Me //othercomputername/directoryname /mnt/smb


It asks for a password

I hit enter

it bombs out with

6507: tree connect failed : ERRDOS - ERRnosuchshare (you specified an invalid share name)




I can see this directory no problem using konqueror
 
Old 11-02-2004, 06:29 PM   #5
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Original Poster
Rep: Reputation: 15
ok, interesting

i type in

mount -t smbfs -o username=Me,password=me //othercomputername/directoryname /mnt/smb


after adjusting the directory (it was down a few levels)

and i got what i want, xmms will play the file.... I just get no sound. New problem, but a little easier to fix I think
 
Old 11-02-2004, 06:29 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Create a user with a password and test it, this way you can eliminate if its actually a authentication issue or an actual mount issue.

And now you've edited while I was replying..
 
Old 11-02-2004, 06:34 PM   #7
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Original Poster
Rep: Reputation: 15
yup
that definitely worked.. just needed to add the password

i can deal with that.





thank you !
 
Old 11-02-2004, 06:40 PM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
The amazing trickykid strikes again, while the old faultering Peacedog gets caught sleeping on the job, maybe I should retire. How does he do it?
 
Old 11-02-2004, 06:41 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by Peacedog
The amazing trickykid strikes again, while the old faultering Peacedog gets caught sleeping on the job, maybe I should retire. How does he do it?
Cause for some unknown reason I was twiddling at work all day with Samba crap, so its in my system right now..
 
Old 11-02-2004, 06:47 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
Originally posted by trickykid
Cause for some unknown reason I was twiddling at work all day with Samba crap, so its in my system right now..


A post solved in microseconds, and an explanation to boot, you're on your way to some kind of award.

Last edited by Peacedog; 11-02-2004 at 07:34 PM.
 
Old 11-02-2004, 07:03 PM   #11
bjs
Member
 
Registered: Mar 2004
Location: Boston
Distribution: Fedora 2
Posts: 39

Original Poster
Rep: Reputation: 15
mind if i ask one more? I think someone else is asking too,

if i want that command to run on bootup, whats the easiest way?

it looks like i need to put it in /etc/fstab do I just type the command in exactly and it works like a bat file?
 
  


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
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Samba question Ryknow215 Linux - General 3 02-23-2004 06:11 PM
Samba question Marklar Linux - Networking 30 01-02-2004 03:44 PM
A Samba Question? gsmonk Linux - Networking 2 08-20-2003 09:14 AM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration