Skip to content


Repository files navigation



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.


If you like my work, support me a bit, even with 1 $ your helping me.
I dont ask for hunderds, a (few) buck(s) are a great gift also.

  • Donate via Paypal (my paypal email is louis at van-belle .nl)
  • Donate via Bitcoin: 3BMEXFUrncjVKByryNU1fcVLBLKE8i9TpX



Usefull Samba 4 scripts, tested on Debian Jessie and/or Debian Stretch.







No releases published


No packages published