samba.git
13 years agoRemove --ldap-base from the python provision script
Andrew Bartlett [Fri, 18 Jan 2008 02:25:01 +0000 (13:25 +1100)]
Remove --ldap-base from the python provision script

(This is a merge from the ejs script)

Andrew Bartlett
(This used to be commit d822dfa017b84895222ace8c44935fb872930548)

13 years agoCorrect authorship of instanceType module
Andrew Bartlett [Fri, 18 Jan 2008 01:16:27 +0000 (12:16 +1100)]
Correct authorship of instanceType module

Andrew Bartlett
(This used to be commit d427cf4fa67e84ccdece9a3fb31d8e89379a86e7)

13 years agoAdd in a new module to handle instanceType
Andrew Bartlett [Thu, 17 Jan 2008 23:13:43 +0000 (10:13 +1100)]
Add in a new module to handle instanceType

This code raided from the repl_meta_data module, which probably needs
to be downsized to just handling the replication data.

Andrew Bartlett
(This used to be commit 2a418f33705a792d9d16cf1d4aa3dcda467e6e04)

13 years agoFix an output message in samba3rpc torture test.
Michael Adam [Thu, 17 Jan 2008 08:24:01 +0000 (09:24 +0100)]
Fix an output message in samba3rpc torture test.

Michael
(This used to be commit bf957bcb835a2c7c903f60dfa8f9a7e41997c5af)

13 years agoprovision: simplfy by removing old code to manually create baseDNs.
Andrew Bartlett [Thu, 17 Jan 2008 01:00:27 +0000 (12:00 +1100)]
provision: simplfy by removing old code to manually create baseDNs.

Previously, we would create the first record in the DB as an LDIF
file, with the expectation that the administrator would use slapadd to
create the database.

We now do everything over LDAP, which is far simpler, and allows the
LDB module chain to do its work, without special cases.

Also fix naming of the output schema when suggesting the comamnd line
to run ad2oLschema in provision-backend.

Andrew Bartlett
(This used to be commit e77375758d66e94e5e0b6e61a97c9281c3d9c71f)

13 years agoOpenLDAP backend: Place the refint overlay after the memberof overlay
Andrew Bartlett [Wed, 16 Jan 2008 23:35:08 +0000 (10:35 +1100)]
OpenLDAP backend: Place the refint overlay after the memberof overlay

This still doesn't work for me, but is the recommended order.

Andrew Bartlett
(This used to be commit 4c869c54c2b8125fc88e58bbfddf1975476978a5)

13 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Wed, 16 Jan 2008 23:32:41 +0000 (10:32 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 11660b0737107138b53c3a08e8de30ee44607eae)

13 years agoldb_map objectClass munging: Don't hard-code 'extensibleObject'.
Andrew Bartlett [Wed, 16 Jan 2008 21:53:18 +0000 (08:53 +1100)]
ldb_map objectClass munging: Don't hard-code 'extensibleObject'.

This allows objectClass munging to be removed, or modified to not
include adding an objectClass, or for that objectClass to be something
different.

Andrew Bartlett
(This used to be commit ee93b4e2ee1dd1cd38bcf14b2bb62556a13cec4a)

13 years agoselftest: Use "require" rather than "use" keyword so .pm files don't have to be provi...
Jelmer Vernooij [Wed, 16 Jan 2008 20:30:58 +0000 (21:30 +0100)]
selftest: Use "require" rather than "use" keyword so .pm files don't have to be provided until used.
(This used to be commit 95872d7db8c9bb1914ab4c9860fd8b09e6695cc7)

13 years agopython: Don't attempt to build shared and static versions of modules, because it...
Jelmer Vernooij [Wed, 16 Jan 2008 16:50:29 +0000 (17:50 +0100)]
python: Don't attempt to build shared and static versions of modules, because it's just not going to work with the current build system.
(This used to be commit d9b4a5bb172be74db3c16b50426810f1bdedd00e)

13 years agoselftest: Add some more documentation. Rename env => target to avoid confusion.
Jelmer Vernooij [Wed, 16 Jan 2008 16:40:25 +0000 (17:40 +0100)]
selftest: Add some more documentation. Rename env => target to avoid confusion.
(This used to be commit 50b8a16d0cb5e1c4352e73900d1e98a812340cca)

13 years agoIgnore newly generated proto header.
Jelmer Vernooij [Wed, 16 Jan 2008 15:53:21 +0000 (16:53 +0100)]
Ignore newly generated proto header.
(This used to be commit caa0da310da47a48a9add6de3d309984ae14f59c)

13 years agoAdd lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.
Günther Deschner [Wed, 16 Jan 2008 15:01:50 +0000 (16:01 +0100)]
Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.

Guenther
(This used to be commit 1b5706e413f1c6aa1ede15a625929f785ce37272)

13 years agopidl: Add simple test for ServerNDR.
Jelmer Vernooij [Wed, 16 Jan 2008 14:07:00 +0000 (15:07 +0100)]
pidl: Add simple test for ServerNDR.
(This used to be commit 5b2ea43ed8613ac10ebe7feda0cf070c8079137a)

13 years agopidl: Fix missing import for fatal().
Jelmer Vernooij [Wed, 16 Jan 2008 14:06:46 +0000 (15:06 +0100)]
pidl: Fix missing import for fatal().
(This used to be commit 6a9827454aaf4279ee85dc5d99d10f14e4c09eae)

13 years agopidl: Fix imported function for ServerNDR and add test to make sure it doesn't regres...
Jelmer Vernooij [Wed, 16 Jan 2008 13:54:29 +0000 (14:54 +0100)]
pidl: Fix imported function for ServerNDR and add test to make sure it doesn't regress again.
(This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)

13 years agopython: Build shared python modules for generic use.
Jelmer Vernooij [Mon, 14 Jan 2008 22:04:57 +0000 (23:04 +0100)]
python: Build shared python modules for generic use.
(This used to be commit 502424955237ace5a276d4c91c62e95233ecd978)

13 years agoPrint out the reason we can't delete the user in SAMR.
Andrew Bartlett [Wed, 16 Jan 2008 04:48:28 +0000 (15:48 +1100)]
Print out the reason we can't delete the user in SAMR.

We need to be far more granular bout this - in particular, we need a
decide LDAP -> NTSTATUS conversion.

Andrew Bartlett
(This used to be commit 30fc3752c7573fcf8b1a41f7b3bc8dad860077f8)

13 years agoRework linked_attributes module for the REPLACE case.
Andrew Bartlett [Wed, 16 Jan 2008 04:14:05 +0000 (15:14 +1100)]
Rework linked_attributes module for the REPLACE case.

This moves to a smarter 'find the delta' based operation of the linked
attributes module, when the caller asks for a 'replace' of the link
source.  Previously we would spray operations all over the database,
even if the net result was just to modify one record.

This also means we need the transaction safety less, which may be
useful for some LDAP backends that don't provide this functionality on
the LDAP server.

Andrew Bartlett
(This used to be commit 8c88e4eb1c0a606e7899091525260e8d6558ffd0)

