All pastes #795477 Raw Edit

what?!?

public text v1 · immutable
#795477 ·published 2007-11-24 04:12 UTC
rendered paste body
[global]
  workgroup = rlwhome
  server string = SERVER
  netbios name = isotope
  security = user
  username map = /etc/samba/users.map
  hosts allow = 10.0.1. 10.0.2. 127.
  wins support = yes

  add user script = /usr/sbin/useradd -m %u
  delete user script = /usr/sbin/userdel -r %u
  add group script = /usr/sbin/groupadd %g
  delete group script = /usr/sbin/groupdel %g
  add user to group script = /usr/sbin/groupmod -A %u %g
  delete user from group script = /usr/sbin/groupmod -R %u %g

;  load printers = yes

  guest account = nobody
  log file = /var/log/samba.%m
  max log size = 50
  passdb backend = tdbsam

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
#   SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   interfaces = 10.0.1. 10.0.2. 127.

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
   local master = yes

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes 

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
   preferred master = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
;   dns proxy = yes 

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

[otherfiles]
    path = /home/macavity
    browseable = yes
    public = no
    writable = yes
    printable = no
    create mask = 0660
    directory mask = 0770
    force create mode = 0660
    force directory mode = 0770
    inherit permissions = yes
    valid users = macavity
;    force group = otherfiles

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No