ira/wip.git
15 years agos3-net: fix net_spoolss_setprinterdataex.
Günther Deschner [Mon, 16 Mar 2009 23:29:13 +0000 (00:29 +0100)]
s3-net: fix net_spoolss_setprinterdataex.

Guenther

15 years agos3-spoolss: cleanup _spoolss_SetPrinterDataEx a little.
Günther Deschner [Mon, 16 Mar 2009 17:24:13 +0000 (18:24 +0100)]
s3-spoolss: cleanup _spoolss_SetPrinterDataEx a little.

Guenther

15 years agos3-spoolss: cleanup _spoolss_GetPrinterDataEx a little.
Günther Deschner [Mon, 16 Mar 2009 17:19:57 +0000 (18:19 +0100)]
s3-spoolss: cleanup _spoolss_GetPrinterDataEx a little.

Guenther

15 years agos3-rpcclient: fix cmd_spoolss_getprinterdataex.
Günther Deschner [Mon, 16 Mar 2009 15:02:21 +0000 (16:02 +0100)]
s3-rpcclient: fix cmd_spoolss_getprinterdataex.

Guenther

15 years agos3-net: fix net_spoolss_setprinterdata.
Günther Deschner [Mon, 16 Mar 2009 23:34:59 +0000 (00:34 +0100)]
s3-net: fix net_spoolss_setprinterdata.

Guenther

15 years agos3-net: use rpccli_spoolss_EnumPrinterData.
Günther Deschner [Tue, 17 Mar 2009 00:47:40 +0000 (01:47 +0100)]
s3-net: use rpccli_spoolss_EnumPrinterData.

Guenther

15 years agos3-spoolss: remove spoolss_EnumPrinterData.
Günther Deschner [Mon, 16 Mar 2009 14:04:17 +0000 (15:04 +0100)]
s3-spoolss: remove spoolss_EnumPrinterData.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_EnumPrinterData.
Günther Deschner [Mon, 16 Mar 2009 13:58:55 +0000 (14:58 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPrinterData.

Guenther

15 years agos3-spoolss: remove rpccli_spoolss_enumprinterdata.
Günther Deschner [Mon, 16 Mar 2009 14:02:43 +0000 (15:02 +0100)]
s3-spoolss: remove rpccli_spoolss_enumprinterdata.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_EnumPrinterData in enumdata command.
Günther Deschner [Mon, 16 Mar 2009 14:11:04 +0000 (15:11 +0100)]
s3-rpcclient: use rpccli_spoolss_EnumPrinterData in enumdata command.

Guenther

15 years agos3-net: temporary disable net_spoolss_setprinterdata.
Günther Deschner [Tue, 17 Mar 2009 11:01:29 +0000 (12:01 +0100)]
s3-net: temporary disable net_spoolss_setprinterdata.

Guenther

15 years agos3-spoolss: remove old spoolss_SetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 01:26:08 +0000 (02:26 +0100)]
s3-spoolss: remove old spoolss_SetPrinterData.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_SetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 01:24:47 +0000 (02:24 +0100)]
s3-spoolss: use pidl for _spoolss_SetPrinterData.

Guenther

15 years agos3-spoolss: remove old rpccli_spoolss_setprinterdata wrapper.
Günther Deschner [Sat, 14 Mar 2009 01:22:59 +0000 (02:22 +0100)]
s3-spoolss: remove old rpccli_spoolss_setprinterdata wrapper.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_SetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 01:21:11 +0000 (02:21 +0100)]
s3-rpcclient: use rpccli_spoolss_SetPrinterData.

Guenther

15 years agos3-spoolss: remove old spoolss_GetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 00:31:00 +0000 (01:31 +0100)]
s3-spoolss: remove old spoolss_GetPrinterData.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_GetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 00:29:56 +0000 (01:29 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinterData.

Guenther

15 years agos3-spoolss: remove old rpccli_spoolss_getprinterdata.
Günther Deschner [Sat, 14 Mar 2009 00:28:25 +0000 (01:28 +0100)]
s3-spoolss: remove old rpccli_spoolss_getprinterdata.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_getprinterdata.
Günther Deschner [Sat, 14 Mar 2009 00:28:55 +0000 (01:28 +0100)]
s3-rpcclient: use rpccli_spoolss_getprinterdata.

Guenther

15 years agos3-spoolss: add rpccli_spoolss_getprinterdata convenience wrapper.
Günther Deschner [Sat, 14 Mar 2009 00:26:27 +0000 (01:26 +0100)]
s3-spoolss: add rpccli_spoolss_getprinterdata convenience wrapper.

Guenther

15 years agos3-spoolss: remove unused ADD_JOBINFO_1.
Günther Deschner [Thu, 26 Feb 2009 20:56:12 +0000 (21:56 +0100)]
s3-spoolss: remove unused ADD_JOBINFO_1.

Guenther

15 years agoFix a valgrind error
Volker Lendecke [Tue, 17 Mar 2009 10:22:41 +0000 (11:22 +0100)]
Fix a valgrind error

Found in "make test" -- if we can't connect at all, "cli" is uninitialized

15 years agos4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.
Günther Deschner [Mon, 16 Mar 2009 15:01:10 +0000 (16:01 +0100)]
s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.

Guenther

15 years agos4-spoolss: use winreg_Type for GetPrinterData implementation.
Günther Deschner [Mon, 16 Mar 2009 14:44:16 +0000 (15:44 +0100)]
s4-spoolss: use winreg_Type for GetPrinterData implementation.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Mon, 16 Mar 2009 15:45:57 +0000 (16:45 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: use winreg_Type instead of spoolss_PrinterDataType for XPrinterData calls.
Günther Deschner [Mon, 16 Mar 2009 14:43:17 +0000 (15:43 +0100)]
spoolss: use winreg_Type instead of spoolss_PrinterDataType for XPrinterData calls.

Guenther

15 years agospoolss: use uint8 array instead of DATA_BLOB in EnumPrinterData IDL out pointer.
Günther Deschner [Mon, 16 Mar 2009 14:22:59 +0000 (15:22 +0100)]
spoolss: use uint8 array instead of DATA_BLOB in EnumPrinterData IDL out pointer.

Guenther

15 years agospoolss: fix ndr_push_spoolss_SetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 00:39:39 +0000 (01:39 +0100)]
spoolss: fix ndr_push_spoolss_SetPrinterData.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Sat, 14 Mar 2009 02:01:30 +0000 (03:01 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fix IDL for spoolss_SetPrinterData.
Günther Deschner [Sat, 14 Mar 2009 00:39:16 +0000 (01:39 +0100)]
spoolss: fix IDL for spoolss_SetPrinterData.

Guenther

15 years agos4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.
Günther Deschner [Sat, 14 Mar 2009 00:38:08 +0000 (01:38 +0100)]
s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.

Guenther

15 years agos4-smbtorture: fix test_GetPrinterData tests after out pointer changes.
Günther Deschner [Sat, 14 Mar 2009 00:36:31 +0000 (01:36 +0100)]
s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.

Guenther

15 years agospoolss: fix GetPrinterData buffer helper.
Günther Deschner [Sat, 14 Mar 2009 00:34:39 +0000 (01:34 +0100)]
spoolss: fix GetPrinterData buffer helper.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Sat, 14 Mar 2009 02:00:51 +0000 (03:00 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: make spoolss_GetPrinterData out.data ref pointers.
Günther Deschner [Sat, 14 Mar 2009 00:33:41 +0000 (01:33 +0100)]
spoolss: make spoolss_GetPrinterData out.data ref pointers.

Guenther

15 years agos3-spoolss: add push_spoolss_PrinterData().
Günther Deschner [Mon, 16 Mar 2009 15:53:41 +0000 (16:53 +0100)]
s3-spoolss: add push_spoolss_PrinterData().

Guenther

15 years agos3-spoolss: add pull_spoolss_PrinterData().
Günther Deschner [Mon, 16 Mar 2009 15:52:37 +0000 (16:52 +0100)]
s3-spoolss: add pull_spoolss_PrinterData().

Guenther

15 years agos3-spoolss: remove more unused defines.
Günther Deschner [Sat, 14 Mar 2009 00:40:32 +0000 (01:40 +0100)]
s3-spoolss: remove more unused defines.

Guenther

15 years agos3-spoolss: remove obsolete get_a_builtin_ntform.
Günther Deschner [Sat, 14 Mar 2009 00:35:22 +0000 (01:35 +0100)]
s3-spoolss: remove obsolete get_a_builtin_ntform.

Guenther

15 years agos4:build: use SAMBA_PKG_CONFIG_MIN_VERSION instead of PKG_CONFIG_MIN_VERSION
Stefan Metzmacher [Tue, 17 Mar 2009 07:58:04 +0000 (08:58 +0100)]
s4:build: use SAMBA_PKG_CONFIG_MIN_VERSION instead of PKG_CONFIG_MIN_VERSION

And also intialize the variable. This fixes ./autogen.sh
in the merged build for me.

metze

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Tue, 17 Mar 2009 03:19:25 +0000 (14:19 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoadded support for parentGUID
Andrew Tridgell [Tue, 17 Mar 2009 03:18:53 +0000 (14:18 +1100)]
added support for parentGUID

This is made up of 4 parts:

  1) change our schema to include the parentGUID attribute type

  2) in the add hook in the objectclass module, get the objectGUID of
  the parent and add it to the message as parentGUID

  3) in the rename hook in the objectclass module, get the objectGUID
  of the new parent, and insert an async modify request after the
  renmam is done

  4) added a simple test suite

15 years agoAdd some appropriate const.
Jeremy Allison [Mon, 16 Mar 2009 23:38:15 +0000 (16:38 -0700)]
Add some appropriate const.
Jeremy.

15 years agoRemove unused async_req references from wb_reqtrans.c
Volker Lendecke [Mon, 16 Mar 2009 20:02:26 +0000 (21:02 +0100)]
Remove unused async_req references from wb_reqtrans.c

15 years agoConvert wb_trans to tevent_req
Volker Lendecke [Mon, 16 Mar 2009 19:38:11 +0000 (20:38 +0100)]
Convert wb_trans to tevent_req

15 years agoRemove an unnecessary variable
Volker Lendecke [Mon, 16 Mar 2009 19:25:25 +0000 (20:25 +0100)]
Remove an unnecessary variable

15 years agoMake struct wb_context private to wbclient.c
Volker Lendecke [Mon, 16 Mar 2009 19:23:37 +0000 (20:23 +0100)]
Make struct wb_context private to wbclient.c

15 years agoRemove some unused code from async_req.[ch]
Volker Lendecke [Mon, 16 Mar 2009 19:17:45 +0000 (20:17 +0100)]
Remove some unused code from async_req.[ch]

15 years agoUse tevent_wakeup_send in wb_trans
Volker Lendecke [Mon, 16 Mar 2009 19:15:23 +0000 (20:15 +0100)]
Use tevent_wakeup_send in wb_trans

15 years agoConvert open_socket_out_defer to tevent_req
Volker Lendecke [Mon, 16 Mar 2009 18:15:26 +0000 (19:15 +0100)]
Convert open_socket_out_defer to tevent_req

15 years agoUse tevent_wakeup_send in open_socket_out_defer
Volker Lendecke [Mon, 16 Mar 2009 17:43:57 +0000 (18:43 +0100)]
Use tevent_wakeup_send in open_socket_out_defer

15 years agotalloc: change version to 1.3.0
Stefan Metzmacher [Mon, 16 Mar 2009 09:19:09 +0000 (10:19 +0100)]
talloc: change version to 1.3.0

metze

15 years agotalloc: add useful talloc_array_length() macro
Stefan Metzmacher [Mon, 16 Mar 2009 09:16:40 +0000 (10:16 +0100)]
talloc: add useful talloc_array_length() macro

metze

15 years agotalloc: add TALLOC_ZERO()
Stefan Metzmacher [Mon, 16 Mar 2009 09:13:58 +0000 (10:13 +0100)]
talloc: add TALLOC_ZERO()

metze

15 years agos3: only define TALLOC_ZERO if needed
Stefan Metzmacher [Mon, 16 Mar 2009 09:13:34 +0000 (10:13 +0100)]
s3: only define TALLOC_ZERO if needed

metze

15 years agonsswitch: only define TALLOC_ZERO if needed
Stefan Metzmacher [Mon, 16 Mar 2009 09:13:08 +0000 (10:13 +0100)]
nsswitch: only define TALLOC_ZERO if needed

metze

15 years agolib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() are...
Stefan Metzmacher [Fri, 13 Mar 2009 09:20:29 +0000 (10:20 +0100)]
lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() are available

metze

15 years agofix configure check for external talloc libs
Björn Jacke [Mon, 16 Mar 2009 00:06:16 +0000 (01:06 +0100)]
fix configure check for external talloc libs

15 years agos4:password_hash Only store the LM hash if 'lanman auth = yes'
Andrew Bartlett [Wed, 11 Mar 2009 09:01:13 +0000 (20:01 +1100)]
s4:password_hash Only store the LM hash if 'lanman auth = yes'

The clients that do only lanman auth are on their way out, the
passwords are case insensitive, it does not support unicode and we
should not store such a poor hash of the password if we can avoid it.

Andrew Bartlett

15 years agoMerge branch 'sharedm4' of /home/jelmer/samba4
Jelmer Vernooij [Sun, 15 Mar 2009 16:03:17 +0000 (17:03 +0100)]
Merge branch 'sharedm4' of /home/jelmer/samba4

15 years agopython: Always run with the same version of Python as we build against.
Jelmer Vernooij [Sun, 15 Mar 2009 16:02:08 +0000 (17:02 +0100)]
python: Always run with the same version of Python as we build against.

15 years agoFix installation of tdr.h.
Jelmer Vernooij [Sun, 15 Mar 2009 15:49:12 +0000 (16:49 +0100)]
Fix installation of tdr.h.

15 years agoconfigure: Add common file with minimum versions of external libraries.
Jelmer Vernooij [Sun, 15 Mar 2009 15:35:13 +0000 (16:35 +0100)]
configure: Add common file with minimum versions of external libraries.

15 years agoMerge branch 'nodiscard' of /home/jelmer/samba4
Jelmer Vernooij [Sun, 15 Mar 2009 14:39:15 +0000 (15:39 +0100)]
Merge branch 'nodiscard' of /home/jelmer/samba4

15 years agoMerge branch 'tdr' of /home/jelmer/samba4
Jelmer Vernooij [Sun, 15 Mar 2009 13:57:58 +0000 (14:57 +0100)]
Merge branch 'tdr' of /home/jelmer/samba4

15 years agoDepend on newer talloc for Samba 4 in the merged build as well.
Jelmer Vernooij [Sun, 15 Mar 2009 13:55:12 +0000 (14:55 +0100)]
Depend on newer talloc for Samba 4 in the merged build as well.

15 years agoMerge branch 'checktalloc' of /home/jelmer/samba4
Jelmer Vernooij [Sun, 15 Mar 2009 12:52:01 +0000 (13:52 +0100)]
Merge branch 'checktalloc' of /home/jelmer/samba4

15 years agoFix a malloc/talloc mismatch when cli_initialise() fails
Volker Lendecke [Sun, 15 Mar 2009 10:58:07 +0000 (11:58 +0100)]
Fix a malloc/talloc mismatch when cli_initialise() fails

15 years agoAdd queue argument to wb_resp_write
Volker Lendecke [Sun, 15 Mar 2009 10:25:20 +0000 (11:25 +0100)]
Add queue argument to wb_resp_write

15 years agoRemove unused CONST_DISCARD macro.
Jelmer Vernooij [Sun, 15 Mar 2009 02:05:46 +0000 (03:05 +0100)]
Remove unused CONST_DISCARD macro.

15 years agoRemove -L/usr/lib from a couple more make variables.
Jelmer Vernooij [Sat, 14 Mar 2009 23:54:55 +0000 (00:54 +0100)]
Remove -L/usr/lib from a couple more make variables.

15 years agotdr: Remove dependency on lp_* so it can be used in both Samba 3 and
Jelmer Vernooij [Sat, 14 Mar 2009 23:54:29 +0000 (00:54 +0100)]
tdr: Remove dependency on lp_* so it can be used in both Samba 3 and
Samba 4.

15 years agos4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.
Günther Deschner [Sat, 14 Mar 2009 00:36:01 +0000 (01:36 +0100)]
s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.

Guenther

15 years agoMerge branch 'checktalloc' into tdr
Jelmer Vernooij [Sat, 14 Mar 2009 22:02:34 +0000 (23:02 +0100)]
Merge branch 'checktalloc' into tdr

15 years agoProperly strip /usr/lib and /usr/include for the merged build.
Jelmer Vernooij [Sat, 14 Mar 2009 22:01:57 +0000 (23:01 +0100)]
Properly strip /usr/lib and /usr/include for the merged build.

15 years agoFix build of tdr from merged build.
Jelmer Vernooij [Sat, 14 Mar 2009 21:57:02 +0000 (22:57 +0100)]
Fix build of tdr from merged build.

15 years agoMerge branch 'checktalloc' into tdr
Jelmer Vernooij [Sat, 14 Mar 2009 21:09:03 +0000 (22:09 +0100)]
Merge branch 'checktalloc' into tdr

15 years agoDepend on a newer talloc in Samba 4.
Jelmer Vernooij [Sat, 14 Mar 2009 21:07:15 +0000 (22:07 +0100)]
Depend on a newer talloc in Samba 4.

15 years agoMove tdr to top-level.
Jelmer Vernooij [Sat, 14 Mar 2009 20:57:44 +0000 (21:57 +0100)]
Move tdr to top-level.

15 years agoAdd shared pkg.m4 file with convenience macros for using pkg-config.
Jelmer Vernooij [Sat, 14 Mar 2009 20:12:49 +0000 (21:12 +0100)]
Add shared pkg.m4 file with convenience macros for using pkg-config.

15 years agoFix comment about shell in Makefile.
Jelmer Vernooij [Sat, 14 Mar 2009 20:08:09 +0000 (21:08 +0100)]
Fix comment about shell in Makefile.

15 years agoFix fallback if system doesn't provide talloc.
Jelmer Vernooij [Sat, 14 Mar 2009 20:06:41 +0000 (21:06 +0100)]
Fix fallback if system doesn't provide talloc.

15 years agoAllow using external libtalloc.
Jelmer Vernooij [Sat, 14 Mar 2009 19:56:26 +0000 (20:56 +0100)]
Allow using external libtalloc.

15 years agoFix #3954
Volker Lendecke [Sat, 14 Mar 2009 11:39:55 +0000 (12:39 +0100)]
Fix #3954

15 years agos3: Don't return in a void funtion
Tim Prouty [Sat, 14 Mar 2009 05:01:36 +0000 (22:01 -0700)]
s3: Don't return in a void funtion

15 years agoRemove pwd_cache.c, it was doing nothing. Make user_name, domain, and
Jeremy Allison [Sat, 14 Mar 2009 00:49:24 +0000 (17:49 -0700)]
Remove pwd_cache.c, it was doing nothing. Make user_name, domain, and
password talloc'ed strings within the cli_struct.
Jeremy.

15 years agos3 OneFS: Add kernel strict locking support
Dave Richards [Fri, 13 Mar 2009 21:21:40 +0000 (14:21 -0700)]
s3 OneFS: Add kernel strict locking support

15 years agos3: Add strict lock/unlock calls to the vfs layer to replace is_locked
Dave Richards [Fri, 13 Mar 2009 21:15:28 +0000 (14:15 -0700)]
s3: Add strict lock/unlock calls to the vfs layer to replace is_locked

15 years agos4:build: require tevent 0.9.4
Stefan Metzmacher [Fri, 13 Mar 2009 14:50:23 +0000 (15:50 +0100)]
s4:build: require tevent 0.9.4

metze

15 years agotevent: change version to 0.9.4 as the ABI has changed
Stefan Metzmacher [Fri, 13 Mar 2009 14:49:35 +0000 (15:49 +0100)]
tevent: change version to 0.9.4 as the ABI has changed

metze

15 years agos3-spoolss: remove more unused marshalling code.
Günther Deschner [Thu, 12 Mar 2009 12:00:24 +0000 (13:00 +0100)]
s3-spoolss: remove more unused marshalling code.

Guenther

15 years agos3-spoolss: remove some unused functions.
Günther Deschner [Thu, 12 Mar 2009 11:50:20 +0000 (12:50 +0100)]
s3-spoolss: remove some unused functions.

Guenther

15 years agos3-spoolss: remove old spoolss_GetPrinter.
Günther Deschner [Thu, 12 Mar 2009 10:01:18 +0000 (11:01 +0100)]
s3-spoolss: remove old spoolss_GetPrinter.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_GetPrinter.
Günther Deschner [Thu, 12 Mar 2009 09:57:13 +0000 (10:57 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinter.

Guenther

15 years agos3-rpcclient: pure cosmetics for cmd_spoolss_getdriver.
Günther Deschner [Wed, 11 Mar 2009 10:52:34 +0000 (11:52 +0100)]
s3-rpcclient: pure cosmetics for cmd_spoolss_getdriver.

Guenther

15 years agos3-rpcclient: pure cosmetics for cmd_spoolss_getprinter.
Günther Deschner [Wed, 11 Mar 2009 10:52:04 +0000 (11:52 +0100)]
s3-rpcclient: pure cosmetics for cmd_spoolss_getprinter.

Guenther

15 years agos3-rpcclient: pure cosmetics for cmd_spoolss_enum_ports.
Günther Deschner [Wed, 11 Mar 2009 10:48:58 +0000 (11:48 +0100)]
s3-rpcclient: pure cosmetics for cmd_spoolss_enum_ports.

Guenther

15 years agos3-spoolss: use snum_is_shared_printer (allows to make code a little easier to
Günther Deschner [Tue, 10 Mar 2009 23:28:18 +0000 (00:28 +0100)]
s3-spoolss: use snum_is_shared_printer (allows to make code a little easier to
read).

Guenther

15 years agos3-spoolss: add snum_is_shared_printer fn.
Günther Deschner [Tue, 10 Mar 2009 23:27:54 +0000 (00:27 +0100)]
s3-spoolss: add snum_is_shared_printer fn.

Guenther

15 years agos3-spoolss: remove old spoolss_EnumPrinters.
Günther Deschner [Mon, 9 Mar 2009 23:51:56 +0000 (00:51 +0100)]
s3-spoolss: remove old spoolss_EnumPrinters.

Guenther