ira/wip.git
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.

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.

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 years agopidl: Add CPAN metadata.
Jelmer Vernooij [Sat, 12 Jan 2008 21:00:14 +0000 (22:00 +0100)]
pidl: Add CPAN metadata.

13 years agopidl: Add more parsing tests.
Jelmer Vernooij [Sat, 12 Jan 2008 20:37:46 +0000 (21:37 +0100)]
pidl: Add more parsing tests.

13 years agopidl: Update documentation.
Jelmer Vernooij [Sat, 12 Jan 2008 20:33:18 +0000 (21:33 +0100)]
pidl: Update documentation.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 years agopython: Fix typo.
Jelmer Vernooij [Fri, 11 Jan 2008 15:28:17 +0000 (16:28 +0100)]
python: Fix typo.

13 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.

13 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

13 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

13 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.

13 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.

13 years agogentest: Fix a warning.
Kai Blin [Tue, 25 Dec 2007 23:11:06 +0000 (00:11 +0100)]
gentest: Fix a warning.

13 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.

13 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

13 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

13 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

13 years agoPython: Update STATUS.
Jelmer Vernooij [Fri, 11 Jan 2008 03:07:14 +0000 (04:07 +0100)]
Python: Update STATUS.

13 years agoldap/python: Fix last tests.
Jelmer Vernooij [Fri, 11 Jan 2008 03:06:00 +0000 (04:06 +0100)]
ldap/python: Fix last tests.

13 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.

13 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.

13 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.

13 years agopython/ldap: Get further.
Jelmer Vernooij [Fri, 11 Jan 2008 00:01:36 +0000 (01:01 +0100)]
python/ldap: Get further.

13 years agopython/ldap: Fix some tests.
Jelmer Vernooij [Thu, 10 Jan 2008 23:32:31 +0000 (00:32 +0100)]
python/ldap: Fix some tests.

13 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.

13 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.

13 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.

13 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.

13 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().

13 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

13 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

13 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

13 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().

13 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.

13 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.

13 years agopython/ldb: Add __getitem__ implementation for LdbMessageElement.
Jelmer Vernooij [Thu, 10 Jan 2008 23:23:33 +0000 (00:23 +0100)]
python/ldb: Add __getitem__ implementation for LdbMessageElement.

13 years agoAdd in new module to normalise DNs being returned from OpenLDAP. This
Andrew Bartlett [Thu, 10 Jan 2008 23:44:49 +0000 (10:44 +1100)]
Add in new module to normalise DNs being returned from OpenLDAP.  This
fixes the case of the attribute in teh DN.

Fix option spelling for example re-provision

Andrew Bartlett

