LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2005, 07:44 PM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
networking linux with samba


hello,

i'm trying to mount a drive wiht samba. but when i mount a try with

Code:
mount -t smbfs //192.168.1.100/var/music /mnt/music
i get a prompt for a password. and i don't know what password they are asking for. so i added a user on my samba user, but when i try to mount a drive with the user i get an error saying only root can mount drives. Is there a way to mount samba drives with linux?


thanks,
djgerbavor3
 
Old 06-09-2005, 08:23 PM   #2
camlinux
Member
 
Registered: Feb 2003
Location: north dakota
Distribution: Gentoo, Debian
Posts: 90

Rep: Reputation: 15
Add the share to fstab with user mount permissions.
Also use the share name not the full path when mounting a samba share. So instead of xxx.xxx.xxx.xxx/var/www use xxx.xxx.xxx.xxx/"name of share" in smb.conf.
 
Old 06-09-2005, 09:47 PM   #3
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Original Poster
Rep: Reputation: 30
it worked! I'm like samba more than i nfs, it seems more flexiibity and it can communicate with windows.


thanks,

djgerbavor3
 
  


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
how to setup samba for winxp/linux networking Ay-Karamba! Linux - Networking 2 08-27-2005 09:04 PM
networking with samba between xp and linux dave37 Linux - Networking 5 01-10-2004 07:32 PM
Linux and Windows Networking - SAMBA vadertech Linux - Networking 4 12-20-2002 02:34 AM
samba networking w2k and linux rh8 hugosoto Linux - Networking 8 11-01-2002 10:51 PM
Linux-Networking Configuring Samba and Firewall Pradeep Linux - Networking 0 11-26-2001 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration