Default Setup with Webmin Config #incomplete

sudo su

echo “deb http://download.webmin.com/download/repository sarge contrib” | sudo tee -a /etc/apt/sources.list

cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

apt-get update
apt-get install openssh-server ntfs-3g hfsplus hfsutils samba samba-common-bin webmin winbind -y
ufw allow 22

net rpc join -UAdministrator%”

# Samba Config
#

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

[global]
os level = 20
panic action = /usr/share/samba/panic-action %d
log file = /var/log/samba/log.%m
server string = %h server (Samba, Ubuntu)
realm = DOMAIN.COM
dns proxy = no
max log size = 1000
obey pam restrictions = yes
server role = standalone server
passdb backend = tdbsam
pam password change = yes
winbind use default domain = yes
syslog = 0
usershare allow guests = yes
workgroup = DOMAIN
unix password sync = yes
winbind trusted domains only = yes
map to guest = bad user
security = domain
passwd program = /usr/bin/passwd %u

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

# profile directory may be created the first time they log on
[profiles]
   comment = Users profiles
   path = /home/samba/profiles
   guest ok = no
   browseable = no
   create mask = 0600
   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable

[root]
writeable = yes
valid users = ryan
path = /

Leave a Reply

Your email address will not be published. Required fields are marked *