1
0
mirror of https://github.com/samba-team/samba.git synced 2025-04-29 14:50:26 +03:00

150 Commits

Author SHA1 Message Date
Jelmer Vernooij
4932e4bb7a Fix upgrade after provision parameter rename.
(This used to be commit 361b9f43fb2abb64f2cbae7740b89a616a3c2646)
2008-02-09 03:59:45 +01:00
Jelmer Vernooij
bd0bfe6833 Fix provision python test.
(This used to be commit b173fa6bd2b24b5a3e7b4fbcb926f6c9771c10ba)
2008-02-09 03:09:56 +01:00
Jelmer Vernooij
2aac2a5df8 Add tests for findnss(), add some docstrings.
(This used to be commit 4eec2bbc9a139e927ce21c615ebfbb3026b26384)
2008-02-09 02:10:49 +01:00
Jelmer Vernooij
c1d8ac0ab1 Remove unused class members.
(This used to be commit 373ef4287f998b79bf9ba6364d6a67e5c522833d)
2008-02-09 01:42:38 +01:00
Jelmer Vernooij
f47093baf0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit e367df5d994181f08ad1a20a0ce01991ca30bcc8)
2008-02-08 14:02:22 +01:00
Andrew Bartlett
c1c09e584e LDAP now works with the python provision!
Andrew Bartlett
(This used to be commit 8f0a89ca19d6a3986dacd981fab1ebbc8b1a4ad0)
2008-02-08 17:12:25 +11:00
Andrew Bartlett
26897518ea Fix LDAP backend with python
We were still setting the hard-coded users.ldb etc, rather than
switching to the ldapi:// URI

Andrew Bartlett
(This used to be commit 603e981250b26b533ec35dd607cb635226cf99df)
2008-02-08 17:11:26 +11:00
Jelmer Vernooij
fffe4f3bdd Fix formatting.
(This used to be commit 73d1b0fcb64fdc7be1e1e1002f3f182fcbe476ae)
2008-02-08 03:03:44 +01:00
Jelmer Vernooij
61379d97cd python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).
(This used to be commit 421bdd203eab09e560f4919715fa4cc4497e406f)
2008-01-29 14:27:27 +01:00
Jelmer Vernooij
bcad73a7f7 Partially revert d64a2288a2cb3a8f74a18b740b265a460773635d and 351c2e99ab8b6a91f7355077b2d2944fd820839c to see if that fixes the build.
(This used to be commit 2a79cebfd99f4048214be65a6c918cc988dc83ed)
2008-01-29 13:10:43 +01:00
Jelmer Vernooij
cab677a33f python: Use relative paths for registry.
(This used to be commit 079200b824de6dd8c7de3e5b76ed1805fde02965)
2008-01-26 04:22:42 +01:00
Jelmer Vernooij
172e00d8a1 python: Load smb.conf file for the provision tests.
(This used to be commit 41571bbb933c763a9608f4ba56f1a5a97af133ab)
2008-01-26 02:55:03 +01:00
Stefan Metzmacher
e41a632902 configure: define HAVE_WORKING_PYTHON
metze
(This used to be commit 351c2e99ab8b6a91f7355077b2d2944fd820839c)
2008-01-25 15:46:54 +01:00
Jelmer Vernooij
21f5f4d440 python: Give precedence to Samba's syspath over the already set system one.
(This used to be commit f3ebaf0a0c0b881da28063c69bb6306f6aa1c774)
2008-01-25 12:16:13 +01:00
Jelmer Vernooij
1c5e713cce Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit 64babbec22f165e34799d36ff4b76806d9fead50)
2008-01-25 11:50:00 +01:00
Jelmer Vernooij
6c2d4f2806 python/provision: Reload secrets when necessary, fix unix names in mappings.
Pair programmed with Andrew.
(This used to be commit 04fe8c8aefae8da8966954d0654c37adf2d0361d)
2008-01-25 11:47:44 +01:00
Andrew Bartlett
1b18de131c Tidy up the last regresesions on the python smbscript, from my work
with Jelmer today.

The only remaining issue is that for the build farm, we will need to
manually specify the users and groups from the NSS_WRAPPPER, as python
isn't compiled with this.

