LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2005, 05:42 PM   #1
dyn0myte
LQ Newbie
 
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Rep: Reputation: 15
Newbie-Samba help


DSL Modem> Linksys Wireless Router (no wireless; all direct connect)
Me running XP/Slackware 10.1
Dad running XP/Mandrake

>>>>>>>I have been reading a Samba How to and it lists the folowing requirements:

smbd (The SMB daemon)
nmbd (Provides NetBIOS nameserver support to clients)
smbclient (An SMB client for UNIX machines)
smbstatus (Lists the cuurent SMB connections for the local host)
>>>>>I found these

Typically, the following Samba binaries are installed in /usr/bin or /usr/local/samba/bin, although the location is optional.

smbprint (A script to print to a printer on an SMB host)
smbrun (A 'glue' script to facilitate runnning applciations on SMB hosts)
>>>>>>>>i did not find these

>>>>>The first list I found in /usr/bin but
the second list; i dont have a Samba in usr/local
Also, samba.conf is NOT on my computer. Do i need to create this file, is it just a text file?
I am running KDE 3.3.2 control center has Samba Config; I did this and it did not work; probably because I don't have samba.conf
Is Samba installed on my computer? Hard for me to tell as all I have seen is this config in the KDE control center. If not then it must be on my 4 cd set or I can download it.
Also for future considerations; I have USB printer and I guess I will be using CUPS and ghost script; this needs to be added to samba.conf as well right?

Thanks in advance.
Dyn0myt3

Last edited by dyn0myte; 07-27-2005 at 07:32 PM.
 
Old 07-27-2005, 06:28 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
If all you want to do is to share the printer, you don't need samba. CUPS will do that. (samba can do it too, indeed).

Check first if you have samba installed. You could do that by looking at your /var/db/pkg (this is the default location of the installed packages in Slackware, if I remember it correctly) of by trying to start it from the command line. Type "smbd start" and see if something pops up.

Your samba.conf should be inside /etc/samba or /etc/smb and could also be called smb.conf... if samba is installed, a sample file should be created...

This guide is for ubuntu Linux, which has nothing to do with Slackware, but still, it has some useful info about samba, file editing and shares. Take a look into it:

http://www.ubuntuguide.org/#sambaserver

Regards!
 
Old 07-27-2005, 06:34 PM   #3
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
If u both on linux why use samba??
I think NFS would be better then because it handles file permissions.
And samba is in slackware by default.
Try pkgtool as root to see installed packages and look for samba, or do 'ls /var/log/packages/ |grep samba'
But it looks like u got samba already installed. (if i understand u right)
But i would rather use NFS.
 
Old 07-27-2005, 07:05 PM   #4
dyn0myte
LQ Newbie
 
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Original Poster
Rep: Reputation: 15
smbd start <<returns me to root@#
/var/log/packages/samba-3.0.10-i486-1 <<its there>>
/etc/samba <<has 2 files

I am missing this file in Kpackage under Samba entry- Any suggestions on this?
/etc/rc.d/rc.samba.new [big red X surronded by green ones]

Trying to use Samba because
Local network browsing is my main focus here. (sorry; i should have specified)
Its already installed
Ima noob and don't know what else is out there
Both of us still have operational windows drives-Need samba for this; right?
NFS is described as "signifcantly less secure" than Samba.
SLackware Essentials, 2nd edition, Ch 5 page 73
Not worried about sharing the printer; a plus but is this the only reason for it being in the samba.conf? Would this be required by CUPS and Localhost:/631 ?? or does this not apply?

Thanks for the links and replies.
Dyn0myt3


Last edited by dyn0myte; 07-27-2005 at 07:40 PM.
 
Old 07-27-2005, 09:42 PM   #5
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
NFS can be very secure, in your case you can restrict remote access to just the other machine for a start.
 
  


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
SAMBA newbie westverg Linux - Networking 2 10-04-2005 05:08 AM
Samba Newbie !!! burki Linux - Software 2 03-25-2005 06:58 PM
Newbie Samba help MasterCephus Linux - Newbie 9 08-29-2004 05:42 PM
Samba Help... NEWBIE! abluesky Linux - Networking 8 03-17-2004 01:22 PM
!!!!!!! newbie needs SaMBa help !!!!!!!! spaztic_fury Linux - Networking 1 11-02-2003 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:10 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