[Samba] FW: desperate help needed - Samba and security = share

L.P.H. van Belle belle at bazuin.nl
Wed Jan 28 01:24:56 MST 2015


If you need a quick fix for a share setup.. 

This is what i use at home, so you can make your users happy again. 
and now you can have te time to setup a nice samba4 AD DC  ;-) 



#======================= Global Settings =======================

[global]

   workgroup = PRIVATE
   server string = %h server
   dns proxy = yes
;   name resolve order = lmhosts host wins bcast

#### Networking ####
#   interfaces = 127.0.0.0/8 eth0
#   bind interfaces only = yes

#### Debugging/Accounting ####
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

####### Authentication #######
## stand alone everything open.
   security = user
   guest ok = yes
   map to guest = bad password
####
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\                                                                                                                               n *password\supdated\ssuccessfully* .
   pam password change = yes


########## Printing ##########
    #---- disable printing completely
    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes


#======================= Share Definitions =======================

[homes]
    comment = Home Directorie
    browseable = no
    read only = yes
    create mask = 0770
    directory mask = 0770
    valid users = %S

[downloads]
    path = /media/diverse/downloads
    read only = No
#    acl_xattr:ignore system acl = yes
    guest ok = yes
#    force user = xbmc



Greetz, 

Louis


>-----Oorspronkelijk bericht-----
>Van: gary.stainburn at ringways.co.uk 
>[mailto:samba-bounces at lists.samba.org] Namens Gary Stainburn
>Verzonden: dinsdag 27 januari 2015 18:08
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] FW: desperate help needed - Samba and 
>security = share
>
>On Tuesday 27 January 2015 16:45:51 Gaiseric Vandal wrote:
>> So how are the users logging into the computers now?    At 
>some point it
>> may just be worth the pain to switch to a domain model?
>
>We are still using workgroups and local users. The local user 
>is (usually) 
>user1. Every time the staff member changes I simply change the 
>display name 
>locally on the Windows client.
>
>Each PC connects to shares served by the old server using 
>simple mapped 
>network drives set up using the Windows GUI.  On a very small 
>number of 
>client PC's (3 or 4) I have connection problems and I get 
>round this by 
>having a BAT file with the required "net use" commands.
>
>Gary
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list