Simo Sorce
370f95acfc
Try to get a bit further with provisioning
...
(This used to be commit 649f6c0c10 )
2008-06-16 17:52:50 -04:00
Jelmer Vernooij
2772871146
Fix samdb python test.
...
(This used to be commit 0e3d488cc1 )
2008-05-30 14:15:40 +02:00
Andrew Bartlett
21377a7ea9
Fix the samba4.dcerpc.bare.python test.
...
The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.
Andrew Bartlett
(This used to be commit 2b5acb5e95 )
2008-05-30 15:26:10 +10:00
Andrew Bartlett
d579540085
Fix rpcecho test.
...
(This used to be commit df8399ba9d )
2008-05-30 15:09:59 +10:00
Andrew Bartlett
b9babfe4cc
Fix up provision and samdb tests.
...
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.
Andrew Bartlett
(This used to be commit 89fc39f7ed )
2008-05-30 14:26:47 +10:00
Jelmer Vernooij
6f7b2b6933
Fix samdb test and enable it.
...
(This used to be commit 6b202d3780 )
2008-05-29 17:38:12 +02:00
Jelmer Vernooij
e16f0e15b4
Update after changes to the provision API, make sure temp dir gets cleaned
...
up.
(This used to be commit 064e9ddb37 )
2008-05-29 17:31:16 +02:00
Jelmer Vernooij
90aeca8ebd
Check test directory is cleaned up by Python tests.
...
(This used to be commit c338269b4b )
2008-05-29 17:29:56 +02:00
Andrew Bartlett
b7c8e020a6
Print prefixMap in a human-readable format.
...
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.
Andrew Bartlett
(This used to be commit 24ae9a55ec )
2008-05-29 18:38:17 +10:00
Andrew Kroeger
815c0ef2ed
provision: Add missing string parameter token when assigning ldap_backend.
...
(This used to be commit 7d26145a7f )
2008-05-28 22:43:25 -05:00
Jelmer Vernooij
5df9e0576e
Fix missing colon.
...
(This used to be commit 6b1576f544 )
2008-05-25 14:41:54 +02:00
Jelmer Vernooij
74126bc6d0
Expose transfer and abstract syntax.
...
(This used to be commit a875e07a37 )
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
928ecbaebb
Add support for secondary contexts from Python.
...
(This used to be commit 16d1ad0505 )
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
21ce0ff006
Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
...
(This used to be commit e3178d522c )
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e
Add convenience functions for setting Python objects from errors.
...
(This used to be commit f1de723b89 )
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
05194ccdf8
Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
...
(This used to be commit 468d35827f )
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 c5d7d48b32 )
2008-05-24 18:57:15 +02:00
Jelmer Vernooij
73b789b6d2
Add docstrings to a couple more python modules.
...
(This used to be commit b4560c90e5 )
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
a203ee1ab1
Fix indentation, add docstring in provisioning script.
...
(This used to be commit 86a8a08549 )
2008-05-23 16:43:26 +02:00
Jelmer Vernooij
e3d000f3bf
Some more PEP improvements.
...
(This used to be commit 015ca850df )
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 d27de63365 )
2008-05-23 16:24:07 +02:00
Jelmer Vernooij
5eed56d0ad
Fix bugs in samr python tests.
...
(This used to be commit 09c6b106ac )
2008-05-23 15:10:35 +02:00
Jelmer Vernooij
6ccb9785e7
Add another test toe the python samr testsuite.
...
(This used to be commit 480884c696 )
2008-05-23 04:21:29 +02:00
Jelmer Vernooij
27005cb7a2
Convert samr test to python.
...
(This used to be commit 88d473b202 )
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 2155d76646 )
2008-05-23 03:20:37 +02:00
Jelmer Vernooij
c159d1221b
Add docstrings to samba3 and getopt modules.
...
(This used to be commit bdf1c039db )
2008-05-23 00:38:11 +02:00
Jelmer Vernooij
c401aa9357
Use restructuredText formatting for docstrings.
...
(This used to be commit 0cc58decd7 )
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 ebf130e9e5 )
2008-05-21 20:46:15 -05:00
Jelmer Vernooij
d8459e3e1c
Fix import in provision test.
...
(This used to be commit 96501be38d )
2008-05-22 03:09:40 +02:00
Jelmer Vernooij
d77745e692
Move DCE/RPC python bindings into samba package.
...
(This used to be commit 8dafd4ce40 )
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 937456c69d )
2008-05-22 01:50:38 +02:00
Jelmer Vernooij
059c012656
Fix dependencies and imports.
...
(This used to be commit 37ef86f8de )
2008-05-22 00:56:36 +02:00
Jelmer Vernooij
49706ab19b
Move more modules inside of the samba package.
...
(This used to be commit 9b39e99f48 )
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 0b7a6bfcba )
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 bcd5fc7dc9 )
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 60d458e319 )
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 0df2b3e0b5 )
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 19890c0d15 )
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 66327b8bd8 )
2008-04-15 16:56:15 +02:00
Andrew Bartlett
f8f4856ab7
Fix provision-backend script
...
Andrew Bartlett
(This used to be commit ee6e4f8da2 )
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 ca72187b3e )
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
1b5f32128d
Use RpcInterfaceTestCase everywhere.
...
(This used to be commit 799095b4e5 )
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 280339e3d1 )
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796e )
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 8be7d93735 )
2008-04-14 19:01:32 +02:00
Jelmer Vernooij
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f98144 )
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 8bd8bc1475 )
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 b51b8a2d84 )
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 10a8b7ea48 )
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 5bf1c89cf8 )
2008-04-11 11:11:42 +10:00