logger.info('Loaded user extension from %s: %s'
% (gp_ext['DllName'], ext.__name__))
return (machine_exts, user_exts)
-
sys.exit(1)
print(read_ms_ldif(display_specifiers_file))
-
subcommands["sysvolreset"] = cmd_ntacl_sysvolreset()
subcommands["sysvolcheck"] = cmd_ntacl_sysvolcheck()
subcommands["getdosinfo"] = cmd_dosinfo_get()
-
subcommands["add"] = cmd_spn_add()
subcommands["list"] = cmd_spn_list()
subcommands["delete"] = cmd_spn_delete()
-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Tests for the DCE/RPC Python bindings."""
-
handle = self.conn.Connect2(None, security.SEC_FLAG_MAXIMUM_ALLOWED)
domains = toArray(*self.conn.EnumDomains(handle, 0, 4294967295))
self.conn.Close(handle)
-
'Failed to find test variable in gpext.conf')
parser.remove_section('test_section')
atomic_write_conf(lp, parser)
-
# and one with contents
self.assertEqual("Hello world",
str(lsa.String("Hello world")))
-
-
-
samdb = self.ldb
PasswordCommon.allow_password_changes(self, samdb)
-
self.assertCmdSuccess(result, out, err)
self.assertEquals(err, "", "Shouldn't be any error messages")
self.assertIn("dn: CN=Person,CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com", out)
-
-
if os.path.exists(path):
os.unlink(path)
super(UpdateSecretsTests, self).tearDown()
-
-
else:
conf.DEFINE('DEFAULT_DOS_CHARSET', "ASCII", quote=True)
conf.DEFINE('DEFAULT_UNIX_CHARSET', "UTF8", quote=True)
-
if __name__ == "__main__":
main()
-
-
# compare resulting schemaInfo
schi_after = self._getSchemaInfo()
self._checkSchemaInfo(schi_before, schi_after)
-
IEnumWbemClassObject_swigregister(IEnumWbemClassObject)
IEnumWbemClassObject_SmartNext = _wmi.IEnumWbemClassObject_SmartNext
-
-
# trigger replication from DC1 to DC2, for cleanup
self._net_drs_replicate(DC=self.dnsname_dc2, fromDC=self.dnsname_dc1, forced=True)
-
partial_attribute_set=self.get_partial_attribute_set())
self._test_repl_full(expected_error=[werror.WERR_DS_DRA_ACCESS_DENIED],
partial_attribute_set=self.get_partial_attribute_set())
-
-
# Check deleted on DC2
self._check_deleted(self.ldb_dc2, self.ou1)
self._check_deleted(self.ldb_dc2, self.ou2)
-
credentials=creds)
########################################################################################
-