amitay/samba.git
14 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 11:52:56 +0000 (13:52 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agos3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Günther Deschner [Fri, 30 Apr 2010 11:52:14 +0000 (13:52 +0200)]
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).

Guenther

14 years agos4-smbtorture: pause and resume printq in RAP-PRINTING test.
Günther Deschner [Fri, 30 Apr 2010 11:38:49 +0000 (13:38 +0200)]
s4-smbtorture: pause and resume printq in RAP-PRINTING test.

Guenther

14 years agos4-smbtorture: use rap_status in smbcli_rap_* functions.
Günther Deschner [Fri, 30 Apr 2010 11:36:59 +0000 (13:36 +0200)]
s4-smbtorture: use rap_status in smbcli_rap_* functions.

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 11:42:02 +0000 (13:42 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: use rap_status in IDL.
Günther Deschner [Fri, 30 Apr 2010 11:38:04 +0000 (13:38 +0200)]
rap: use rap_status in IDL.

Guenther

14 years agorap: add rap_status to IDL.
Günther Deschner [Fri, 30 Apr 2010 11:35:41 +0000 (13:35 +0200)]
rap: add rap_status to IDL.

Guenther

14 years agos4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().
Günther Deschner [Fri, 30 Apr 2010 11:34:20 +0000 (13:34 +0200)]
s4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().

Guenther

14 years agos4-smbtorture: add test_netprintq to RAP-PRINTING.
Günther Deschner [Fri, 30 Apr 2010 09:57:40 +0000 (11:57 +0200)]
s4-smbtorture: add test_netprintq to RAP-PRINTING.

Guenther

14 years agos4-smbtorture: add smbcli_rap_netprintqueuepause().
Günther Deschner [Fri, 30 Apr 2010 09:57:14 +0000 (11:57 +0200)]
s4-smbtorture: add smbcli_rap_netprintqueuepause().

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 30 Apr 2010 09:56:47 +0000 (11:56 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.
Günther Deschner [Fri, 30 Apr 2010 09:55:18 +0000 (11:55 +0200)]
rap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.

it seems like they are not documented (at least not in MS-RAP).

Guenther

14 years agopidl: Fix display field for time fields with newer versions of Wireshark.
Jeff Morriss [Thu, 29 Apr 2010 22:11:54 +0000 (00:11 +0200)]
pidl: Fix display field for time fields with newer versions of Wireshark.

Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME.
Starting some time not too long ago, these fields need a 'display' field
other than BASE_NONE or BASE_DEC.  This commit fixes this,
*assuming* that all the times are "local."

14 years agoCarefully label SMB1-specific locking calls.
Jeremy Allison [Fri, 30 Apr 2010 00:08:12 +0000 (17:08 -0700)]
Carefully label SMB1-specific locking calls.

Jeremy.

14 years agoMove the global blocking lock records into the smb1 state.
Jeremy Allison [Thu, 29 Apr 2010 23:50:15 +0000 (16:50 -0700)]
Move the global blocking lock records into the smb1 state.

Jeremy

14 years agos4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.
Günther Deschner [Thu, 29 Apr 2010 23:45:44 +0000 (01:45 +0200)]
s4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:45:24 +0000 (01:45 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: fix rap_PrintQueue2 and rap_PrintQueue4.
Günther Deschner [Thu, 29 Apr 2010 23:44:58 +0000 (01:44 +0200)]
rap: fix rap_PrintQueue2 and rap_PrintQueue4.

Guenther

14 years agorap: let the rap print function be autogenerated again.
Günther Deschner [Thu, 29 Apr 2010 23:11:44 +0000 (01:11 +0200)]
rap: let the rap print function be autogenerated again.

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:21:13 +0000 (01:21 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: use astring in IDL.
Günther Deschner [Thu, 29 Apr 2010 21:27:27 +0000 (23:27 +0200)]
rap: use astring in IDL.

Guenther

14 years agos4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.
Günther Deschner [Thu, 29 Apr 2010 17:26:12 +0000 (19:26 +0200)]
s4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.

Guenther

14 years agos4-smbtorture: add rap_pull_rap_PrintQueue4.
Günther Deschner [Thu, 29 Apr 2010 17:24:20 +0000 (19:24 +0200)]
s4-smbtorture: add rap_pull_rap_PrintQueue4.

Guenther

14 years agos4-smbtorture: add rap_pull_rap_PrintQueue2.
Günther Deschner [Thu, 29 Apr 2010 17:23:53 +0000 (19:23 +0200)]
s4-smbtorture: add rap_pull_rap_PrintQueue2.

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:20:34 +0000 (01:20 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: fill in rap_PrintQueue4 IDL.
Günther Deschner [Thu, 29 Apr 2010 17:21:59 +0000 (19:21 +0200)]
rap: fill in rap_PrintQueue4 IDL.

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:19:53 +0000 (01:19 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: fix jobinfo IDL.
Günther Deschner [Thu, 29 Apr 2010 17:20:07 +0000 (19:20 +0200)]
rap: fix jobinfo IDL.

Guenther

14 years agos4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.
Günther Deschner [Thu, 29 Apr 2010 17:21:40 +0000 (19:21 +0200)]
s4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.

Guenther

14 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 29 Apr 2010 23:19:20 +0000 (01:19 +0200)]
s3: re-run make samba3-idl.

Guenther

14 years agorap: fix some rap_PrintQueue IDL structures.
Günther Deschner [Thu, 29 Apr 2010 17:20:56 +0000 (19:20 +0200)]
rap: fix some rap_PrintQueue IDL structures.

Guenther

14 years agos4-smbtorture: add test_netprintjob() to RAP-PRINTING.
Günther Deschner [Thu, 29 Apr 2010 17:24:50 +0000 (19:24 +0200)]
s4-smbtorture: add test_netprintjob() to RAP-PRINTING.

Guenther

14 years agoAttempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
Jeremy Allison [Thu, 29 Apr 2010 20:40:25 +0000 (13:40 -0700)]
Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.

Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>.

Jeremy.

14 years agos3: range-check idmap script output
Volker Lendecke [Thu, 29 Apr 2010 10:14:08 +0000 (12:14 +0200)]
s3: range-check idmap script output

Not doing so results in the id mapping succeeding once unchecked and later on
being refused, because when reading from the tdb we do the checks.

14 years agos3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()
Volker Lendecke [Thu, 29 Apr 2010 10:11:04 +0000 (12:11 +0200)]
s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()

When we find an invalid record in the database, there's no point in checking
the non-existing value against the range limits.

14 years agos3: Fix some nonempty blank lines
Volker Lendecke [Thu, 29 Apr 2010 10:09:48 +0000 (12:09 +0200)]
s3: Fix some nonempty blank lines

14 years agos4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.
Günther Deschner [Thu, 29 Apr 2010 12:22:55 +0000 (14:22 +0200)]
s4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.

Guenther

14 years agorap: add IDL for NetPrintJob{Pause,Continue,Delete}.
Günther Deschner [Thu, 29 Apr 2010 12:12:14 +0000 (14:12 +0200)]
rap: add IDL for NetPrintJob{Pause,Continue,Delete}.

Guenther

14 years agos3-lanman: fix api_DosPrintQGetInfo().
Günther Deschner [Thu, 29 Apr 2010 11:27:58 +0000 (13:27 +0200)]
s3-lanman: fix api_DosPrintQGetInfo().

Found by torture test.

Guenther

14 years agos4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.
Günther Deschner [Thu, 29 Apr 2010 11:19:23 +0000 (13:19 +0200)]
s4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.

Guenther

14 years agos4-smbtorture: add smbcli_rap_netprintqgetinfo().
Günther Deschner [Thu, 29 Apr 2010 11:18:33 +0000 (13:18 +0200)]
s4-smbtorture: add smbcli_rap_netprintqgetinfo().

Guenther

14 years agorap: add rap_NetPrintQGetInfo to IDL.
Günther Deschner [Thu, 29 Apr 2010 10:16:17 +0000 (12:16 +0200)]
rap: add rap_NetPrintQGetInfo to IDL.

Guenther

14 years agos4-smbtorture: rework smbcli_rap_netprintqenum a bit.
Günther Deschner [Thu, 29 Apr 2010 11:17:27 +0000 (13:17 +0200)]
s4-smbtorture: rework smbcli_rap_netprintqenum a bit.

Guenther

14 years agos4: remove unused references to swat
Stefan Metzmacher [Thu, 29 Apr 2010 05:51:32 +0000 (07:51 +0200)]
s4: remove unused references to swat

metze

14 years agos4:dynconfig: fix fhs variables and list them all explicit
Stefan Metzmacher [Thu, 29 Apr 2010 06:29:56 +0000 (08:29 +0200)]
s4:dynconfig: fix fhs variables and list them all explicit

This adds 'samba' subdirs to smb.conf and setup.

metze

14 years agos4:dynconfig: reorder non fhs variables
Stefan Metzmacher [Thu, 29 Apr 2010 06:29:45 +0000 (08:29 +0200)]
s4:dynconfig: reorder non fhs variables

metze

14 years agorap: fill in rap_PrintQueue2 IDL.
Günther Deschner [Thu, 29 Apr 2010 00:41:51 +0000 (02:41 +0200)]
rap: fill in rap_PrintQueue2 IDL.

Guenther

14 years agos4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.
Günther Deschner [Thu, 29 Apr 2010 00:39:44 +0000 (02:39 +0200)]
s4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.

Guenther

14 years agos4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Günther Deschner [Wed, 28 Apr 2010 23:13:06 +0000 (01:13 +0200)]
s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).

Guenther

14 years agos3-pdb_ldap: fix memleak.
Günther Deschner [Wed, 28 Apr 2010 22:52:17 +0000 (00:52 +0200)]
s3-pdb_ldap: fix memleak.

Guenther

14 years agos3-lanman: fix api_DosPrintQEnum.
Günther Deschner [Wed, 28 Apr 2010 22:29:05 +0000 (00:29 +0200)]
s3-lanman: fix api_DosPrintQEnum.

Found by torture test.

Guenther

14 years agos4-rap: add rap print helpers.
Günther Deschner [Wed, 28 Apr 2010 21:42:00 +0000 (23:42 +0200)]
s4-rap: add rap print helpers.

Guenther

14 years agos4:libnet Make 'net vampire' more robust to command line arguments
Andrew Bartlett [Wed, 28 Apr 2010 22:51:01 +0000 (08:51 +1000)]
s4:libnet Make 'net vampire' more robust to command line arguments

When we have just joined a domain, we know a bit about that domain.
Use these to override previous guesses as to what domain and realm to
use for the rest of the join.

Andrew Bartlett

14 years agos4:howto Improve OpenLDAP backend instructions
Andrew Bartlett [Wed, 28 Apr 2010 21:58:48 +0000 (07:58 +1000)]
s4:howto Improve OpenLDAP backend instructions

14 years agos4/rodc: RODC FAS initial implementation
Anatoliy Atanasov [Mon, 26 Apr 2010 06:56:59 +0000 (09:56 +0300)]
s4/rodc: RODC FAS initial implementation

14 years agos4/tort: Add simple unit test for dsdb_schema_info object creation
Kamen Mazdrashki [Fri, 23 Apr 2010 22:21:15 +0000 (01:21 +0300)]
s4/tort: Add simple unit test for dsdb_schema_info object creation

14 years agos4/dsdb: schemaInfo revision may be 0
Kamen Mazdrashki [Fri, 23 Apr 2010 13:35:21 +0000 (16:35 +0300)]
s4/dsdb: schemaInfo revision may be 0

In case schemaInfo value is still not set, WinAD supplies
schemaInfo blob with revision = 0 and GUID_ZERO

14 years agos4/dsdb: remove unused dsdb_schema_info_create() function
Kamen Mazdrashki [Fri, 23 Apr 2010 12:37:10 +0000 (15:37 +0300)]
s4/dsdb: remove unused dsdb_schema_info_create() function

14 years agos4/dsdb: Update Schema cache with updated schemaInfo value
Kamen Mazdrashki [Thu, 22 Apr 2010 15:11:39 +0000 (18:11 +0300)]
s4/dsdb: Update Schema cache with updated schemaInfo value

Error checking is simplified and my leave leeks.
I did it this way to make code more readable, and if we
get error in those lines, it will be WERR_NOMEM in which
case we are in a much deeper troubles than delayed freeing
of few bytes.

14 years agos4/samldb: Create initial schemaInfo value if it doesn't exists yet
Kamen Mazdrashki [Thu, 22 Apr 2010 14:59:22 +0000 (17:59 +0300)]
s4/samldb: Create initial schemaInfo value if it doesn't exists yet

14 years agos4/dsdb: Use default schemaInfo value when no such value is given
Kamen Mazdrashki [Thu, 22 Apr 2010 14:24:15 +0000 (17:24 +0300)]
s4/dsdb: Use default schemaInfo value when no such value is given

Having no value for schemaInfo is totally OK as it turns out.
In such cases, we should use a default value with
all fields set to 0.

14 years agos4/test: schemaInfo may not to be set yet
Kamen Mazdrashki [Thu, 22 Apr 2010 01:39:04 +0000 (04:39 +0300)]
s4/test: schemaInfo may not to be set yet

On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification

14 years agoRevert "s4/dsdb: Set schemaInfo attribute value during provisioning"
Kamen Mazdrashki [Wed, 21 Apr 2010 23:55:03 +0000 (02:55 +0300)]
Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"

This reverts commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26.

Windows implementation does not set schemaInfo attribute value
until first Schema update request.
This way, newly provisioned forest returns no schemaInfo value.

I think it won't be bad for us to have this value preset, but
I want to mimic Win AD behavior as close as possible.

14 years agoidl: we only need ndr_rap.[ch] and rap.h
Andrew Tridgell [Wed, 28 Apr 2010 23:22:12 +0000 (09:22 +1000)]
idl: we only need ndr_rap.[ch] and rap.h

14 years agos4-idl: added generated files from rap.idl
Andrew Tridgell [Wed, 28 Apr 2010 22:26:19 +0000 (08:26 +1000)]
s4-idl: added generated files from rap.idl

14 years agos4-waf: added --enable-build-farm configure option
Andrew Tridgell [Wed, 28 Apr 2010 21:47:57 +0000 (07:47 +1000)]
s4-waf: added --enable-build-farm configure option

this adds a smbtorture.static binary which s3 will use in the build
farm

14 years agobuild: added enabled=True/False option to SAMBA_BINARY()
Andrew Tridgell [Wed, 28 Apr 2010 21:47:19 +0000 (07:47 +1000)]
build: added enabled=True/False option to SAMBA_BINARY()

14 years agoUpdate (C) for 2010.
Jeremy Allison [Wed, 28 Apr 2010 21:56:12 +0000 (14:56 -0700)]
Update (C) for 2010.

Jeremy.

14 years agos4-selftest: skip RAP-PRINTING tests.
Günther Deschner [Wed, 28 Apr 2010 21:20:46 +0000 (23:20 +0200)]
s4-selftest: skip RAP-PRINTING tests.

Guenther

14 years agos3-selftest: enable RAP-PRINTING against s3.
Günther Deschner [Wed, 28 Apr 2010 21:19:33 +0000 (23:19 +0200)]
s3-selftest: enable RAP-PRINTING against s3.

Guenther

14 years agos3-lanman: support level 0 NetPrintQEnum RAP query.
Günther Deschner [Wed, 28 Apr 2010 21:11:37 +0000 (23:11 +0200)]
s3-lanman: support level 0 NetPrintQEnum RAP query.

Guenther

14 years agos4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
Günther Deschner [Wed, 28 Apr 2010 21:08:14 +0000 (23:08 +0200)]
s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.

Guenther

14 years agos4-smbtorture: add test for rap_NetPrintQEnum.
Günther Deschner [Wed, 28 Apr 2010 16:29:18 +0000 (18:29 +0200)]
s4-smbtorture: add test for rap_NetPrintQEnum.

Guenther

14 years agos4-smbtorture: add RAP-PRINTING suite.
Günther Deschner [Fri, 23 Apr 2010 22:45:40 +0000 (00:45 +0200)]
s4-smbtorture: add RAP-PRINTING suite.

Guenther

14 years agos4-smbtorture: add smbcli_rap_netprintqenum.
Günther Deschner [Wed, 28 Apr 2010 10:50:58 +0000 (12:50 +0200)]
s4-smbtorture: add smbcli_rap_netprintqenum.

Guenther

14 years agos3: re-run make samba3-idl
Günther Deschner [Wed, 28 Apr 2010 15:43:47 +0000 (17:43 +0200)]
s3: re-run make samba3-idl

Guenther

14 years agorap: add rap_NetPrintQEnum to IDL.
Günther Deschner [Wed, 28 Apr 2010 10:50:45 +0000 (12:50 +0200)]
rap: add rap_NetPrintQEnum to IDL.

Guenther

14 years agoConnect set security descriptor into SMB2 code.
Jeremy Allison [Wed, 28 Apr 2010 21:13:22 +0000 (14:13 -0700)]
Connect set security descriptor into SMB2 code.

Jeremy.

14 years agos4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
Günther Deschner [Wed, 28 Apr 2010 15:03:30 +0000 (17:03 +0200)]
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.

Guenther

14 years agos4-smbtorture: add a test that adds a printer incl. devicemode.
Günther Deschner [Wed, 28 Apr 2010 15:00:53 +0000 (17:00 +0200)]
s4-smbtorture: add a test that adds a printer incl. devicemode.

Guenther

14 years agos3:smbd: make fsp->fake_file_handle a talloc child of fsp
Stefan Metzmacher [Tue, 27 Apr 2010 13:20:25 +0000 (15:20 +0200)]
s3:smbd: make fsp->fake_file_handle a talloc child of fsp

metze

14 years agos3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
Stefan Metzmacher [Wed, 28 Apr 2010 12:36:10 +0000 (14:36 +0200)]
s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()

metze

14 years agos4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
Stefan Metzmacher [Wed, 28 Apr 2010 10:27:09 +0000 (12:27 +0200)]
s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW

metze

14 years agolibcli/named_pipe_auth: we need to hide length of the message mode header from the...
Stefan Metzmacher [Wed, 28 Apr 2010 08:43:19 +0000 (10:43 +0200)]
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller

metze

14 years agos4:web_server: use tsocket_address functions to get the local ip and port
Stefan Metzmacher [Wed, 28 Apr 2010 12:52:40 +0000 (14:52 +0200)]
s4:web_server: use tsocket_address functions to get the local ip and port

metze
(cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)

14 years agos4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer...
Günther Deschner [Wed, 28 Apr 2010 11:34:31 +0000 (13:34 +0200)]
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.

Guenther

14 years agos4/net_drs: Fix Connection name printed
Kamen Mazdrashki [Mon, 26 Apr 2010 12:48:18 +0000 (15:48 +0300)]
s4/net_drs: Fix Connection name printed

14 years agos4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID
Kamen Mazdrashki [Sun, 25 Apr 2010 21:22:53 +0000 (00:22 +0300)]
s4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID

This function is used in DRSUpdateRefs() implementation where we
get DSA's objectGUID rather than invocationId

14 years agos3: Make a debug msg more readable
Volker Lendecke [Wed, 28 Apr 2010 08:54:57 +0000 (10:54 +0200)]
s3: Make a debug msg more readable

14 years agoFix the "allow_smb2" bug being set to false that was driving me mad :-).
Jeremy Allison [Wed, 28 Apr 2010 05:15:17 +0000 (22:15 -0700)]
Fix the "allow_smb2" bug being set to false that was driving me mad :-).

The first packet from a rebooted Win7 on an SMB2 connection is an SMB1
negprot...

Jeremy.

14 years agos4:provisionbackend Don't loop forever waiting for OpenLDAP
Andrew Bartlett [Wed, 28 Apr 2010 00:39:05 +0000 (10:39 +1000)]
s4:provisionbackend Don't loop forever waiting for OpenLDAP

We need to give a good error when we can't get OpenLDAP to accept our
connections.

Andrew Bartlett

14 years agoDon't return a potentially uninitialized NT_STATUS. We can now see user lists in...
Jeremy Allison [Wed, 28 Apr 2010 00:09:40 +0000 (17:09 -0700)]
Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.

Jeremy.

14 years agoAdd debug statements so I can track the flow of RPC data.
Jeremy Allison [Wed, 28 Apr 2010 00:07:44 +0000 (17:07 -0700)]
Add debug statements so I can track the flow of RPC data.

Jeremy.

14 years agos3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().
Günther Deschner [Tue, 27 Apr 2010 23:11:19 +0000 (01:11 +0200)]
s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().

With this, I think, all implemented RAP printing calls are routed over SPOOLSS.
Torture tests to follow...

Guenther

14 years agos3-lanman: fix debug message in api_WPrintJobEnumerate().
Günther Deschner [Tue, 27 Apr 2010 23:10:49 +0000 (01:10 +0200)]
s3-lanman: fix debug message in api_WPrintJobEnumerate().

Guenther

14 years agos3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().
Günther Deschner [Tue, 27 Apr 2010 23:07:08 +0000 (01:07 +0200)]
s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().

Guenther

14 years agos3-lanman: remove unused code.
Günther Deschner [Tue, 27 Apr 2010 21:12:40 +0000 (23:12 +0200)]
s3-lanman: remove unused code.

Guenther

14 years agos3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.
Günther Deschner [Tue, 27 Apr 2010 20:55:11 +0000 (22:55 +0200)]
s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.

Guenther

14 years agoDon't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy Allison [Tue, 27 Apr 2010 23:07:12 +0000 (16:07 -0700)]
Don't return an intermediate reply on async on a pipe call (Windows doesn't).

Jeremy.

14 years agos3-lanman: use spoolss for api_PrintJobInfo().
Günther Deschner [Tue, 27 Apr 2010 17:58:32 +0000 (19:58 +0200)]
s3-lanman: use spoolss for api_PrintJobInfo().

Guenther