Andrew Bartlett
(This used to be commit 5370484d25b8c7a5bde730d9be36ecbbb0aaf315)
2008-01-25 17:11:20 +11: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 dff54ff043563f93b86361039c46e662045f62cc)
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
c91791bbc4 python: Add test for secretsdb_become_dc
(This used to be commit 9173c678efb6f74dbec64298bcb00952feff2ed7)
2008-01-25 01:37:47 +01:00
Jelmer Vernooij
76eb7ddd75 python: fix tests for check_all_substituted.
(This used to be commit 859cffed9d3a62f9f7610d74472aa3c0d1979a35)
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 688adcbb635af87fcfedb869b7f1857a947fd2f9)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
8afcbdcfe7 python: Make SamDB.set_ntds_invocation_id take a string.
(This used to be commit 59bb26772f089cf4d8727c12230cfef8126762b1)
2008-01-25 00:51:09 +01:00
Jelmer Vernooij
d958f4b391 python: Add function to look for unsubsituted variables.
(This used to be commit e726ce5bc515ae8d10b472396e228cfd35737476)
2008-01-24 22:18:27 +01:00
Jelmer Vernooij
859b847a68 python: Add bindings for SamDB.set_invocation_id().
(This used to be commit c09efa7b778f9cb29032a6abfd914fcaae8df163)
2008-01-24 22:08:39 +01:00
Jelmer Vernooij
a2dcf7bd22 Python: add some docstrings.
(This used to be commit 1de69a772e1cc007220add1f51bffe83784c3344)
2008-01-24 01:06:19 +01:00
Jelmer Vernooij
4277181453 python: Support --no-pass.
(This used to be commit a90f3e8c420bec7fd7a39e0d5e2df6b32aedcdd5)
2008-01-24 01:05:57 +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
42a793107e python: Fix init functions.
(This used to be commit 4b057b9bffcef9ecc61fe016746f5ce6f17f6d06)
2008-01-21 03:54:43 +01:00
Andrew Bartlett
064eb82870 Remove --ldap-base from the python provision script
(This is a merge from the ejs script)

Andrew Bartlett
(This used to be commit d822dfa017b84895222ace8c44935fb872930548)
2008-01-18 13:25:01 +11:00
Jelmer Vernooij
ad5bb10f70 python: Build shared python modules for generic use.
(This used to be commit 502424955237ace5a276d4c91c62e95233ecd978)
2008-01-16 15:08:00 +01:00
Jelmer Vernooij
0c7f4c23b7 python: Update status.
(This used to be commit b4b12f00a7eb952024795ddc5ab3481fd4ba03fc)
2008-01-15 01:08:30 +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
506f643288 python: Compile in svcctl Python bindings.
(This used to be commit 567099b66d0369715f8e0a083a5ce160faaf4da2)
2008-01-14 20:08:04 +01:00
Jelmer Vernooij
2aa8cbca8b python: Work around the fact that there are two "security" modules now.
This well demonstrates the fact we need hierarchy.
(This used to be commit df7e3498824e27f8a6d61b8b6f52577eab248d2c)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
001b2435f0 python: Add simple test for samr python code.
(This used to be commit 0a039fabcba9510ab600b2e4becbf75a58d2134d)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
d28eb21a98 python: Compile security module, handle uint.
(This used to be commit dee64344fb13aaed38a550ebb4048d0fa526d5b6)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
860106b3f4 python: Move some convenience macros to a separate header rather than putting them in every generated py_* file.
(This used to be commit 712274b9bdf524da125cbbe6e4bb475b21b1da66)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
a896c8940c python: Enable python bindings for samr and lsa interfaces.
(This used to be commit 3dfcefd8ac640ef1539185f19f7414fbcea9e741)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
fa5397fbed python: Build epmapper module.
(This used to be commit 6cb78c7634de0f9ab327583844d7860d384356eb)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
035599fa65 python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
(This used to be commit 16fc69b843e92ae62b15caf927335cc117156499)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
7dd468ff2e python: Fix python code for winreg, add test.
(This used to be commit bd3e6c41c42738fcfcc5cef4e65f0e219d358260)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
e42322848b python: Start building winreg module.
(This used to be commit f1a9fad83cee7754304b3422aa273d5f64868e40)
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 25a0cd091bb24e579ceb34472d9c213aae157ba9)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
aca6bd5a2a python: Fix deallocation bug in pytalloc.
(This used to be commit b849b4a6c4c9b03a9704449a69f00a59fc0df9c5)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
3b16c532f2 pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
(This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
db4ee4cce5 python: Fix rpcecho tests.
(This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
d5903fd75e pidl/python: Fix compilation of py_echo.
(This used to be commit 5ee99ff31c80ece6861b2a0323d71170ef9346b9)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
bfab9862fc python: Allow wrapping pointers within talloc'ed memory that are not talloc contexts.
(This used to be commit 9c038a74113fb55ed5eb12a7d0ae4a46bad9050c)
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
f7a0ef04f0 pidl/python: Support repr() for python types.
(This used to be commit cf3664594d3540db20d32bc844f18e20abfa0d96)
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
252675a578 python: Add some utility functions for working with Python objects based on talloc pointers.
(This used to be commit 9366ddba92e192cd88e12eafba4a90af8c266f1c)
2008-01-14 19:53:04 +01:00