1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

136 Commits

Author SHA1 Message Date
Jelmer Vernooij
1f474f4a54 Add trivial test for unixinfo interface.
(This used to be commit b6b7171f70)
2008-04-08 03:29:12 +02:00
Andrew Bartlett
142fbfb3c1 Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
(This used to be commit 727ef40c2b)
2008-03-28 21:57:15 +11:00
Jelmer Vernooij
08e3f99f14 Initial work on a test for samba.tests.samdb
(This used to be commit 8b33860954)
2008-02-13 02:18:45 +01:00
Jelmer Vernooij
af007e5837 Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
(This used to be commit eb04de69c0)
2008-02-11 13:20:24 +01:00
Jelmer Vernooij
2cf29aebff Add tests for upgrade of WINS database.
(This used to be commit 7777611c0f)
2008-02-09 22:29:42 +01:00
Jelmer Vernooij
cf287aa831 Add docstring.
(This used to be commit 073ed0dd1c)
2008-02-09 17:42:31 +01:00
Jelmer Vernooij
2aac2a5df8 Add tests for findnss(), add some docstrings.
(This used to be commit 4eec2bbc9a)
2008-02-09 02:10:49 +01:00
Jelmer Vernooij
172e00d8a1 python: Load smb.conf file for the provision tests.
(This used to be commit 41571bbb93)
2008-01-26 02:55:03 +01:00
Jelmer Vernooij
dcb04065cd python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043)
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
c91791bbc4 python: Add test for secretsdb_become_dc
(This used to be commit 9173c678ef)
2008-01-25 01:37:47 +01:00
Jelmer Vernooij
76eb7ddd75 python: fix tests for check_all_substituted.
(This used to be commit 859cffed9d)
2008-01-25 01:30:43 +01:00
Jelmer Vernooij
37f35d2a03 python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
Pair-programmed by Andrew and me using obby :-)
(This used to be commit 688adcbb63)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
d958f4b391 python: Add function to look for unsubsituted variables.
(This used to be commit e726ce5bc5)
2008-01-24 22:18:27 +01:00
Jelmer Vernooij
001b2435f0 python: Add simple test for samr python code.
(This used to be commit 0a039fabcb)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
035599fa65 python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
(This used to be commit 16fc69b843)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
7dd468ff2e python: Fix python code for winreg, add test.
(This used to be commit bd3e6c41c4)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
271f5f18f2 python: Fix last bugs in rpcecho test. It passes now!
(This used to be commit 25a0cd091b)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
3b16c532f2 pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
(This used to be commit 4c87af9531)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
db4ee4cce5 python: Fix rpcecho tests.
(This used to be commit ebb78ea423)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
6817c5d885 r26628: python: Add more documentation, simplify code in Samba3 module.
(This used to be commit 3c329ee73d)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
8ad2a035e3 r26616: Support parsing of user data in SAmba 3 tdbsam.
(This used to be commit 2f33e0451d)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
222262b54e r26608: More improvements to the upgrade code.
(This used to be commit 7ea06d91f6)
2007-12-26 21:18:02 -06:00
Jelmer Vernooij
c4d3666ac2 r26607: Fix reading of values and subkeys in Samba 3 registry files.
(This used to be commit e3d7454ef7)
2007-12-26 15:03:02 -06:00
Jelmer Vernooij
533cc583ed r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df6)
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 150cf39fbd)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
8ada900ee6 r26590: Parsing routines for the smbpasswd file and idmap database.
(This used to be commit 0c14e16a2b)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
95b1f554b2 r26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.
(This used to be commit c7c4cf258a)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
59efa6e5d0 r26585: Fix samba3.python tests.
(This used to be commit 231ec0777b)
2007-12-26 11:57:04 -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 c550c03372)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
c2fffa8335 r26538: Pass path generation function around rather than base directory.
(This used to be commit 5f921af41e)
2007-12-21 05:51:59 +01:00
Jelmer Vernooij
86f91db7d5 r26536: More tests for provisioning code.
(This used to be commit 43c8bfeedf)
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
4e6ab64762 r26527: Start on tests for provision.
(This used to be commit 84ac6c6bbf)
2007-12-21 05:51:50 +01:00
Jelmer Vernooij
323c174be3 r26506: Start running (really trivial) tests for upgrade script.
(This used to be commit 73bd4a9566)
2007-12-21 05:51:12 +01:00
Jelmer Vernooij
32f439bfa4 r26503: Change order of arguments in param interface so it's easier to make the
section name optional. Fix several smaller bits and pieces in the Python code.
(This used to be commit 1b89311e5f)
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
07beaf09c9 r26480: Add utility class for testing LDB code.
(This used to be commit d7f0b12c9e)
2007-12-21 05:50:37 +01:00
Jelmer Vernooij
b414ac5052 r26369: Start on tests for the upgrade python code.
(This used to be commit c4458d11c7)
2007-12-21 05:49:06 +01:00