LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-11-2004, 10:55 AM   #1
Celettu
Member
 
Registered: Jan 2004
Distribution: VectorLinux 5.0 SOHO
Posts: 90

Rep: Reputation: 15
*throttles Samba*


Got linux as I want it to have...except the network. You can quote me on this...Samba is a shitty piece of software. I mean, WHEN is somebody going to develop a decent GUI for that? Messing around in the conf files without knowing very well what you're doing ALWAYS makes things worse, the howto's and the mans are simply incomprehensible...and nothing, nothing anyone ever suggested to me ever worked. Ever.

Sorry, but windows has it right when it comes to easy amateur home networks: fill in hostname here, workgroup name there, rightclick everything you want to share, and that's it, you're done.

Bleh. In an attempt to provide printer sharing I went from a situation where in the network browser both PCs (SuSe and WIn2K) showed up, to one where only the WInbox showed up, to one where the workgroup is gone.

Give me something to rightclick, dammit!

San
 
Old 07-11-2004, 02:14 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
Sorry, but windows has it right when it comes to easy amateur home networks: fill in hostname here, workgroup name there, rightclick everything you want to share, and that's it, you're done.
Have you read the free online book Using Samba, 2nd Edition
http://www.oreilly.com/openbook/

Here is a sample smb.conf
Code:
#======================= Global Settings =====================================
[global]
   workgroup = TUX-NET

   os level = 34
   local master = Yes
   preferred master = Yes
   wins support = Yes
   dns proxy = No

   unix extensions = Yes
   encrypt passwords = Yes
   map to guest = Bad User

# Printing
   printing = CUPS
   printcap name = CUPS
   load printers = yes

# Logging
   log file = /var/log/samba/%m.log
   max log size = 1000

#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   valid users = %S
   browseable = No
   read only = No
   create mask = 0640
   directory mask = 0750

[printers]
   comment = All Printers
   path = /var/tmp
   printable = Yes
   create mask = 0600
   browseable = Yes
   guest ok = Yes
Assuming you configured the printers correctly, you are using CUPS and you have created Linux and Samba users.


Now for the counter-rant:
Believe me, there is alot more you can do with Samba than you can with windows.
And as for the where the workgroup is gone, yes Samba can take over the network (WINS) and block all windows PC from seing everything else.
It is actually quite fun to do on an all windows network. hehe

I too was once like you, but the more I learn about Linux, the more I came to accepted that the plain text (no GUI) configuration files was a much better concept.
Yet to this day, there are some parts I still prefer a GUI, but configuration files are a must ... To Hell with the rightclick.
 
Old 07-11-2004, 02:33 PM   #3
Celettu
Member
 
Registered: Jan 2004
Distribution: VectorLinux 5.0 SOHO
Posts: 90

Original Poster
Rep: Reputation: 15
I read the book, and things start going wrong in chapter 2 "Testing the samba daemons".

After manually starting them I try

smbclient -U% -L localhost

and I get

Error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed

Looking in swat, I see that smbd and nmbd aren't started at all. Can't get them to either.

San
 
Old 07-12-2004, 11:19 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
By manually, you mean you used these commands
Code:
/etc/init.d/nmb restart
/etc/init.d/smb restart
There may be an error in the configuration file. As root, type: testparm
This will analyse the smb.conf file and dump the full configuration.
 
  


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 01:33 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration