1
0
mirror of https://github.com/samba-team/samba.git synced 2025-04-30 18:53:31 +03:00

117 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
ecf52b2bc7 python: Avoid overwriting flags for already found version of Python.
(This used to be commit 9041e385fe666c16d9a5b9a030b54a856f17e5e5)
2008-01-13 14:59:16 +01:00
Jelmer Vernooij
6ef36c1f82 python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
(This used to be commit e179db6d0fcf093082f2ad441980a2bb77ac6b17)
2008-01-13 06:07:20 +01:00
Jelmer Vernooij
2c90e6fc7a python: Fix initialization of variable.
(This used to be commit 620ec696657558dbad2a6c7d4231deabcaeaaef1)
2008-01-13 04:23:09 +01:00
Jelmer Vernooij
c264fb4bde python: Try more possible flags.
The flags returned by python-config may be for gcc and may not work for other compilers.
(This used to be commit 1fbc3a9f47a33f785d935e39345021d9ca455bb9)
2008-01-13 04:17:04 +01:00
Jelmer Vernooij
53c33aa2b4 python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2.
(This used to be commit dec3f421be5d7fd4ead3b71f8b69921c41bad39a)
2008-01-13 03:32:44 +01:00
Jelmer Vernooij
378dff1365 python: Fix typo.
(This used to be commit d6b06fc03e37781f5f59b15cff8fe3ee8df63444)
2008-01-11 16:28:17 +01:00
Jelmer Vernooij
7c3e8c838f Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
(This used to be commit f056f624958af79204c972eba3f85e36e93daed7)
2008-01-11 16:13:46 +01:00
Jelmer Vernooij
63bbb92398 Python: Update STATUS.
(This used to be commit cbf3b74e5f5076d864b08c772f21b20751ea5163)
2008-01-11 04:07:14 +01:00
Jelmer Vernooij
5b8ffcca53 python: Update STATUS.
(This used to be commit bcd82a9ae3cb01b3d8ed0c36999f7a1c0bbab19a)
2008-01-10 17:53:56 +01:00
Jelmer Vernooij
ff1017b142 r26687: python: Update status after feedback from abartlett.
(This used to be commit f08192750eecdd8b0ffbed84a53abcae51afd2df)
2008-01-07 08:18:05 -06:00
Jelmer Vernooij
e652fc802a r26666: python: Prefer newer Python versions as they use const properly.
(This used to be commit aa2adf33275dc637022d9feee1531aa79aa08e25)
2008-01-05 08:06:04 -06:00
Jelmer Vernooij
1548d8d2be r26658: pidl: Register Python modules.
(This used to be commit f47044aacc8eb6df856524744ab87bee997bae6d)
2008-01-03 15:51:02 -06:00
Jelmer Vernooij
6ed5fc0919 r26656: python: Add file documentating the status of the Python migration.
(This used to be commit 5c86cc6648169bf52161a1ffdbf17a38b62c611f)
2008-01-03 15:27:01 -06:00
Jelmer Vernooij
5e03b92182 r26642: samba3sam.py: Remove more EJS-specific code.
(This used to be commit 7d14b657b3d59924b15f4f84bbd5745cd7f759ef)
2008-01-01 19:57:02 -06:00
Jelmer Vernooij
2bd4bf6a1b r26629: python: Improve documentation in various places.
(This used to be commit ee71a27bca66426d34cb1d686a83ac6a342329d3)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
6817c5d885 r26628: python: Add more documentation, simplify code in Samba3 module.
(This used to be commit 3c329ee73d9979236313c37e51750ec06b8dd69e)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
68b6982704 r26624: libnet/python: Use standard function for constructing context, allow overriding credentials.
(This used to be commit a5fb3caedefaf5387e3a384d060272f11a3b4b99)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
a61e25f174 r26622: python: Update license version, clarify copyright.
(This used to be commit 3ee62094074d74b6c69948730f2892f0a430f40b)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
77c825f08b r26618: Implement -W option support.
(This used to be commit e48026b17d682c01eb3343ef35f6e847b18fa297)
2007-12-28 09:42:01 -06:00
Jelmer Vernooij
8ad2a035e3 r26616: Support parsing of user data in SAmba 3 tdbsam.
(This used to be commit 2f33e0451d6699fed8bc9abfa2f331317502b358)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
094f364fe1 r26614: Fix options parsing for credentials in Python.
(This used to be commit 9ef3b7de6baadeb2240ef9d24c55be9dc4cccf1e)
2007-12-27 17:36:05 -06:00
Jelmer Vernooij
222262b54e r26608: More improvements to the upgrade code.
(This used to be commit 7ea06d91f602f770f55a1171174f11b922fed8e7)
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 e3d7454ef70d6fe9a1ce34eaf57268bd5b713ccf)
2007-12-26 15:03:02 -06:00
Jelmer Vernooij
aa79008d4b r26602: Revert my previous commit as it only works with GNU make.
(This used to be commit ecd2d96c3173e4d2f77a1ca50f26a16ac7a313b1)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
251a4e0780 r26600: Provide dir variable with current basedir in Makefile.
(This used to be commit b06d3e1a52d6b71a1e3e7a9e0ecf69f3b899ae18)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
7ff974a226 r26599: Attempt to also support provisioning using Python in the BECOME-DC test.
Not tested yet as the test it is part of has been disabled because it's broken.
(This used to be commit 6b1e25b702847cd6662b4aece35692b099707b74)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
327847b987 r26597: Attempt to provide alternative for hosts that don't have python-config.
(This used to be commit fa5d1923efe5c1dc7ef12757b41f8d8eafcb1288)
2007-12-26 11:57:08 -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 2227fb6df62240cae64d27a1920d878316f819fc)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
cea31e3216 r26595: Fix includes for hosts without gssapi as system header.
(This used to be commit 64203a6b7b98be59af192290b0106979c2b2f71a)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
e8bca8dd71 r26594: Add right paths to the Python sys.path setting so we don't have to set magic environment variables when running from the build directory.
(This used to be commit 2d2674ad79330f59210408fd03e859afc01f40f2)
2007-12-26 11:57:07 -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