samba.git
16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 years agopidl: Add function for determining whether a type has a body.
Jelmer Vernooij [Sat, 12 Jan 2008 22:10:28 +0000 (23:10 +0100)]
pidl: Add function for determining whether a type has a body.
(This used to be commit 893f4102c93c1c2cd6b836f12644d06d9e31800c)

16 years agopidl: Move more stuff outside ifdef when defining enums and generate pretty code...
Jelmer Vernooij [Sat, 12 Jan 2008 22:06:00 +0000 (23:06 +0100)]
pidl: Move more stuff outside ifdef when defining enums and generate pretty code for enums without body.
(This used to be commit d91af936ae51e33c8598d88c77575abbeb0e556b)

16 years agopidl: Prevent empty declarations for enums without body.
Jelmer Vernooij [Sat, 12 Jan 2008 21:35:28 +0000 (22:35 +0100)]
pidl: Prevent empty declarations for enums without body.
(This used to be commit c1e0570506d7c77112065a03a876cda4e4db7769)

16 years agopidl: Add ability to write type metadata to a file.
Jelmer Vernooij [Sat, 12 Jan 2008 21:15:12 +0000 (22:15 +0100)]
pidl: Add ability to write type metadata to a file.
(This used to be commit e8ab241ff47f2c3e6f80f9c62373139e4c9f5a1e)

16 years agopidl: Remove obsolete smb_interfaces code.
Jelmer Vernooij [Sat, 12 Jan 2008 21:03:05 +0000 (22:03 +0100)]
pidl: Remove obsolete smb_interfaces code.
(This used to be commit 169e91b07c29a69113f40214543be2653d7fecf5)

16 years agopidl: Add CPAN metadata.
Jelmer Vernooij [Sat, 12 Jan 2008 21:00:14 +0000 (22:00 +0100)]
pidl: Add CPAN metadata.
(This used to be commit 7569fd5fce55fdc5c2639ec5c0a8e39e37a21fe8)

16 years agopidl: Add more parsing tests.
Jelmer Vernooij [Sat, 12 Jan 2008 20:37:46 +0000 (21:37 +0100)]
pidl: Add more parsing tests.
(This used to be commit e44ee3e60ac4eb56cca02b58fdecb171269daca4)

16 years agopidl: Update documentation.
Jelmer Vernooij [Sat, 12 Jan 2008 20:33:18 +0000 (21:33 +0100)]
pidl: Update documentation.
(This used to be commit a13f51dae591684dbc9620f385d2fbccf31ec137)

16 years agopidl: Remove declare tests, add more tests for typedef.
Jelmer Vernooij [Sat, 12 Jan 2008 20:21:14 +0000 (21:21 +0100)]
pidl: Remove declare tests, add more tests for typedef.
(This used to be commit 254bf85c2eb69fc2ee22d3a92a6b027a25594250)

16 years agopidl: Move tests for the CUtil module to a separate file.
Jelmer Vernooij [Sat, 12 Jan 2008 20:14:44 +0000 (21:14 +0100)]
pidl: Move tests for the CUtil module to a separate file.
(This used to be commit ce40890ef0166ad11dd835249f52e2ab5876efba)

16 years agopidl: Remove support for the declare keyword in other parts of the pidl code.
Jelmer Vernooij [Sat, 12 Jan 2008 00:22:23 +0000 (01:22 +0100)]
pidl: Remove support for the declare keyword in other parts of the pidl code.
(This used to be commit 2fe013f715bdee6c01a833bc6c883e830bdc5dfd)

16 years agoidl: Use typedef rather than declare.
Jelmer Vernooij [Sat, 12 Jan 2008 00:18:53 +0000 (01:18 +0100)]
idl: Use typedef rather than declare.
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)

16 years agopidl: Remove support for the "declare" keyword in the parser.
Jelmer Vernooij [Sat, 12 Jan 2008 00:10:59 +0000 (01:10 +0100)]
pidl: Remove support for the "declare" keyword in the parser.
(This used to be commit ea3371389226a756ba641a7fc02cfbee78663411)

16 years agopidl: Remove multiple copies of get_pointer_of and get_value_of.
Jelmer Vernooij [Fri, 11 Jan 2008 19:19:47 +0000 (20:19 +0100)]
pidl: Remove multiple copies of get_pointer_of and get_value_of.
(This used to be commit 79344c9c5e0e38155facb0c7b16e84a0dca3d2eb)

16 years agopython: Fix typo.
Jelmer Vernooij [Fri, 11 Jan 2008 15:28:17 +0000 (16:28 +0100)]
python: Fix typo.
(This used to be commit d6b06fc03e37781f5f59b15cff8fe3ee8df63444)

16 years agoPython: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
Jelmer Vernooij [Fri, 11 Jan 2008 15:13:46 +0000 (16:13 +0100)]
Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
(This used to be commit f056f624958af79204c972eba3f85e36e93daed7)

16 years agowbinfo: Handle SID_NAME_COMPUTER in sid_type_lookup
Kai Blin [Wed, 26 Dec 2007 09:56:24 +0000 (10:56 +0100)]
wbinfo: Handle SID_NAME_COMPUTER in sid_type_lookup
(This used to be commit 1abb2b471a11305ae7e0da403eca3cfe1fe1b016)

16 years agolibnet: Fix includes to silence a warning
Kai Blin [Wed, 26 Dec 2007 09:44:06 +0000 (10:44 +0100)]
libnet: Fix includes to silence a warning
(This used to be commit ba5a21998bfc1bd616e7a2d9647d284ca30a3574)

16 years agolibnet: Rename a variable so it does not shadow a global.
Kai Blin [Wed, 26 Dec 2007 09:43:35 +0000 (10:43 +0100)]
libnet: Rename a variable so it does not shadow a global.
(This used to be commit a5b9d2f33279e0f96a36acbf3da7c018aadf08c9)

16 years agoejs: Remove cast to incompatible pointer.
Kai Blin [Wed, 26 Dec 2007 08:54:21 +0000 (09:54 +0100)]
ejs: Remove cast to incompatible pointer.
(This used to be commit 89d5b91d3c4dae754178c82cb7a24e7c5af09fcd)

16 years agogentest: Fix a warning.
Kai Blin [Tue, 25 Dec 2007 23:11:06 +0000 (00:11 +0100)]
gentest: Fix a warning.
(This used to be commit d41b2e5ccd113ecf2f99896b1ce061ecb9ecc54d)

16 years agoldb: Get rid of a warning.
Kai Blin [Tue, 25 Dec 2007 23:10:34 +0000 (00:10 +0100)]
ldb: Get rid of a warning.
(This used to be commit 37ed9fbeee37a1d86d6f6841eac5c1a0a85c1fcc)

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Fri, 11 Jan 2008 04:22:22 +0000 (15:22 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 53b51660ae6b733b19b0ba3403f229b215de7b47)

16 years agoUse 'dn' less, as this is not a valid attribute in AD, and I want to
Andrew Bartlett [Fri, 11 Jan 2008 04:21:23 +0000 (15:21 +1100)]
Use 'dn' less, as this is not a valid attribute in AD, and I want to
remove it from ldb.  It is not longer mapped against OpenLDAP.

Andrew Bartlett
(This used to be commit f917ccec85f854423f423bbffc41459d92960a1b)

16 years agoRemove 'dn' from mapping, it isn't a valid attribute in AD, and causes
Andrew Bartlett [Fri, 11 Jan 2008 04:19:27 +0000 (15:19 +1100)]
Remove 'dn' from mapping, it isn't a valid attribute in AD, and causes
problems with ldap.js test with OpenLDAP as the backend.

Likewise, remove it from the template lookup (for consistancy).

TODO:  see if it can be removed from ldb

Andrew Bartlett
(This used to be commit 47a1b76f7fff30229d3f23c6723f047923faf196)

16 years agoPython: Update STATUS.
Jelmer Vernooij [Fri, 11 Jan 2008 03:07:14 +0000 (04:07 +0100)]
Python: Update STATUS.
(This used to be commit cbf3b74e5f5076d864b08c772f21b20751ea5163)

16 years agoldap/python: Fix last tests.
Jelmer Vernooij [Fri, 11 Jan 2008 03:06:00 +0000 (04:06 +0100)]
ldap/python: Fix last tests.
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)

