Jelmer Vernooij
05194ccdf8
Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
...
(This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
f76697ce89
Add convenience functions for packing/unpacking structs in python.
...
(This used to be commit c5d7d48b32bcebf8a0495cbd4556e30587fa589f)
2008-05-24 18:57:15 +02:00
Jelmer Vernooij
73b789b6d2
Add docstrings to a couple more python modules.
...
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
a203ee1ab1
Fix indentation, add docstring in provisioning script.
...
(This used to be commit 86a8a085496c292b390c0d6362e3e4d9980df83f)
2008-05-23 16:43:26 +02:00
Jelmer Vernooij
e3d000f3bf
Some more PEP improvements.
...
(This used to be commit 015ca850df9b4c8112b033130023909b1d0b78b7)
2008-05-23 16:29:08 +02:00
Jelmer Vernooij
cceac63aaa
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-wsgi
...
Conflicts:
source/scripting/python/samba/provision.py
(This used to be commit d27de633656f8a699222df77c4c58326890889a2)
2008-05-23 16:24:07 +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
6ccb9785e7
Add another test toe the python samr testsuite.
...
(This used to be commit 480884c696c676bb978e9197271b99cc03bb66e6)
2008-05-23 04:21:29 +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
166105b0b6
Fix bug after reprocessing swig files with newer version of SWIG.
...
(This used to be commit 2155d76646f4235c8857460f562a9cc4cafe3ab1)
2008-05-23 03:20:37 +02:00
Jelmer Vernooij
c159d1221b
Add docstrings to samba3 and getopt modules.
...
(This used to be commit bdf1c039db6c184a9f275a6e4bf3786570cc924a)
2008-05-23 00:38:11 +02:00
Jelmer Vernooij
c401aa9357
Use restructuredText formatting for docstrings.
...
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23 00:37:22 +02:00
Andrew Kroeger
bf3f3af926
provision: Generate krb5.conf template separate from named.conf template.
...
(This used to be commit ebf130e9e57b640129cf0d05dbd7d210b71ea371)
2008-05-21 20:46:15 -05:00
Jelmer Vernooij
d8459e3e1c
Fix import in provision test.
...
(This used to be commit 96501be38da947f02ad57217e0bc23f7a66d36f9)
2008-05-22 03:09:40 +02:00
Jelmer Vernooij
d77745e692
Move DCE/RPC python bindings into samba package.
...
(This used to be commit 8dafd4ce40b7348fd5f2b1f2f5d2106ef4cc0dd1)
2008-05-22 02:21:25 +02:00
Jelmer Vernooij
6e14d44d27
Make sure the default ldb modules dir gets initialized.
...
(This used to be commit 937456c69d23ece85bdb7415f52d722c2aa6b6b5)
2008-05-22 01:50:38 +02:00
Jelmer Vernooij
059c012656
Fix dependencies and imports.
...
(This used to be commit 37ef86f8de9039b8226b190254d842e92b5faad7)
2008-05-22 00:56:36 +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
Andrew Kroeger
25ea110c38
provision: Create instructions for enabling DNS GSS-TSIG updates.
...
Added code to the python provisioning to create the named.conf file that was
previously generated by the EJS provisioning.
Updated the named.conf template to provide the additional details necessary
to get things working.
(This used to be commit 0b7a6bfcba1b906dc4d461882b4c3fe3c91c44e0)
2008-05-18 01:54:57 -05:00
Jelmer Vernooij
251f6bd991
make sure to always use string version of uuid rather than object.
...
(This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)
2008-05-11 04:36:37 +02:00
Jelmer Vernooij
5319d9620b
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
...
(This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)
2008-05-11 03:31:26 +02:00
Andrew Bartlett
4d8f3f1902
Fix the expectations on the unixinfo test.
...
Andrew Bartlett
(This used to be commit 0df2b3e0b56007850cf83cfdcdb45ca29e162d34)
2008-04-17 12:03:49 +02:00
Andrew Bartlett
2ddd23a875
Re-add 'db' subdirectory for LDAP backend provision
...
Andrew Bartlett
(This used to be commit 19890c0d15adf4f099365f276a4bfdd3f4de52b6)
2008-04-15 17:10:47 +02:00
Andrew Bartlett
dfedfae1cd
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 66327b8bd8dbde140b93f000a81ba13e743f27b0)
2008-04-15 16:56:15 +02:00
Andrew Bartlett
f8f4856ab7
Fix provision-backend script
...
Andrew Bartlett
(This used to be commit ee6e4f8da229ddeca856a6db94236367aae06f63)
2008-04-15 15:52:52 +02:00
Jelmer Vernooij
fd52fe8616
Fix pointers when pushing strings to python during pidl generation.
...
(This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
1b5f32128d
Use RpcInterfaceTestCase everywhere.
...
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)
2008-04-14 23:28:14 +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
Jelmer Vernooij
c1d9167fbc
Also look in the environment for smb.conf path.
...
(This used to be commit 8be7d93735a357a3b73a1c4413d6fd9ec09b7555)
2008-04-14 19:01:32 +02:00
Jelmer Vernooij
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)
2008-04-14 18:30:07 +02:00
Andrew Bartlett
5a37b3fc5d
Fix newuser and setpassword scripts, and port to idmap.
...
The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database. Users without a
backing unix user will get an allocated uid by idmap later.
Andrew Bartlett
(This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)
2008-04-14 11:51:02 +02:00
Andrew Bartlett
e44f0e7b75
Don't reopen the sam.ldb again
...
Andrew Bartlett
(This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
2008-04-11 19:33:52 +10:00
Andrew Bartlett
393007315d
Far less cryptic traceback when you have an existing smb.conf
...
When the user has an existing smb.conf, but no [netlogon] or [sysvol]
share, the provision script would trigger a traceback. While we still
need to abort in this situation, we do so now with a useful error.
Andrew Bartlett
(This used to be commit 10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab)
2008-04-11 19:04:43 +10:00
Andrew Bartlett
ae977ef247
Fix merge errors on C provision interface after jelmer's good work.
...
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Conflicts:
source/torture/local/torture.c
(This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-11 11:11:42 +10:00
Jelmer Vernooij
ad8e3e4192
Add infrastructure for returning ProvisionResult in C provision code.
...
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
2008-04-10 05:23:17 +02:00
Andrew Bartlett
b202b6e7d4
Fix up provision to specify SERVERDN in more places.
...
Andrew Bartlett
(This used to be commit d01d542502f25d6c731204ecb3d33720a1706581)
2008-04-09 15:32:49 +10:00
Andrew Bartlett
9d2948f4bd
Don't fill in the secrets DB unless we make the entries.
...
Leave filling in (we still initialise it) the secrets DB for the join
or vampire code.
Andrew Bartlett
(This used to be commit c93208c13ce91b334eadf0ea02fa41354e761e97)
2008-04-09 14:57:57 +10:00
Jelmer Vernooij
ac10ac62c1
Add docstring, PEP8.
...
(This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)
2008-04-09 03:51:41 +02:00
Jelmer Vernooij
ad823b04da
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
...
(This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
2008-04-08 14:58:38 +02:00
Andrew Bartlett
0e59c73fe3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit c0416a0b73f06ef57db1b83a75433e36b93a9981)
2008-04-08 17:31:36 +10:00
Andrew Bartlett
b2805c50ee
Re-add support for the --ldap-backend-port option to provision-backend
...
This option allows Fedora DS multi-master replication to work. I've
tried to update the wiki and scripts to the largely consistant with
each other.
Andrew Bartlett
(This used to be commit 42393c830733b2cc99ebccdafe944fcf3d82734f)
2008-04-08 17:28:25 +10:00
Jelmer Vernooij
1f474f4a54
Add trivial test for unixinfo interface.
...
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
2008-04-08 03:29:12 +02:00
Jelmer Vernooij
7c7880695b
More PEP8 compliancy.
...
(This used to be commit d16b30d005933c9cc73f9196a3b77829d23687a0)
2008-04-06 00:40:01 +02:00
Jelmer Vernooij
3e97aa73c2
Simplify some code, fix style.
...
(This used to be commit 1c983e4e4dfb93387791c36dc96696c4fffcfeb7)
2008-04-05 16:32:28 +02:00
Jelmer Vernooij
14e443b868
Improve PEP8 (Python code style) compliancy a bit.
...
(This used to be commit c7d388a6e2153234fe67daf1af094fc346e1da61)
2008-04-05 16:13:42 +02:00
Andrew Bartlett
c764791100
Clean up provision and rootdse module to hard-code less stuff.
...
In particular, allow for the server DN to be in a different site
(possible outcome of a DRS replication).
Andrew Bartlett
(This used to be commit 9ee4e39fe178317f42fd9a0adceea24b55dfe0f1)
2008-04-04 12:25:19 +11:00
Kai Blin
c26387a473
provision: Remove backup group mapping
...
Some distros seem to neither have a backup nor a staff group.
(This used to be commit 21fcf7c419658b3ae296428ca7a4ccf2288c17fe)
2008-04-03 00:01:34 +02:00
Kai Blin
8ac91d9132
provision: Set up id mappings in the idmap db, only map Administrator.
...
(This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)
2008-04-02 23:07:53 +02:00
Andrew Bartlett
4ccb384327
Fix merge of my host GUID removal and the IPv6 addition to provision
...
Merge branch 'v4-0-ipv6' of git://git.id10ts.net/samba into 4-0-abartlet
Andrew Bartlett
(This used to be commit d3336684f084f984500dd0893dd01bcfc5be0ab1)
2008-04-02 12:03:03 +11:00