13 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 10 Jan 2008 22:55:28 +0000 (09:55 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local

13 years agoMake Samba4 and Fedora DS happier
Andrew Bartlett [Thu, 10 Jan 2008 22:54:22 +0000 (09:54 +1100)]
Make Samba4 and Fedora DS happier

Recent changes to Samba4 have made the Fedora DS backend fail.  This
is a start on fixing that.

Andrew Bartlett

13 years agoIgnore compiled Python files.
Jelmer Vernooij [Thu, 10 Jan 2008 22:40:08 +0000 (23:40 +0100)]
Ignore compiled Python files.

13 years agoUpdate ignore list.
Jelmer Vernooij [Thu, 10 Jan 2008 21:04:50 +0000 (22:04 +0100)]
Update ignore list.

13 years agotdb: Add simple reimplementation of tdbdump in Python as an example of the tdb Python...
Jelmer Vernooij [Thu, 10 Jan 2008 20:44:38 +0000 (21:44 +0100)]
tdb: Add simple reimplementation of tdbdump in Python as an example of the tdb Python bindings.

13 years agoMerge commit 'origin/v4-0-test' into 4-0-local
Andrew Bartlett [Thu, 10 Jan 2008 22:25:14 +0000 (09:25 +1100)]
Merge commit 'origin/v4-0-test' into 4-0-local

13 years agoReturn 'not implemented' on more RPCs. (easy way to 'pass' the
Andrew Bartlett [Thu, 10 Jan 2008 22:24:38 +0000 (09:24 +1100)]
Return 'not implemented' on more RPCs.  (easy way to 'pass' the
torture test, as I see little reason to implement these RPCs).

Add information regarding the importance of the LogonGetDomainInfo calls

Andrew Bartlett

13 years agoNative move servers will refuse these SamSync operations, so don't
Andrew Bartlett [Thu, 10 Jan 2008 22:22:26 +0000 (09:22 +1100)]
Native move servers will refuse these SamSync operations, so don't
count them as errors.

Andrew Bartlett

13 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Thu, 10 Jan 2008 19:39:02 +0000 (20:39 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial

13 years agopidl: Fix samba3-cli test after Günthers formatting fixes.
Jelmer Vernooij [Thu, 10 Jan 2008 19:38:14 +0000 (20:38 +0100)]
pidl: Fix samba3-cli test after Günthers formatting fixes.

13 years agoRevert "Set -test in the vendor version"
Stefan Metzmacher [Thu, 10 Jan 2008 19:06:00 +0000 (20:06 +0100)]
Revert "Set -test in the vendor version"

This needs a bit more work as it's different to samba3...

metze

This reverts commit 817582a46aed1a3a470477c95671fa25fd9f2f67.

13 years agoSet -test in the vendor version
Stefan Metzmacher [Thu, 10 Jan 2008 18:36:12 +0000 (19:36 +0100)]
Set -test in the vendor version

metze

13 years agoprepare the mkversion.sh infrastructure for git branches in the build-farm
Stefan Metzmacher [Thu, 11 Oct 2007 10:27:38 +0000 (12:27 +0200)]
prepare the mkversion.sh infrastructure for git branches in the build-farm

metze
(cherry-picked from 1bf4c7fb2012a81e0b4e3d601a4df42d1113f5ef)

13 years agopython: Update STATUS.
Jelmer Vernooij [Thu, 10 Jan 2008 16:53:56 +0000 (17:53 +0100)]
python: Update STATUS.

13 years agor26701: ldb: Build and install python modules when possible.
Jelmer Vernooij [Thu, 10 Jan 2008 21:36:35 +0000 (15:36 -0600)]
r26701: ldb: Build and install python modules when possible.

13 years agor26700: tdb: Build and install Python bindings when possible.
Jelmer Vernooij [Thu, 10 Jan 2008 21:17:26 +0000 (15:17 -0600)]
r26700: tdb: Build and install Python bindings when possible.

13 years agor26699: Some minor cosmetics for pidl samba3 server code.
Günther Deschner [Wed, 9 Jan 2008 17:28:53 +0000 (11:28 -0600)]
r26699: Some minor cosmetics for pidl samba3 server code.

Guenther

13 years agor26698: Prettify samba3 client code a little more.
Günther Deschner [Wed, 9 Jan 2008 16:56:07 +0000 (10:56 -0600)]
r26698: Prettify samba3 client code a little more.

Guenther

13 years agor26697: Leak less memory into the ldb context.
Andrew Bartlett [Wed, 9 Jan 2008 11:36:02 +0000 (05:36 -0600)]
r26697: Leak less memory into the ldb context.

(Trying to chase down memory leaks in provision)

Andrew Bartlett

13 years agor26696: Some more minor pidl samba3 client cosmetics.
Günther Deschner [Wed, 9 Jan 2008 04:56:44 +0000 (22:56 -0600)]
r26696: Some more minor pidl samba3 client cosmetics.

Guenther

13 years agor26695: Cosmetic fix for pidl generated samba3 client code.
Günther Deschner [Tue, 8 Jan 2008 23:02:53 +0000 (17:02 -0600)]
r26695: Cosmetic fix for pidl generated samba3 client code.

Guenther

13 years agor26694: asn1: Fix header and some typo's.
Jelmer Vernooij [Tue, 8 Jan 2008 20:27:40 +0000 (14:27 -0600)]
r26694: asn1: Fix header and some typo's.

13 years agor26693: Add (untested) libnet_rpc_groupdel function.
Rafal Szczesniak [Tue, 8 Jan 2008 16:20:44 +0000 (10:20 -0600)]
r26693: Add (untested) libnet_rpc_groupdel function.

rafal

13 years agor26692: registry: Treat key and value names case-insensitively.
Jelmer Vernooij [Tue, 8 Jan 2008 05:41:55 +0000 (23:41 -0600)]
r26692: registry: Treat key and value names case-insensitively.

13 years agor26691: registry: Add subkeys required for Server Manager Alerts and Peplication...
Jelmer Vernooij [Tue, 8 Jan 2008 04:34:53 +0000 (22:34 -0600)]
r26691: registry: Add subkeys required for Server Manager Alerts and Peplication. See bugs 4934 and 4935.

13 years agor26690: torture: Move torture_context_init() to the ui.c, where all functions related...
Jelmer Vernooij [Tue, 8 Jan 2008 04:34:46 +0000 (22:34 -0600)]
r26690: torture: Move torture_context_init() to the ui.c, where all functions related to it are.

13 years agor26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in...
Jelmer Vernooij [Mon, 7 Jan 2008 20:11:29 +0000 (14:11 -0600)]
r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo().

13 years agor26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431.
Jelmer Vernooij [Mon, 7 Jan 2008 20:11:25 +0000 (14:11 -0600)]
r26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431.

13 years agor26687: python: Update status after feedback from abartlett.
Jelmer Vernooij [Mon, 7 Jan 2008 20:11:19 +0000 (14:11 -0600)]
r26687: python: Update status after feedback from abartlett.

13 years agor26686: Fix bug 5143 by Jason Tarbet. This prevented an easy cut-and-paste of
Andrew Bartlett [Mon, 7 Jan 2008 11:50:04 +0000 (05:50 -0600)]
r26686: Fix bug 5143 by Jason Tarbet. This prevented an easy cut-and-paste of

the provision options used.

Andrew Bartlett