1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00

109 Commits

Author SHA1 Message Date
Günther Deschner
c1dbcd4cf8 s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
cd5a314b51 s4-smbtorture: fix test_GetPrinterData.
Guenther
2009-02-06 18:37:02 +01:00
Günther Deschner
afe300cb52 s4-smbtorture: fix spoolss enum tests.
Guenther
2009-02-06 17:36:10 +01:00
Günther Deschner
88aaac39fa s4-smbtorture: fix test_EnumPrinterDataEx.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
8ddb81ca0a s4-smbtorture: fix test_GetPrinterDataEx.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
3954cd83aa s4-smbtorture: fix test_GetPrinterDriver2.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
99398e8768 s4-smbtorture: fix test_GetForm.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
d400de2ffa s4-smbtorture: fix test_DoPrintTest.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
6e1c008913 s4-smbtorture: fix test_DoPrintTest.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
0d4dbe6012 s4-smbtorture: fix test_GetPrinterDriverDirectory.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
8153916f4a s4-smbtorture: fix test_GetPrinter.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
22e2f220be s4-smbtorture: fix test_GetJob.
Guenther
2009-02-06 14:59:20 +01:00
Stefan Metzmacher
c41944b9f9 spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any more
metze
(This used to be commit d6cdddbcf37d120cb365bc7f8188858c8776e2e0)
2008-02-13 10:39:25 +01:00
Kai Blin
9532bced6c r26048: spoolss: Fix test_SecondaryClosePrinter.
The test was trying to be too smart. Fixed to not reuse test_ClosePrinter.
(This used to be commit 5f688d1fddd1faac523e491ba3de2b453c8b44ca)
2007-12-21 05:45:47 +01:00
Kai Blin
e35e41a8f9 r26047: spoolss: OpenPrinterEx with an invalid server/printer name returns WERR_INVALID_PARAM
This is observed against a Win2k3 DC, and different tothe WERR_INVALID_PRINTER_NAME
returned by OpenPrinter.
(This used to be commit 7e78dc7cfe695deb2f1f02f03fe00827cded9ce5)
2007-12-21 05:45:46 +01:00
Kai Blin
1eaefd15cb r25642: Fix a small typo.
(This used to be commit 7416a1d606a315174b782d67463f8cec878d18bb)
2007-12-21 05:43:02 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
2f3551ca7c r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
8e2d624a58 r24937: Merge tests spoolss RPC callbacks.
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
3e7203d0b3 r24755: Use common code for finding the RPC binding in the torture tests.
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10 15:03:00 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10 15:02:15 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
5dd8496af6 r23687: not every compiler supports __typeof__()
metze
(This used to be commit d0f77f7bd7520f4cd61c0d0199b917895ea85a1c)
2007-10-10 14:59:01 -05:00
Stefan Metzmacher
403530d0ec r17787: ifdef out unused macros and generate a smb_panic()
when the wrong macro is used on a field.

metze
(This used to be commit dd0f692d19416c82f237661710b814ba20163605)
2007-10-10 14:16:42 -05:00
Jelmer Vernooij
909b111f58 r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
4f1c8daa36 r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
eefe30b7d8 r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
25bb00fbcd r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
acd6a086b3 r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10 13:47:48 -05:00
Stefan Metzmacher
1598aaca95 r11676: as tridge uses 0x%llx in his latest commits...
try to use it every where and see how portable it is

metze
(This used to be commit 66a94de5ddd09df858a515555c01aa3d4f7d3e96)
2007-10-10 13:46:12 -05:00
Stefan Metzmacher
ccaf752e35 r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerData
metze
(This used to be commit 47781fccbc9a4fc3867e4c3959a17765c7e4dc71)
2007-10-10 13:19:03 -05:00
Stefan Metzmacher
88df3c81ee r8050: - make use of more [value()] properties
- the out subcontext's need to have a fixed size of r->in.offered,
  to make windows clients happy

metze
(This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
2007-10-10 13:19:02 -05:00
Stefan Metzmacher
fe94ba6e71 r8046: - add somemore failure checks in the RPC-SPOOLSS test
- test AddForm on the PrintServer object

- GetForm() isn't allowed on the PrintServer object so remove NTPTR
  function for it

- accept the dns name as servername in the spoolss server

metze
(This used to be commit d8c308a4653d59514915021607fe55c5f2b38749)
2007-10-10 13:19:02 -05:00
Andrew Tridgell
ffa3632188 r7650: fixed a typo
(This used to be commit 331afee4ca5bc6a6f7e4fe3333846881424314fe)
2007-10-10 13:18:17 -05:00
Stefan Metzmacher
038628b9c5 r7642: - test NULL server_name in GetPrinterDriverDirectory() too, (same result as "")
- test EnumForms() on the PrintServer (NT4 returns WERR_BADFID)
  (jerry: how do it get the lists of forms in the printserver gui)

metze
(This used to be commit fddfe1f04b3ae594e75d702aba4d17ee4d103b8e)
2007-10-10 13:18:16 -05:00
Stefan Metzmacher
056d63c62f r7580: - add GetPrinterDriverDirectory() idl, torture test and server code
- add EnumMonitors() server code and return "Standard TCP/IP Port"
- add parsing for opening Ports and Monitors with OpenPrinterEx()

metze
(This used to be commit 08e6de37bc293e2f000d03b51642964d92d6e95e)
2007-10-10 13:18:11 -05:00
Stefan Metzmacher
04c3bbe053 r7574: - seperate [in] and [out] buffers and buf_sizes
- use the same names as etherel (offered,needed) for the buffer sizes
  (and they are really independently used)

metze
(This used to be commit f5532a5b74e972f44ed8aa19ee9c5851a4b40f65)
2007-10-10 13:18:11 -05:00
Stefan Metzmacher
56af29caa5 r7464: add newline to printf
metze
(This used to be commit 7123cd1116a464057bfaa0b3fcb881ee96f684cc)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
30da4d8d93 r7369: allow no entries returned by Enum*()
metze
(This used to be commit 3778da9d17778cb215ac08e1dcd6ad8c0fa13dfd)
2007-10-10 13:17:47 -05:00
Stefan Metzmacher
22ae788666 r7346: use StartPagePrinter(), WritePrinter() and EndPagePrinter() to print a few test pages
on each printer
(we don't actually print because we have paused the printer before...)

metze
(This used to be commit 6bccf55ab9dcdd8590684ab46c5b101e2969e7f7)
2007-10-10 13:17:45 -05:00
Stefan Metzmacher
f9716b51cd r7342: submit a test job for each printer and delete this job
metze
(This used to be commit b71d57709733b33e553022271de4ec51f9049a66)
2007-10-10 13:17:44 -05:00
Stefan Metzmacher
6484698ee4 r7340: fix the build
and some more error checks

metze
(This used to be commit da6263d4211d85872a232349164e669c33234d6f)
2007-10-10 13:17:44 -05:00
Stefan Metzmacher
87bbda10bf r7333: Pause and resume each printer
metze
(This used to be commit 191375f41708503e62e14132f691a9b6ec149a1b)
2007-10-10 13:17:43 -05:00
Stefan Metzmacher
d8889b6f8d r7329: test some more PrinterData values
metze
(This used to be commit ad35bfb2250c97571334ab0e9b32b3080cba2e7f)
2007-10-10 13:17:42 -05:00
Stefan Metzmacher
9a831a3963 r7328: fix GetPrinterData and SetPrinterData, with zero length subcontexts
metze
(This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10 13:17:42 -05:00
Stefan Metzmacher
62480f1252 r7120: make use of the new 'noopnum' property and get rid of handwritten
parsing code for the spoolss_Enum* functions, there still same handwritten code needed
but just to stack the autogenerated code into the correct way

metze
(This used to be commit 155d18e8b78afebfb4a84e43e3b4d8fc6c9cc4e2)
2007-10-10 13:17:19 -05:00
Stefan Metzmacher
4baf0b01c4 r6197: fix for my last commit, I removed SPOOLSS_ARCHITECTURE, which was "Architecture"
(sorry richard:-)

disable lookup for DefaultSpoolDirectory until, I have fixed the parsing when WERR_MORE_DATA
is returned

metze
(This used to be commit d5993337b814560cd59d8d08b30fe31e2fb9fd28)
2007-10-10 13:11:25 -05:00
Richard Sharpe
d3911fa5d7 r6195: I think Metze meant SPOOLSS_ARCHITECTURE_NT_X86, but I could be wrong.
(This used to be commit 85c2b8b9447efdcefe16517a5509357262c6229c)
2007-10-10 13:11:25 -05:00