A script to compare the differences in nTSecurityDescriptor between 2 hosts
authorNadezhda Ivanova <nadezhda.ivanova@postpath.com>
Fri, 29 May 2009 11:45:24 +0000 (14:45 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Jun 2009 08:54:32 +0000 (18:54 +1000)
commite9caf7d06352b557ef1e2d41a2325f29a4a2506a
tree995c9345feb24c597a22f3530fa434a844219b72
parente5353ce95bbfeab79b6055b1acf07a04b0f3e22a
A script to compare the differences in nTSecurityDescriptor between 2 hosts

This script walks the schema, configuration and domain partitions of the locally
installed Ldb and a remote hosts and compares the descriptors disregarding the
difference in domain SID. The goal is to make sure a freshly provisioned Samba
has the correct descriptors so ACLs work correctly. It outputs the descriptors
in short SDDL, where the correct SIDs are to be replaced during provisioning.
Optionally it can be output as an LDIF file with the current local domain and
domain SIDs.
source4/scripting/bin/get-descriptors [new file with mode: 0755]