Usefull Samba 4 scripts, tested on Debian Jessie and/or Debian Stretch.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
backup-script updated README, cleanup,fix typo. Jan 3, 2018



Here you can find some scripts I daily use with samba 4 (AD-DC)

All my scripts are made and tested on Debian Jessie and Stretch servers. Questions about the scripts, mail the samba mailing list, i'll answer them. If you have improvements, well add them thats why ive added them on github.

A small recap of these scripts.

backup-script/backup_samba4: A modified version of the original samba_backup script. : shows the configured SePrivileges and its groups set, no modifications are done. check and set the ACL for sysvol and tells you what to check. simpel tool to show domain info. Works now for AD Member and AD DC. (Work in progress), Goal, check you system for the correct and needed setttings to install samba. the script i used to setup my domain members on my jessie server. Debian stretch is different. This script create hostnames between an asked range with A and PTR records. This script collects some debugging info to a file.
Please note, this script is tested only on debian, it will not work correctly yet for other OS and/or source installations. ONLY tested on AD-DC setups, not yet for member servers.