Jelmer Vernooij [Mon, 14 Jan 2008 22:04:57 +0000 (23:04 +0100)]
python: Build shared python modules for generic use.
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
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
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
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
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
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
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
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
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
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)
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)
Volker Lendecke [Mon, 26 Nov 2007 14:28:13 +0000 (15:28 +0100)]
Fix bug 5055
(lib/replace part of
8bcd2df841bae63e7d58c35d4728b7d853471697 metze)
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)
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)
Andrew Tridgell [Tue, 15 Jan 2008 03:05:47 +0000 (14:05 +1100)]
merged tdb from ctdb bzr tree
Jelmer Vernooij [Tue, 15 Jan 2008 01:04:42 +0000 (02:04 +0100)]
Fix asn1 locations.
Jelmer Vernooij [Tue, 15 Jan 2008 01:04:20 +0000 (02:04 +0100)]
ldap.py: Use constants where possible.
Jelmer Vernooij [Tue, 15 Jan 2008 00:08:30 +0000 (01:08 +0100)]
python: Update status.
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.
Jelmer Vernooij [Mon, 14 Jan 2008 21:24:07 +0000 (22:24 +0100)]
libreplace: Escape asterisk.
Jelmer Vernooij [Mon, 14 Jan 2008 19:14:53 +0000 (20:14 +0100)]
python: Enable building of the wkssvc python bindings.
Jelmer Vernooij [Mon, 14 Jan 2008 19:09:18 +0000 (20:09 +0100)]
python: Fix handling of pointer-less strings in function arguments.
Jelmer Vernooij [Mon, 14 Jan 2008 19:08:04 +0000 (20:08 +0100)]
python: Compile in svcctl 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.
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.
Jelmer Vernooij [Mon, 14 Jan 2008 18:05:08 +0000 (19:05 +0100)]
python: Add simple test for samr python code.
Jelmer Vernooij [Mon, 14 Jan 2008 17:59:11 +0000 (18:59 +0100)]
python: Compile security module, handle uint.
Jelmer Vernooij [Mon, 14 Jan 2008 17:24:10 +0000 (18:24 +0100)]
python: Fix some corner cases handling scalars.
Jelmer Vernooij [Mon, 14 Jan 2008 17:01:54 +0000 (18:01 +0100)]
python: Don't try to free const pointers.
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.
Jelmer Vernooij [Mon, 14 Jan 2008 15:48:27 +0000 (16:48 +0100)]
python: Enable python bindings for samr and lsa interfaces.
Jelmer Vernooij [Mon, 14 Jan 2008 15:11:58 +0000 (16:11 +0100)]
python: Build epmapper module.
Jelmer Vernooij [Mon, 14 Jan 2008 15:11:36 +0000 (16:11 +0100)]
python: Accept loadparm filename rather than loadparm object, too.
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.
Jelmer Vernooij [Mon, 14 Jan 2008 13:48:59 +0000 (14:48 +0100)]
python: Fix python code for winreg, add test.
Jelmer Vernooij [Mon, 14 Jan 2008 12:26:21 +0000 (13:26 +0100)]
python: Start building winreg module.
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.
Jelmer Vernooij [Mon, 14 Jan 2008 05:23:13 +0000 (06:23 +0100)]
pidl/python: Deal with arrays that are not pointers.
Jelmer Vernooij [Mon, 14 Jan 2008 05:05:28 +0000 (06:05 +0100)]
python: Fix last bugs in rpcecho test. It passes now!
Jelmer Vernooij [Mon, 14 Jan 2008 05:05:12 +0000 (06:05 +0100)]
pidl/python: Specify memory context explicitly when returning Python objects.
Jelmer Vernooij [Mon, 14 Jan 2008 05:03:33 +0000 (06:03 +0100)]
python: Fix deallocation bug in pytalloc.
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.
Jelmer Vernooij [Mon, 14 Jan 2008 03:00:13 +0000 (04:00 +0100)]
selftest: Ignore output generated by html formatter.
Jelmer Vernooij [Mon, 14 Jan 2008 02:59:36 +0000 (03:59 +0100)]
python: Fix rpcecho tests.
Jelmer Vernooij [Mon, 14 Jan 2008 01:48:50 +0000 (02:48 +0100)]
pidl/python: Fix compilation of py_echo.
Jelmer Vernooij [Mon, 14 Jan 2008 01:27:40 +0000 (02:27 +0100)]
python/pidl: Fix assignment.
Jelmer Vernooij [Mon, 14 Jan 2008 01:04:06 +0000 (02:04 +0100)]
pidl/python: Fix more compile errors.
Jelmer Vernooij [Mon, 14 Jan 2008 00:30:44 +0000 (01:30 +0100)]
pidl/python: Fix parsing arguments, fix more pointer issues.
Jelmer Vernooij [Sun, 13 Jan 2008 22:13:30 +0000 (23:13 +0100)]
pidl/python: Fix use of pointers.
Jelmer Vernooij [Sun, 13 Jan 2008 20:42:42 +0000 (21:42 +0100)]
python: Add some more rpc/echo tests.
Jelmer Vernooij [Sun, 13 Jan 2008 20:33:35 +0000 (21:33 +0100)]
python: Add simple tests for the DCE/RPC echo interface.
Jelmer Vernooij [Sun, 13 Jan 2008 20:23:12 +0000 (21:23 +0100)]
pidl/python: Remove unnecessary talloc_free().
Jelmer Vernooij [Sun, 13 Jan 2008 19:43:10 +0000 (20:43 +0100)]
Remove accidently committed files.
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.
Jelmer Vernooij [Sun, 13 Jan 2008 17:38:12 +0000 (18:38 +0100)]
pidl/python: Support repr() for python types.
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.
Jelmer Vernooij [Sun, 13 Jan 2008 17:05:43 +0000 (18:05 +0100)]
pidl/python: Work towards supporting more complex types (arrays, etc).
Jelmer Vernooij [Sun, 13 Jan 2008 16:15:56 +0000 (17:15 +0100)]
pidl/python: Support more scalar types when converting from Python.
Jelmer Vernooij [Sun, 13 Jan 2008 15:59:15 +0000 (16:59 +0100)]
pidl/python: Use new talloc utility functions.
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.
Jelmer Vernooij [Sun, 13 Jan 2008 14:51:15 +0000 (15:51 +0100)]
pidl/python: Convert unions.
Jelmer Vernooij [Sun, 13 Jan 2008 14:29:56 +0000 (15:29 +0100)]
pidl/python: Fix more warnings in the generated code.
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.
Jelmer Vernooij [Sun, 13 Jan 2008 02:15:55 +0000 (03:15 +0100)]
pidl/python: Fix const type wrapping.
Jelmer Vernooij [Sun, 13 Jan 2008 00:50:31 +0000 (01:50 +0100)]
pidl/python: Fix conversion of last few non-standard types.
Jelmer Vernooij [Sun, 13 Jan 2008 00:35:06 +0000 (01:35 +0100)]
pidl/python: Remove references to DECLARE, which has been removed.
Jelmer Vernooij [Sat, 12 Jan 2008 00:09:28 +0000 (01:09 +0100)]
pidl/python: Some more support for special case types.
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.
Jelmer Vernooij [Fri, 11 Jan 2008 19:00:46 +0000 (20:00 +0100)]
python/pidl: Start wrapping function arguments.
Jelmer Vernooij [Fri, 11 Jan 2008 17:27:47 +0000 (18:27 +0100)]
python/pidl: Handle non-string types.
Jelmer Vernooij [Fri, 11 Jan 2008 17:11:45 +0000 (18:11 +0100)]
python/pidl: More work on wrapping enums, bitmaps and structs.
Günther Deschner [Mon, 14 Jan 2008 16:37:35 +0000 (17:37 +0100)]
Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
Günther Deschner [Mon, 14 Jan 2008 16:10:31 +0000 (17:10 +0100)]
Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
Jelmer Vernooij [Sun, 13 Jan 2008 13:59:16 +0000 (14:59 +0100)]
python: Avoid overwriting flags for already found version of Python.
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.
Jelmer Vernooij [Sun, 13 Jan 2008 03:50:33 +0000 (04:50 +0100)]
Remove accidently committed debugging statement.
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.
Jelmer Vernooij [Sun, 13 Jan 2008 03:23:09 +0000 (04:23 +0100)]
python: Fix initialization of variable.
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.
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.
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.
Jelmer Vernooij [Sat, 12 Jan 2008 23:05:24 +0000 (00:05 +0100)]
pidl: Avoid accidently filling in empty 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.
Jelmer Vernooij [Sat, 12 Jan 2008 22:10:28 +0000 (23:10 +0100)]
pidl: Add function for determining whether a type has a body.
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.
Jelmer Vernooij [Sat, 12 Jan 2008 21:35:28 +0000 (22:35 +0100)]
pidl: Prevent empty declarations for enums without body.
Jelmer Vernooij [Sat, 12 Jan 2008 21:15:12 +0000 (22:15 +0100)]
pidl: Add ability to write type metadata to a file.
Jelmer Vernooij [Sat, 12 Jan 2008 21:03:05 +0000 (22:03 +0100)]
pidl: Remove obsolete smb_interfaces code.
Jelmer Vernooij [Sat, 12 Jan 2008 21:00:14 +0000 (22:00 +0100)]
pidl: Add CPAN metadata.
Jelmer Vernooij [Sat, 12 Jan 2008 20:37:46 +0000 (21:37 +0100)]
pidl: Add more parsing tests.
Jelmer Vernooij [Sat, 12 Jan 2008 20:33:18 +0000 (21:33 +0100)]
pidl: Update documentation.
Jelmer Vernooij [Sat, 12 Jan 2008 20:21:14 +0000 (21:21 +0100)]
pidl: Remove declare tests, add more tests for typedef.
Jelmer Vernooij [Sat, 12 Jan 2008 20:14:44 +0000 (21:14 +0100)]
pidl: Move tests for the CUtil module to a separate file.
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.
Jelmer Vernooij [Sat, 12 Jan 2008 00:18:53 +0000 (01:18 +0100)]
idl: Use typedef rather than declare.
Jelmer Vernooij [Sat, 12 Jan 2008 00:10:59 +0000 (01:10 +0100)]
pidl: Remove support for the "declare" keyword in the parser.
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.
Jelmer Vernooij [Fri, 11 Jan 2008 15:28:17 +0000 (16:28 +0100)]
python: Fix typo.
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.