13 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
Andrew Bartlett [Tue, 15 Jan 2008 22:26:24 +0000 (09:26 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit c4aba5ad01f5095ad7a9d0d0f1e3c6afedbbd9b7)

13 years agoStart generating a configuration for the refint overlay. This
Andrew Bartlett [Tue, 15 Jan 2008 22:26:14 +0000 (09:26 +1100)]
Start generating a configuration for the refint overlay.  This
OpenLDAP module should ensure that after a subtree rename, attributes
are still consistant.

Andrew Bartlett
(This used to be commit f7f765c29b1aca1179a47bdd8712917c3f244f15)

13 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Tue, 15 Jan 2008 22:00:04 +0000 (09:00 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit d8a805a2544c8864136f77e9086b2a01ae79a1d5)

13 years agoMake the Fedora DS LDAP backend 'aci' actually work, with better quoting.
Andrew Bartlett [Tue, 15 Jan 2008 21:59:13 +0000 (08:59 +1100)]
Make the Fedora DS LDAP backend 'aci' actually work, with better quoting.

Andrew Bartlett
(This used to be commit b0657e068148eb0e5f1d69d125faaa29acb8d379)

13 years agoTest the behaviour of mixed domain_scope and search_options controls.
Andrew Bartlett [Tue, 15 Jan 2008 21:58:07 +0000 (08:58 +1100)]
Test the behaviour of mixed domain_scope and search_options controls.

Andrew Bartlett
(This used to be commit 89053bc564f1d736da48fbe20e7f8f244b0c67fa)

13 years agoMake ldap.js test easier to re-run in failure cases, by deleting more
Andrew Bartlett [Tue, 15 Jan 2008 21:57:28 +0000 (08:57 +1100)]
Make ldap.js test easier to re-run in failure cases, by deleting more
things that we will create later.

Andrew Bartlett
(This used to be commit 9b47b551a3762590fefa5308310d91c6d8b378e5)

13 years agoRework control handling to remove the 'domain_scope' control
Andrew Bartlett [Tue, 15 Jan 2008 21:49:54 +0000 (08:49 +1100)]
Rework control handling to remove the 'domain_scope' control

Also remove the search_options control earlier, before, rather than
after duplicating the request.

When we generate referalls in the partition module, the domain_scope
control with suppress them.

Andrew Bartlett
(This used to be commit fc57a119f53a7bc0a0eb76b868bbd7386b3c5008)

13 years agoFix bug #5121 (unix passwd sync not working on a streams based
Jeremy Allison [Mon, 17 Dec 2007 18:44:09 +0000 (10:44 -0800)]
Fix bug #5121 (unix passwd sync not working on a streams based
system).
Jeremy.

(lib/replace part of 545cd2139cfc9484b733693814d4724d37125942 metze)
(This used to be commit 9cff25cce1d39460dbcab006a309bb2984969eed)

13 years agoAdd patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic...
Jeremy Allison [Tue, 11 Dec 2007 21:16:35 +0000 (13:16 -0800)]
Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM>
- slightly modified - Jiri please check !  to allow Solaris to get passwords > 8 chars.
Jeremy.

(lib/replace part of 657bf8c3479d6192f269e3daef1517e77a9fa9cb metze)
(This used to be commit 9f5c443972a09a70de7c8d6695b08c3730484c6c)

13 years agoFix bug 5055
Volker Lendecke [Mon, 26 Nov 2007 14:28:13 +0000 (15:28 +0100)]
Fix bug 5055

(lib/replace part of 8bcd2df841bae63e7d58c35d4728b7d853471697 metze)
(This used to be commit 8db9e196506f530c780d93e16da590566d16a407)

13 years agoAdd MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy Allison [Fri, 16 Nov 2007 02:27:26 +0000 (18:27 -0800)]
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.

(lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze)
(This used to be commit db4eabf7cde1008a40a46e5c40a99e9a73cf3ff5)

13 years agoAlways define PATH_MAX. Makes code simpler (removes
Jeremy Allison [Sun, 11 Nov 2007 06:31:34 +0000 (22:31 -0800)]
Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.

(lib/replace part from e203ba22275320808bc11b17361ad1f2d5b0b897 metze)
(This used to be commit ebc08d23f76ecffc90b1fe84c67fc7e6a4c4a6a3)

13 years agomerged tdb from ctdb bzr tree
Andrew Tridgell [Tue, 15 Jan 2008 03:05:47 +0000 (14:05 +1100)]
merged tdb from ctdb bzr tree
(This used to be commit ed0c3a0f74c305b3b8554b05c3f97cf79db8296a)

13 years agoFix asn1 locations.
Jelmer Vernooij [Tue, 15 Jan 2008 01:04:42 +0000 (02:04 +0100)]
Fix asn1 locations.
(This used to be commit 84dc6bc19c166e42c5eca2949e4ef5024c80f513)

13 years agoldap.py: Use constants where possible.
Jelmer Vernooij [Tue, 15 Jan 2008 01:04:20 +0000 (02:04 +0100)]
ldap.py: Use constants where possible.
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)

13 years agopython: Update status.
Jelmer Vernooij [Tue, 15 Jan 2008 00:08:30 +0000 (01:08 +0100)]
python: Update status.
(This used to be commit b4b12f00a7eb952024795ddc5ab3481fd4ba03fc)

13 years agoutil: Move asn1 to lib/util to trim down the number of subsystems.
Jelmer Vernooij [Tue, 15 Jan 2008 00:04:38 +0000 (01:04 +0100)]
util: Move asn1 to lib/util to trim down the number of subsystems.
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)

13 years agolibreplace: Escape asterisk.
Jelmer Vernooij [Mon, 14 Jan 2008 21:24:07 +0000 (22:24 +0100)]
libreplace: Escape asterisk.
(This used to be commit df36c78549b40ee5e47d5cc79de2eb79f58c567a)

13 years agopython: Enable building of the wkssvc python bindings.
Jelmer Vernooij [Mon, 14 Jan 2008 19:14:53 +0000 (20:14 +0100)]
python: Enable building of the wkssvc python bindings.
(This used to be commit 7a00d48a478be84e9f38c5e6cb57739063d0d613)

13 years agopython: Fix handling of pointer-less strings in function arguments.
Jelmer Vernooij [Mon, 14 Jan 2008 19:09:18 +0000 (20:09 +0100)]
python: Fix handling of pointer-less strings in function arguments.
(This used to be commit cb2700094fc1fc3887d5254e5d42e035deefa5b9)

13 years agopython: Compile in svcctl Python bindings.
Jelmer Vernooij [Mon, 14 Jan 2008 19:08:04 +0000 (20:08 +0100)]
python: Compile in svcctl Python bindings.
(This used to be commit 567099b66d0369715f8e0a083a5ce160faaf4da2)

13 years agopython: Convert winreg.py completely to rpc, use new RPC Python bindings.
Jelmer Vernooij [Mon, 14 Jan 2008 18:51:08 +0000 (19:51 +0100)]
python: Convert winreg.py completely to rpc, use new RPC Python bindings.
(This used to be commit 9c21773737ea941b623105352b4625dcb8437706)

13 years agopython: Work around the fact that there are two "security" modules now.
Jelmer Vernooij [Mon, 14 Jan 2008 18:49:52 +0000 (19:49 +0100)]
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)

13 years agopython: Add simple test for samr python code.
Jelmer Vernooij [Mon, 14 Jan 2008 18:05:08 +0000 (19:05 +0100)]
python: Add simple test for samr python code.
(This used to be commit 0a039fabcba9510ab600b2e4becbf75a58d2134d)

13 years agopython: Compile security module, handle uint.
Jelmer Vernooij [Mon, 14 Jan 2008 17:59:11 +0000 (18:59 +0100)]
python: Compile security module, handle uint.
(This used to be commit dee64344fb13aaed38a550ebb4048d0fa526d5b6)

13 years agopython: Fix some corner cases handling scalars.
Jelmer Vernooij [Mon, 14 Jan 2008 17:24:10 +0000 (18:24 +0100)]
python: Fix some corner cases handling scalars.
(This used to be commit b662c98a9ad461a33a27a918c0d544a96433e48c)

13 years agopython: Don't try to free const pointers.
Jelmer Vernooij [Mon, 14 Jan 2008 17:01:54 +0000 (18:01 +0100)]
python: Don't try to free const pointers.
(This used to be commit b4754f4683e67a940f18a88e45c0878259f45b97)

13 years agopython: Move some convenience macros to a separate header rather than putting them...
Jelmer Vernooij [Mon, 14 Jan 2008 15:49:19 +0000 (16:49 +0100)]
python: Move some convenience macros to a separate header rather than putting them in every generated py_* file.
(This used to be commit 712274b9bdf524da125cbbe6e4bb475b21b1da66)

13 years agopython: Enable python bindings for samr and lsa interfaces.
Jelmer Vernooij [Mon, 14 Jan 2008 15:48:27 +0000 (16:48 +0100)]
python: Enable python bindings for samr and lsa interfaces.
(This used to be commit 3dfcefd8ac640ef1539185f19f7414fbcea9e741)

13 years agopython: Build epmapper module.
Jelmer Vernooij [Mon, 14 Jan 2008 15:11:58 +0000 (16:11 +0100)]
python: Build epmapper module.
(This used to be commit 6cb78c7634de0f9ab327583844d7860d384356eb)

13 years agopython: Accept loadparm filename rather than loadparm object, too.
Jelmer Vernooij [Mon, 14 Jan 2008 15:11:36 +0000 (16:11 +0100)]
python: Accept loadparm filename rather than loadparm object, too.
(This used to be commit 7e583a7ec4196982bd13cb679d741f37ef7decdb)

13 years agopython: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
Jelmer Vernooij [Mon, 14 Jan 2008 14:25:09 +0000 (15:25 +0100)]
python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
(This used to be commit 16fc69b843e92ae62b15caf927335cc117156499)

13 years agopython: Fix python code for winreg, add test.
Jelmer Vernooij [Mon, 14 Jan 2008 13:48:59 +0000 (14:48 +0100)]
python: Fix python code for winreg, add test.
(This used to be commit bd3e6c41c42738fcfcc5cef4e65f0e219d358260)

13 years agopython: Start building winreg module.
Jelmer Vernooij [Mon, 14 Jan 2008 12:26:21 +0000 (13:26 +0100)]
python: Start building winreg module.
(This used to be commit f1a9fad83cee7754304b3422aa273d5f64868e40)

13 years agopidl/python: Fix processing UUID-less interfaces, external typedefs and certain bitma...
Jelmer Vernooij [Mon, 14 Jan 2008 12:26:01 +0000 (13:26 +0100)]
pidl/python: Fix processing UUID-less interfaces, external typedefs and certain bitmap elements.
(This used to be commit e65618fff3299193c27959e2cc5a3937837e1422)

13 years agopidl/python: Deal with arrays that are not pointers.
Jelmer Vernooij [Mon, 14 Jan 2008 05:23:13 +0000 (06:23 +0100)]
pidl/python: Deal with arrays that are not pointers.
(This used to be commit 7516af7c7262240df3b804dda962194a811d4e96)

13 years agopython: Fix last bugs in rpcecho test. It passes now!
Jelmer Vernooij [Mon, 14 Jan 2008 05:05:28 +0000 (06:05 +0100)]
python: Fix last bugs in rpcecho test. It passes now!
(This used to be commit 25a0cd091bb24e579ceb34472d9c213aae157ba9)

13 years agopidl/python: Specify memory context explicitly when returning Python objects.
Jelmer Vernooij [Mon, 14 Jan 2008 05:05:12 +0000 (06:05 +0100)]
pidl/python: Specify memory context explicitly when returning Python objects.
(This used to be commit 9c72f652e0d3f14d5db4d3930f0d1f9a1875e93f)

13 years agopython: Fix deallocation bug in pytalloc.
Jelmer Vernooij [Mon, 14 Jan 2008 05:03:33 +0000 (06:03 +0100)]
python: Fix deallocation bug in pytalloc.
(This used to be commit b849b4a6c4c9b03a9704449a69f00a59fc0df9c5)

13 years agopidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
Jelmer Vernooij [Mon, 14 Jan 2008 04:16:51 +0000 (05:16 +0100)]
pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
(This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)

13 years agoselftest: Ignore output generated by html formatter.
Jelmer Vernooij [Mon, 14 Jan 2008 03:00:13 +0000 (04:00 +0100)]
selftest: Ignore output generated by html formatter.
(This used to be commit 2f4170b3f7904072f87faa342302027759eb62bd)

13 years agopython: Fix rpcecho tests.
Jelmer Vernooij [Mon, 14 Jan 2008 02:59:36 +0000 (03:59 +0100)]
python: Fix rpcecho tests.
(This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)

13 years agopidl/python: Fix compilation of py_echo.
Jelmer Vernooij [Mon, 14 Jan 2008 01:48:50 +0000 (02:48 +0100)]
pidl/python: Fix compilation of py_echo.
(This used to be commit 5ee99ff31c80ece6861b2a0323d71170ef9346b9)

13 years agopython/pidl: Fix assignment.
Jelmer Vernooij [Mon, 14 Jan 2008 01:27:40 +0000 (02:27 +0100)]
python/pidl: Fix assignment.
(This used to be commit 2d2cb6486e6e1a31ae94223784e49fb4eea8bb26)

13 years agopidl/python: Fix more compile errors.
Jelmer Vernooij [Mon, 14 Jan 2008 01:04:06 +0000 (02:04 +0100)]
pidl/python: Fix more compile errors.
(This used to be commit 2eb4526599ec6d3c604dd9b1f258496c82288284)

13 years agopidl/python: Fix parsing arguments, fix more pointer issues.
Jelmer Vernooij [Mon, 14 Jan 2008 00:30:44 +0000 (01:30 +0100)]
pidl/python: Fix parsing arguments, fix more pointer issues.
(This used to be commit b00c1a072457e5083ffc24a8b74b3793d0b44eee)

13 years agopidl/python: Fix use of pointers.
Jelmer Vernooij [Sun, 13 Jan 2008 22:13:30 +0000 (23:13 +0100)]
pidl/python: Fix use of pointers.
(This used to be commit 13f2b0380f310b101975d709361a29d4032c3689)

13 years agopython: Add some more rpc/echo tests.
Jelmer Vernooij [Sun, 13 Jan 2008 20:42:42 +0000 (21:42 +0100)]
python: Add some more rpc/echo tests.
(This used to be commit b4840d1ae283a3853d041f3a9a848aec991e81a6)

13 years agopython: Add simple tests for the DCE/RPC echo interface.
Jelmer Vernooij [Sun, 13 Jan 2008 20:33:35 +0000 (21:33 +0100)]
python: Add simple tests for the DCE/RPC echo interface.
(This used to be commit 8523740796f3cd739bdc338b5e2855a01bafa540)

13 years agopidl/python: Remove unnecessary talloc_free().
Jelmer Vernooij [Sun, 13 Jan 2008 20:23:12 +0000 (21:23 +0100)]
pidl/python: Remove unnecessary talloc_free().
(This used to be commit a099d30067a4d965a283f52e56ffd1897137bf1a)

13 years agoRemove accidently committed files.
Jelmer Vernooij [Sun, 13 Jan 2008 19:43:10 +0000 (20:43 +0100)]
Remove accidently committed files.
(This used to be commit 45e7d230385dc8f636157e45f3df4a8cb4e9d587)

13 years agopython: Allow wrapping pointers within talloc'ed memory that are not talloc contexts.
Jelmer Vernooij [Sun, 13 Jan 2008 19:41:34 +0000 (20:41 +0100)]
python: Allow wrapping pointers within talloc'ed memory that are not talloc contexts.
(This used to be commit 9c038a74113fb55ed5eb12a7d0ae4a46bad9050c)

13 years agopidl/python: Support repr() for python types.
Jelmer Vernooij [Sun, 13 Jan 2008 17:38:12 +0000 (18:38 +0100)]
pidl/python: Support repr() for python types.
(This used to be commit cf3664594d3540db20d32bc844f18e20abfa0d96)

13 years agopidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because they only...
Jelmer Vernooij [Sun, 13 Jan 2008 17:15:12 +0000 (18:15 +0100)]
pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because they only work with the structures generated by that file.
(This used to be commit 9aeb7f31b0fc3b9679e5af07e65e79bc8073c4e1)

13 years agopidl/python: Work towards supporting more complex types (arrays, etc).
Jelmer Vernooij [Sun, 13 Jan 2008 17:05:43 +0000 (18:05 +0100)]
pidl/python: Work towards supporting more complex types (arrays, etc).
(This used to be commit 49d91a1a92e226c015db86ddc9ef772030415d76)

13 years agopidl/python: Support more scalar types when converting from Python.
Jelmer Vernooij [Sun, 13 Jan 2008 16:15:56 +0000 (17:15 +0100)]
pidl/python: Support more scalar types when converting from Python.
(This used to be commit 1f3bbb65e5a46715c49225eecc760faaf5dbb9d7)

13 years agopidl/python: Use new talloc utility functions.
Jelmer Vernooij [Sun, 13 Jan 2008 15:59:15 +0000 (16:59 +0100)]
pidl/python: Use new talloc utility functions.
(This used to be commit 48cfd44dc088717c0282436148888e45b2632946)

13 years agopython: Add some utility functions for working with Python objects based on talloc...
Jelmer Vernooij [Sun, 13 Jan 2008 15:44:42 +0000 (16:44 +0100)]
python: Add some utility functions for working with Python objects based on talloc pointers.
(This used to be commit 9366ddba92e192cd88e12eafba4a90af8c266f1c)

13 years agopidl/python: Convert unions.
Jelmer Vernooij [Sun, 13 Jan 2008 14:51:15 +0000 (15:51 +0100)]
pidl/python: Convert unions.
(This used to be commit e9037d0f5d222efd4ca04a0f8ce5c39cb3bb6997)

13 years agopidl/python: Fix more warnings in the generated code.
Jelmer Vernooij [Sun, 13 Jan 2008 14:29:56 +0000 (15:29 +0100)]
pidl/python: Fix more warnings in the generated code.
(This used to be commit 23add37b729aaa85b83cbf6ba98e7042c01f6472)

13 years agopidl/python: Fix bug accidently filling in the body of enums/bitmaps without body.
Jelmer Vernooij [Sun, 13 Jan 2008 14:11:28 +0000 (15:11 +0100)]
pidl/python: Fix bug accidently filling in the body of enums/bitmaps without body.
(This used to be commit 97971f0d8080f3934ea5940cc0f230004afb94a1)

13 years agopidl/python: Fix const type wrapping.
Jelmer Vernooij [Sun, 13 Jan 2008 02:15:55 +0000 (03:15 +0100)]
pidl/python: Fix const type wrapping.
(This used to be commit 35a4843f9c75a59ab98e785520114809903575cf)

13 years agopidl/python: Fix conversion of last few non-standard types.
Jelmer Vernooij [Sun, 13 Jan 2008 00:50:31 +0000 (01:50 +0100)]
pidl/python: Fix conversion of last few non-standard types.
(This used to be commit b8bdbc38c15598e34c55fb9e3ee1f6894964d2c6)

13 years agopidl/python: Remove references to DECLARE, which has been removed.
Jelmer Vernooij [Sun, 13 Jan 2008 00:35:06 +0000 (01:35 +0100)]
pidl/python: Remove references to DECLARE, which has been removed.
(This used to be commit 9a907567c8e0836b731e0ef01f8d097a33de21b0)

13 years agopidl/python: Some more support for special case types.
Jelmer Vernooij [Sat, 12 Jan 2008 00:09:28 +0000 (01:09 +0100)]
pidl/python: Some more support for special case types.
(This used to be commit 991aa950a377bbc07e0bf05758574f850a6d0ff7)

13 years agopidl/python: Convert some Python objects back to C, return proper tuples in client...
Jelmer Vernooij [Fri, 11 Jan 2008 19:37:08 +0000 (20:37 +0100)]
pidl/python: Convert some Python objects back to C, return proper tuples in client calls.
(This used to be commit 1ab617296943dc1d270cbf999dedcfb3073d3d20)

13 years agopython/pidl: Start wrapping function arguments.
Jelmer Vernooij [Fri, 11 Jan 2008 19:00:46 +0000 (20:00 +0100)]
python/pidl: Start wrapping function arguments.
(This used to be commit c2595d3754db4d03bafd53b6f62158516493657e)

13 years agopython/pidl: Handle non-string types.
Jelmer Vernooij [Fri, 11 Jan 2008 17:27:47 +0000 (18:27 +0100)]
python/pidl: Handle non-string types.
(This used to be commit 02dd02c529d578ad7fa4a6b825097685555604fe)

13 years agopython/pidl: More work on wrapping enums, bitmaps and structs.
Jelmer Vernooij [Fri, 11 Jan 2008 17:11:45 +0000 (18:11 +0100)]
python/pidl: More work on wrapping enums, bitmaps and structs.
(This used to be commit 732c3453f0784d5052705b00735b750809afce61)

13 years agoUse lsa_PolicyInfo enum in lsa policy info calls.
Günther Deschner [Mon, 14 Jan 2008 16:37:35 +0000 (17:37 +0100)]
Use lsa_PolicyInfo enum in lsa policy info calls.

Guenther
(This used to be commit 068697706652373d28091cd7594e0276da27dbc4)

13 years agoFill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Günther Deschner [Mon, 14 Jan 2008 16:10:31 +0000 (17:10 +0100)]
Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.

Guenther
(This used to be commit 54458c46249e07176e2a5b37279a3c95d21df0ab)

13 years agopython: Avoid overwriting flags for already found version of Python.
Jelmer Vernooij [Sun, 13 Jan 2008 13:59:16 +0000 (14:59 +0100)]
python: Avoid overwriting flags for already found version of Python.
(This used to be commit 9041e385fe666c16d9a5b9a030b54a856f17e5e5)

13 years agopython: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
Jelmer Vernooij [Sun, 13 Jan 2008 05:07:20 +0000 (06:07 +0100)]
python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
(This used to be commit e179db6d0fcf093082f2ad441980a2bb77ac6b17)

13 years agoRemove accidently committed debugging statement.
Jelmer Vernooij [Sun, 13 Jan 2008 03:50:33 +0000 (04:50 +0100)]
Remove accidently committed debugging statement.
(This used to be commit 9ad2de6e9900aadc3171c5376972ce4d3ed3fb24)

13 years agoTry to fix the build on Tru64; avoid single quotes because they get expanded by perl...
Jelmer Vernooij [Sun, 13 Jan 2008 03:46:11 +0000 (04:46 +0100)]
Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.
(This used to be commit bba8914af56cb161c275fbbdea2479d6f8bd703c)

13 years agopython: Fix initialization of variable.
Jelmer Vernooij [Sun, 13 Jan 2008 03:23:09 +0000 (04:23 +0100)]
python: Fix initialization of variable.
(This used to be commit 620ec696657558dbad2a6c7d4231deabcaeaaef1)

13 years agopython: Try more possible flags.
Jelmer Vernooij [Sun, 13 Jan 2008 03:17:04 +0000 (04:17 +0100)]
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)

13 years agopython: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2.
Jelmer Vernooij [Sun, 13 Jan 2008 02:32:44 +0000 (03:32 +0100)]
python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2.
(This used to be commit dec3f421be5d7fd4ead3b71f8b69921c41bad39a)

13 years agotests.blackbox: Avoid my local Kerberos setup from interfering with the blackbox...
Jelmer Vernooij [Sun, 13 Jan 2008 01:45:55 +0000 (02:45 +0100)]
tests.blackbox: Avoid my local Kerberos setup from interfering with the blackbox.smbclient test.
(This used to be commit 1d703dcf3a888e4c8301a4f53a289ff18bf89f75)

13 years agopidl: Avoid accidently filling in empty body for types without body.
Jelmer Vernooij [Sat, 12 Jan 2008 23:05:24 +0000 (00:05 +0100)]
pidl: Avoid accidently filling in empty body for types without body.
(This used to be commit 1fe5c1ad07c574dc094f59f728025dfcafa0cf22)

13 years agopidl/ejs: Fix bug that filled in the body for types without body.
Jelmer Vernooij [Sat, 12 Jan 2008 22:38:05 +0000 (23:38 +0100)]
pidl/ejs: Fix bug that filled in the body for types without body.
(This used to be commit 4f4dfa6042178c157a09df61d72a42af7aa5c67b)