Jelmer Vernooij
4d9a929f8d
s4: Remove stub endpoint mapper script.
2009-07-03 00:59:30 +02:00
Andrew Tridgell
0fcd465340
show attribute values in sorted order to make comparison easier
2009-07-02 23:18:41 +10:00
Jelmer Vernooij
8b82e3b1e3
Make fullschema script executable.
2009-06-17 20:52:43 +02:00
Nadezhda Ivanova
e9caf7d063
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.
2009-06-11 18:54:32 +10:00
Andrew Bartlett
37f130fd89
s4:fullschema Use server-side sort to make the output deterministic
2009-03-20 16:47:34 +11:00
Andrew Bartlett
f696bb81f8
s4: Remove autogenerated attributes from minschema and fullschema output
...
These attributes will be generated by Samba on import, and do not need
to be in the schema file.
Andrew Bartlett
2009-03-20 16:28:42 +11:00
Andrew Bartlett
653dd024a6
Add minschema like tool to extract and dump the full schema from AD
2009-03-20 16:28:41 +11:00
Andrew Bartlett
5bfed623f5
s4:minschma Fix aggregate schema generation in minschema
...
The conversion from EJS to python I did with Jelmer this morning was
not quite complete, due mostly to the difference between print in EJS
and python (python implies a newline).
Andrew Bartlett
2009-03-20 16:28:41 +11:00
Jelmer Vernooij
ec9aeeab00
Fix up minschema after the conversion from JavaScript.
...
Pair programmed over the phone with Andrew :-)
2009-03-20 01:29:31 +01:00
Jelmer Vernooij
264277b555
Remove use of global_loadparm in last Python script.
2008-10-24 15:45:13 +02:00
Jelmer Vernooij
f8a02a1a80
Fix subunit files location after cherrypicks.
2008-10-08 03:33:38 +02:00
Jelmer Vernooij
f9facb5120
Move all subunit files to lib directory.
2008-10-08 02:22:39 +02:00
Jelmer Vernooij
68837ff597
Fix syntax errors in minschema.
2008-10-08 02:20:14 +02:00
Jelmer Vernooij
a48f19b6c2
Remove python extension, simplify some code.
2008-09-18 21:32:30 +02:00
Jelmer Vernooij
fc23663f4b
Revert "Add option for generating coverage data from python tests."
...
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef.
(This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
2008-09-12 21:28:48 +02:00
Jelmer Vernooij
faf83916ee
Add option for generating coverage data from python tests.
...
(This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)
2008-09-09 15:55:10 +02:00
Jelmer Vernooij
ee505f36dd
Be more pythonic.
...
(This used to be commit 20d40e31942f96ca9d077e57c6dd4c1d38f79b4b)
2008-07-30 13:29:29 +02:00
Stefan Metzmacher
934cfb9880
mamachinepw: add better error handling
...
metze
(This used to be commit 7ac424137f62ceacf44e477f4e3805267013005b)
2008-07-26 20:45:47 +02:00
Volker Lendecke
998b0fef11
Add "mymachinepw" to fetch our machine password out of secrets.ldb
...
(This used to be commit 4fbe16deb0e06e145f643568a699b80b431d4f42)
2008-07-26 20:45:47 +02:00
Jelmer Vernooij
57f6663f3a
Remove obsolete ejs winreg example.
...
(This used to be commit f1a2d2bc00dac56080b2bd560074ec66d12a3129)
2008-05-26 05:15:11 +02:00
Jelmer Vernooij
976eca077d
Move some scripts to examples directory since they're not really generically useful.
...
(This used to be commit 4026493e91f8096e5d602cd42f9a83d2d75042db)
2008-05-26 05:15:07 +02:00
Jelmer Vernooij
575f124385
Cope with no server being active.
...
(This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
2008-05-26 05:12:31 +02:00
Jelmer Vernooij
4b3641695b
Finish smbstatus in Python.
...
(This used to be commit 988508c2d3269cc88ed38df2fc207a1c0aaccc6b)
2008-05-26 05:00:45 +02:00
Jelmer Vernooij
d5434f0b4b
Allow using IRPC functions on the messaging bus from Python.
...
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
2008-05-26 04:14:28 +02:00
Jelmer Vernooij
c17166fb3d
Convert smbstatus to Python.
...
(This used to be commit f14ad6cd92227c7ed5c570b581e5db82b7d42e25)
2008-05-26 02:04:00 +02:00
Jelmer Vernooij
a2446e5f85
Add initial work for script that uses probing to figure out IDL.
...
(This used to be commit 4e5687e813e50d0bc8d6314e389d1d7a0be2f8c1)
2008-05-25 02:32:21 +02:00
Jelmer Vernooij
5eed56d0ad
Fix bugs in samr python tests.
...
(This used to be commit 09c6b106ac144820b8c072bda4dad3d8e2145ff0)
2008-05-23 15:10:35 +02:00
Jelmer Vernooij
27005cb7a2
Convert samr test to python.
...
(This used to be commit 88d473b202e82b462ef82ffdeb4f1710918ffda5)
2008-05-23 04:20:45 +02:00
Jelmer Vernooij
7cfcec2e9d
Fix imports for minschema.
...
(This used to be commit bda223a49e6bdeda68518cba27bc92df33784939)
2008-05-23 02:44:42 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
47d2218922
Set sys.path for running inside source tree.
...
(This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)
2008-05-11 05:45:49 +02:00
Jelmer Vernooij
babdcc6135
Use system python rather than smbpython.
...
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
2008-04-14 19:13:41 +02:00
Andrew Kroeger
8f8c56bfbc
Convert some more files to GPLv3.
...
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-03-28 01:08:49 -05:00
Jelmer Vernooij
04aef38453
Fix subunit runner exit codes.
...
(This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
2008-02-12 22:10:25 +01:00
Jelmer Vernooij
fdd75e135a
Correctly increment counters in Subunit test runner.
...
(This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
2008-02-12 21:59:23 +01:00
Jelmer Vernooij
cac225ba7d
More syntax fixes, use more standard python functions.
...
(This used to be commit ea07509b4a9335a3b3fe6f6da1124fd1aab33c96)
2008-02-10 00:56:55 +01:00
Jelmer Vernooij
f75d624129
Start working on python conversion of minschema.
...
(This used to be commit 239a1616644321e2d1e64985ea3f3c4971997228)
2008-02-10 00:21:41 +01:00
Jelmer Vernooij
decdf5954d
python: Add convenience function for getting command line loadparm context
...
and default to using system smb.conf.
(This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
d869de531c
python: Enable building of the wkssvc python bindings.
...
(This used to be commit 7a00d48a478be84e9f38c5e6cb57739063d0d613)
2008-01-14 20:14:53 +01:00
Jelmer Vernooij
2ebe80c27c
python: Convert winreg.py completely to rpc, use new RPC Python bindings.
...
(This used to be commit 9c21773737ea941b623105352b4625dcb8437706)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
c4d3666ac2
r26607: Fix reading of values and subkeys in Samba 3 registry files.
...
(This used to be commit e3d7454ef70d6fe9a1ce34eaf57268bd5b713ccf)
2007-12-26 15:03:02 -06:00
Jelmer Vernooij
43a03b0fb4
r26598: Simplify the way Python tests are run.
...
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
7c146c42d2
r26593: - More work on the python versions of samba3dump and the samba3sam tests.
...
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
(This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
cc30cb5e24
r26592: Finish fixing the samba3dump script.
...
(This used to be commit 85679f3fc98238f90280f9f10d42550d71eeb918)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
3c22677a8c
r26591: Get the first bits of samba3dump to work again.
...
(This used to be commit 3511027515f8ea860fbe46639d9169999646a297)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
aa0a06f13c
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
...
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
26ae331f75
r26191: Import custom test runner for subunit, rather than using trial, which is part of twisted.
...
(This used to be commit b0f808345f948c49ad46f34ba306ca8354393850)
2007-12-21 05:46:43 +01:00
Jelmer Vernooij
e5e2b64449
r26079: Some cleanups in the old SWIG wrappers: - remove old torture tests for LDB (replaced by a much more extensive test) - moved tool to bin directory
...
(This used to be commit d6d3b0ad7a789441c82cf30a640033a052921c37)
2007-12-21 05:45:56 +01:00