16 years agoldb/python: Support comparing Dn's to strings.
Jelmer Vernooij [Fri, 11 Jan 2008 03:05:41 +0000 (04:05 +0100)]
ldb/python: Support comparing Dn's to strings.
(This used to be commit 355878907970b396e4031426fda260d981c417eb)

16 years agopython/ldap: Fix a couple more tests.
Jelmer Vernooij [Fri, 11 Jan 2008 01:06:30 +0000 (02:06 +0100)]
python/ldap: Fix a couple more tests.
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)

16 years agoMake a few more tests pass.
Jelmer Vernooij [Fri, 11 Jan 2008 00:47:32 +0000 (01:47 +0100)]
Make a few more tests pass.
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)

16 years agopython/ldap: Get further.
Jelmer Vernooij [Fri, 11 Jan 2008 00:01:36 +0000 (01:01 +0100)]
python/ldap: Get further.
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)

16 years agopython/ldap: Fix some tests.
Jelmer Vernooij [Thu, 10 Jan 2008 23:32:31 +0000 (00:32 +0100)]
python/ldap: Fix some tests.
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)

16 years agopython: More work getting the LDAP test to compile again.
Jelmer Vernooij [Thu, 10 Jan 2008 23:22:23 +0000 (00:22 +0100)]
python: More work getting the LDAP test to compile again.
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)

16 years agopython: Specify right arguments for the ldap test, fix some more calls.
Jelmer Vernooij [Thu, 10 Jan 2008 22:37:35 +0000 (23:37 +0100)]
python: Specify right arguments for the ldap test, fix some more calls.
(This used to be commit 74209fa6b097c6cd3c919dc6a67d998de12fa575)

16 years agoldap/python: Fix some more calls.
Jelmer Vernooij [Thu, 10 Jan 2008 22:06:14 +0000 (23:06 +0100)]
ldap/python: Fix some more calls.
(This used to be commit 583881ae5a2a173abad9ba1ffd766b009d9ca8cd)

16 years agopython: No longer skip LDAP tests.
Jelmer Vernooij [Thu, 10 Jan 2008 19:17:03 +0000 (20:17 +0100)]
python: No longer skip LDAP tests.
(This used to be commit d029c0bedf8b3d300050786991e2df0e446fca72)

16 years agopython/ldap: Support controls argument to ldb.search().
Jelmer Vernooij [Fri, 11 Jan 2008 02:25:22 +0000 (03:25 +0100)]
python/ldap: Support controls argument to ldb.search().
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Fri, 11 Jan 2008 02:16:08 +0000 (13:16 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 597f9fe17685fb7909269bc0af04bf4a040e2ad7)

16 years agoRework ldbsearch to avoid segfault when remote LDAP server returns
Andrew Bartlett [Fri, 11 Jan 2008 02:15:49 +0000 (13:15 +1100)]
Rework ldbsearch to avoid segfault when remote LDAP server returns
referrals.

Andrew Bartlett
(This used to be commit 8099facff99dab4de27ea6f857d0e8f5eaa3db5a)

16 years agoFix segfault when sorting LDAP replies on the client.
Andrew Bartlett [Fri, 11 Jan 2008 01:47:51 +0000 (12:47 +1100)]
Fix segfault when sorting LDAP replies on the client.

Andrew Bartlett
(This used to be commit c72c39326b263b3aacd178ddc2fc3b1a2906f3d3)

16 years agopython/ldap: Wrap parse_control_strings().
Jelmer Vernooij [Fri, 11 Jan 2008 01:36:59 +0000 (02:36 +0100)]
python/ldap: Wrap parse_control_strings().
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)

16 years agoldb/python: Allow comparing a MessageElement to a list or a singleton.
Jelmer Vernooij [Fri, 11 Jan 2008 00:55:56 +0000 (01:55 +0100)]
ldb/python: Allow comparing a MessageElement to a list or a singleton.
(This used to be commit 1ccbab81d79f83bb419104f2bbaf2ae7b368e90f)

16 years agoldb/python: Implement __len__ for MessageElement.
Jelmer Vernooij [Fri, 11 Jan 2008 00:02:58 +0000 (01:02 +0100)]
ldb/python: Implement __len__ for MessageElement.
(This used to be commit a8f90ed34ce9341080b63c801ef54b82de42b8e6)