Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-16-2012, 09:03 PM   #1
ninja master
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Rep: Reputation: 31
samba is a MESS

(preface: 3.6.9 worked great... test machine, thus 4.0.0 was merged, and back to 3.6.9 resulted in major problems out of the blue... now moving on to testing 3.6.10 as a last resort with a few thoughts about the whole situation)

i have not come to ask for help on samba, as i have found that samba is a internal mess. instead of being a cute unixy type program that you can say "hey i got a share here" and have it share it instead has an ABSURD extensively long configuration script. im not writing this absurd flame because it doesnt work, this is because i had a good config script going, had it work, then installed samba 4, had problems with it asking for passwords *when i didnt want it to ask for passwords* and then being un able to revert back using the same exact script.

samba should have several scripts to configure its behaviors....

1 to deal with the server&shares names / netbios naming...
1 to deal with passwords (or the lack there of)
1 to deal with directory shares...
1 to deal with insecure drop box directory shares...
1 to deal with active directory
1 to deal with wins....
1 to deal with printers.....

and to top it off an ultra sexy gui to make samba easy as removing windows from a hard drive for good.

so if i the uninformed user roll up and want to share a file, i simply edit a comment to point where my share directory is.

or if i as a net admin need to shuffle files back and forth... and have the company advertisements locked down to a directory that cannot be deleted i can do so....

my samba config


# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
   workgroup = WORKGROUP
   netbios name = ME

# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the HOWTO Collection for details.
   security = share

# Unix users can map to different SMB User names
   username map = /etc/samba/smbusers

force user = samba
force group = samba

        comment = Guest access share
	public = yes
        path = /home/samba/broadcast
        browseable = yes
        read only = yes
        guest ok = yes

	path = /home/samba/dropbox
	public = yes
        browseable = yes
        read only = no
        guest ok = yes
i understand my samba config is an absurd mess.... i asked for no help and took WEEKS to construct it down to the point of an old quick and dirty windows 2k/xp unlocked share, and a locked down (your getting my media and your not going to delete it either) share.... as for printers we have 3 802.11 wifi printers and smb printing is a touch 1982....

please someone read this and re-order samba to make it so my configs turn out immaculate and make me master of the known universe as i am in 99% of my other linux dealings.

Last edited by ninja master; 12-16-2012 at 09:43 PM.
Old 12-28-2012, 03:39 PM   #2
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Samba is a "mess" without a Domain/AD.

And without a Domain/AD, IMHO, in many cases, there is no need for Samba. Just install WinSCP and move files to and fro from your Linux host.

Windows knows about IPP ... so if you must print through Windows, you might be able to set something up there. IMHO, you are better off putting the important stuff (files, printers, etc.) on Linux and then hitting those things from Windows. It's easier.

So.. can't answer for every "bad" Windows network out there... just my own suggestions. You may have to fight to make your situation work for you.

Windows is evil.... it's meant to NOT integrate with anything. Linux is the reverse. It's meant to talk to everything. Thus my recommendation to reverse the roles where possible. Windows is a horrible server. I don't care what version you are running. If you simply must do Windows, then do it the "Microsoft way" and deploy a Domain/AD, etc.

My two cents (I know I didn't "fix Samba" with my commentary)


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
Accessing a samba network from an XP laptop that I can't mess with much. dougnc Linux - Networking 9 01-11-2009 07:35 PM
I mess up leveex Slackware 1 12-11-2006 04:30 AM
Got a little mess here.... Mathius Linux - Newbie 6 11-02-2006 11:14 PM
Where Did I mess Up? xsithlordx Ubuntu 1 09-09-2006 10:15 PM
ok, what'd I mess up breed Linux - Networking 1 10-02-2001 01:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration