LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-25-2007, 02:52 AM   #1
bostonantifan
Member
 
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Rep: Reputation: 15
Problems with SAMBA


I am trying to set up a SAMBA server, and I've been following the instructions in the "Fedora 6 Bible". It seems that I'm missing a few files. According to the book, when I run the following command:

rpm =qa | grep samba

the output should be:
samba-*
system-config-samba
samba-swat-*
samba-common-*
samba-client-*

My listing, however is missing the system-config-samba & samba-swat-* lines. I've tried reinstalling using the 'yum install samba' command, but get the same results. Can anyone give me a hand with this? I'd really like to get a SAMBA server working, and would appreciate any assistance.
 
Old 02-25-2007, 03:08 AM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
if you have samba, samba-common and samba-client, it is enough to get samba working. the other two packages just provide samba administration. you can hand-edit /etc/smb.conf file (or whereever that you put it) and configure your shares (there are examples in the smb.conf itself). run 'testparm' to check your syntax and share definitions. testparm doesn't warns about missing share directories so you need to make sure the shared directories exists and has proper permissions. you then need to add and samba user using 'smbpasswd -a username'. this user should exist in your system. make sure smb connections are allowed through your firewall, check your tcpwrapper (/etc/hosts.allow and hosts.deny) and then try to mount the share from local as well as remote machine.
 
Old 02-25-2007, 03:36 AM   #3
bostonantifan
Member
 
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Original Poster
Rep: Reputation: 15
Share question

I'm a little confused about the shares you refer to. I checked my smb.conf file, and I saw nothing that mentioned shares, or anything that looked like a directory path that would be shared through SAMBA. Can you give me any more info, or point me to some documentation or a tutorial on SAMBA? Thanks for the info so far.
 
Old 02-25-2007, 03:49 AM   #4
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
don't you use samba to share files & directories? it's what samba is for, so there should be shares defined in smb.conf. if you run samba without configuring anything, your home directories and printers are shared by default. if you want to share some other directories, you need to manually add them to smb.conf, here's a portion of smb.conf

Quote:
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
you should google for a 'samba howto' and read it IMO.
 
Old 04-09-2007, 03:15 PM   #5
makix
LQ Newbie
 
Registered: Apr 2005
Distribution: fedora
Posts: 16

Rep: Reputation: 0
Hi i have just made a flash tutorial which aims to to show you how to configure your samba and windows shares.
You can watch it from http://arilaripi.org/index.php?optio...ileinfo&id=318

i hope it will be useful for beginners

Last edited by makix; 04-09-2007 at 03:16 PM.
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
[SAMBA] Problems acessing samba share JoaoMorgado Linux - Software 1 02-06-2006 07:35 AM
Samba problems zfletcher Linux - Software 2 06-07-2005 09:44 AM
samba problems bob_man_uk Linux - Software 2 01-19-2005 06:29 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 07:19 PM


All times are GMT -5. The time now is 11:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration