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
Jelmer Vernooij
4bbb73894c
r12445: Fix header in manpage, make script executable
...
(This used to be commit 7ca00cd918760dccc51e56234126ead8535a22ef)
2007-10-10 13:47:40 -05:00
Stefan Metzmacher
d72e8aacaf
r12012: fix renaming smbsrv_trees -> smbsrv_tcons
...
metze
(This used to be commit e5654f9791a2786e45108216344b2daea3ad9d91)
2007-10-10 13:46:59 -05:00
Andrew Tridgell
783851099b
r11458: fixed our ejs smbscript interfaces to use arrays where appropriate. In
...
js arrays are a special type of object where the length property is
automatic, and cannot be modified manually. Our code was manually
setting length, which made it abort when someone passed in a real ejs
array. To fix this we need to create real arrays instead of objects,
and remove the code that manually sets the length
(This used to be commit ebdd1393fde44a0a35446d1a922d29a7c1769ba7)
2007-10-10 13:45:39 -05:00
Jelmer Vernooij
0549763600
r9735: More work on generating a valid Samba4 configuration using the
...
Samba3 data (both console and SWAT)
(This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
14ebeffc46
r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
...
a bit for explanation about js.
(This used to be commit 765a30a0493cbd150f53335c6648e8e56ef6dc23)
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
176da2a281
r9724: Rewrite samba3dump in JS. The summary works now, but the full output
...
is triggering some obscure EJS assert..
(This used to be commit 42605f4444998e3063ffd1bea17425ff825f6132)
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
d152839e29
r9722: Initial attempt at converting samba3dump to EJS..
...
(This used to be commit 7e3b94dfb9c421793dab7813b96ca63da4b33960)
2007-10-10 13:34:53 -05:00
Andrew Tridgell
10dcfca9f1
r9580: put the libinclude() after the GetOptions so the smb.conf is loaded to
...
get the libjs path
(This used to be commit ee0b693ffaf02e75d3d740c36fffb9ea75e54431)
2007-10-10 13:34:31 -05:00
Andrew Tridgell
4a37c7ebbe
r9568: updated the winreg js library for CreateKey, and add a --createkey
...
option to the winreg tool
(This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)
2007-10-10 13:34:29 -05:00
Andrew Tridgell
60eb9f87a0
r9497: - converted the winreg library to a more OO style of interface
...
- added a reg.typestring() method that returns a string representation of a type
(This used to be commit 47cf409cdf501fc3e2b0c65688a9ef1d702278a5)
2007-10-10 13:34:22 -05:00
Andrew Tridgell
fef7a81478
r9491: fixed up a few scripts that need to be updated for the new GetOptions syntax. Mimir, its
...
a good idea to use grep -r to find places that need fixing when you change the syntax of
a call :-)
(This used to be commit 1ead49f8e823a69dbd9cd3df3f5be04dc17e0d1f)
2007-10-10 13:34:21 -05:00
Rafal Szczesniak
55e746ad56
r9477: Convert popt options to an ejs object. Doesn't seem to break anything
...
except of popt help (-h) option (unexpected ?).
rafal
(This used to be commit 1990793b23d6198a85ce1bdf6ad43e12015db203)
2007-10-10 13:34:20 -05:00
Andrew Tridgell
80f75d4138
r9377: made winreg a user tool (I find it quite useful). I expect it to get the ability
...
to add/remove keys and values in the future.
add it to the standard tests, ensuring that we know if winreg
breaks. This is particularly important as winreg uses such unusual IDL
constructs
(This used to be commit e4ca36bda34cf5e6fecaef5fe60e5dd397ebee3c)
2007-10-10 13:33:30 -05:00
Andrew Tridgell
86d628a292
r8639: moved loadparm calls into an ejs object
...
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
0e7b9f84ce
r8589: - support --version option to smbstatus
...
- print samba version at startup
(This used to be commit eb3e4bbe7f4a8f48c9246275ad6ef21ed0b4d357)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
cb060f8bac
r8584: added --nbt option to smbstatus for nbt server statistics
...
(This used to be commit 26a676a4e3596d34aee391bf132f2525972c81df)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
ef948e53b7
r8583: nicer smbstatus output
...
(This used to be commit 0578bcdf7f8919509a78a5c64f94aa5de7e90416)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
a32fe0f293
r8577: added management calls to list current tree connects
...
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
340b3d7301
r8575: the beginnings of a smbstatus command
...
(This used to be commit 4ecaf72a31cde2722315a61cbe823d44f0c14586)
2007-10-10 13:29:40 -05:00