Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
my samba drive is failing to mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Sat Oct 09, 2004 8:04 pm    Post subject: my samba drive is failing to mount Reply with quote

So I have a samba directory on my server, it's running gentoo, and is simply a BIG jukebox. I'm trying to mount the music directory into a directory on my primary desktop for easy access through XMMS. Can you all tell me what is wrong?

Here's smb.conf:
Code:

[global]
   netbios name = wizardhat.net
   server string = Juke Box
   workgroup = gayble
   os level = 99
   null passwords = no
   encrypt passwords = yes

[mp3s]
   comment = mp3s
   path = /home/stillspiraling/MyMusic
   writeable = yes
   valid users = stillspiraling
   admin users = stillspiraling root


and here's what my /etc/fstab looks like. Does this have to be "tabbed" out correctly? I mean correct amount of whitespace on each line??

Code:

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>             <mountpoint>    <type>     <opts>            <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2      /boot      ext2      noauto,noatime      1 2
/dev/hda4      /      reiserfs   noatime         0 1
/dev/hda3      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro      0 0
#/dev/fd0      /mnt/floppy   auto      noauto         0 0
//192.168.2.111/MyMusic/mp3s   /home/jared/mp3s   smbfs    rw,noauto,users   0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults      0 0



Under the fstab, I tried putting user=stillspiraling, password=XXXXX but I think I did it wrong, when I would do

Code:

mount //192.168.2.111 /home/jared/mp3s


it would ask for a password, and when I entered the correct password it wouldn't work :(

Any ideas, or modifications to my files?

Thanks so much.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sat Oct 09, 2004 8:06 pm    Post subject: Reply with quote

"It wouldn't work"...

What does it say.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Sat Oct 09, 2004 8:38 pm    Post subject: Reply with quote

My aplogies :oops:

as root I try this:

Code:

bash-2.05b# mount //192.168.2.111/MyMusic /home/jared/mp3s
Password:
13034: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed
bash-2.05b#


at the password prompt I first tried using the password for "root" on my server, and then the password for "stillspiraling" the user in my smb.conf on the server.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Sat Oct 09, 2004 8:57 pm    Post subject: Reply with quote

Well - did you add the user to samba ?
You can not magically use UNIX users in samba, you know...

Code:
smbpasswd -A stillspiraling

_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Sun Oct 10, 2004 3:43 pm    Post subject: Reply with quote

the user stillspiraling is a user on my server; the local user on my primary is jared.

when I open a directory in konqueror under //192.168.2.111, it simply asks for username and password, I enter stillspiraling and xxxxx, and bam it opens the directory with all of the music. t just does NOT want to mount that directory, same error as above.

:?

thanks a lot for the replies, I appreciate the help a LOT
Back to top
View user's profile Send private message
iverasp
n00b
n00b


Joined: 11 Oct 2004
Posts: 58

PostPosted: Wed Oct 13, 2004 7:01 pm    Post subject: Reply with quote

in the fstab file i had username=iver,password=xxxx in the <opts> part of my line

if you do "mount -t smbfs -o username=you,password=yourpass //server/location /mnt/whatever" in the terminal, what happens?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum