LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2005, 07:03 PM   #1
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
samba -> specifically a kde daemon?


is the samba service specifically a kde service? or is there a way to access samba shares through the command prompt? I've already googled this, and haven't gotten a straight answer. Since I recently switched to Windowmaker from kde, I want to know if the samba daemon can be used in window maker (without having to open konqueror to do so)
 
Old 07-30-2005, 08:24 PM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
Samba is in no way dependant on KDE. You can actually mount Samba shares the same way you would an NFS share. You can specify a line for it in /etc/fstab like this:
Code:
//host/share   /mount/point   smbfs   options  0  0
 
Old 07-31-2005, 12:12 AM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
mount -t smbfs -o username=xxxx,password=xxxx //servername/sharename /mnt/mountpoint

you can make it an alias in root's ~.bashrc and make it something easy to type
 
Old 07-31-2005, 06:11 PM   #4
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Original Poster
Rep: Reputation: 30
mount -t smbfs -o username=xxxx,password=xxxx //servername/sharename /mnt/mountpoint

I was able to get this to work earlier, but as for adding a line in my fstab, it doesn't work... the command line simply spits back an error that says "line 9 in fstab is bad" .... it looks like this for reference:

Code:
/dev/hda1        /                reiserfs    defaults         1   1
/dev/hda2        swap             swap        defaults         0   0
/dev/dvd         /mnt/dvdrom      iso9660     noauto,user,ro   0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
##end of automatically generated fstab##
/dev/sda1        /mnt/usbdrive    vfat        noauto,user,rw   0   0
//zaxcomp/Some\ Videos/   /zaxcomp/vids     smbfs    defaults  0   0
//zaxcomp/Some\ Music/    /zaxcomp/music    smbfs    defaults  0   0
I only inserted defaults into the options b/c I do not have a password and username attached to the samba shares
 
Old 08-01-2005, 02:01 AM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
try

Code:
//zaxcomp/Some\040Videos   /zaxcomp/vids     smbfs    defaults  0   0
//zaxcomp/Some\040Music    /zaxcomp/music    smbfs    defaults  0   0
 
  


Reply



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
Changes to RHEL4 (AS Specifically) scylla Red Hat 1 11-13-2004 11:58 PM
samba firewall issues (daemon start slack8) bluskyambition Linux - Networking 3 12-13-2003 08:07 PM
Why is my email (Smailer-Daemon) failing to be delivered (specifically Nagios Alerts) mdwillia Linux - Software 1 11-17-2003 08:16 AM
smbd (samba) daemon startup question GetCool Debian 3 11-16-2003 03:22 PM
samba daemon socket error richard22 Linux - Networking 7 08-21-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 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
Open Source Consulting | Domain Registration