Stefan Metzmacher [Wed, 18 Mar 2009 07:46:38 +0000 (08:46 +0100)]
s3:libsmb: always create bytes array in cli_trans code
Otherwise we return NO_MEMORY without a reason for fragmented trans
requests, as talloc_append_blob() returns buf if we append a 0 length
blob. When we pass buf = NULL we'll get back NULL and then assume
NO_MEMORY...
metze
(cherry picked from commit
88dd6af605dc5754b7e146a068272d37651da710)
Stefan Metzmacher [Wed, 18 Mar 2009 06:56:51 +0000 (07:56 +0100)]
s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requests
Before we send the secondary requests we need to remove the
old mid=>seqnum mapping and reset cli->mid and make the new
mid=>seqnum mapping "persistent".
The bug we had in cli_send_trans was this:
The first cli_send_smb() incremented cli->mid
and the secondary requests used the incremented mid,
but as cli->outbuf still had the correct mid,
we send the correct mid to the server. The real problem
was that the cli_send_smb() function stored the seqnum
under the wrong mid.
cli_send_nttrans() was totally broken and now follows the
same logic as cli_send_trans().
The good thing is that in practice the problem is unlikely to happen,
because max_xmit is large enough to avoid secondary requests.
metze
(cherry picked from commit
880fbc4e8cd67de73c4bcda94489eb1e1422a04b)
Stefan Metzmacher [Thu, 19 Mar 2009 08:06:38 +0000 (09:06 +0100)]
s3:lib/util_sock: use sys_recv() instead of sys_read() on sockets
This ways the pcap support in socket wrapper sees the received data.
metze
(cherry picked from commit
0dfdb7b911ed4fe013fc4a22a8c3a28620277a67)
Björn Jacke [Wed, 18 Mar 2009 18:05:52 +0000 (19:05 +0100)]
fix some typos
Signed-off-by: Michael Adam <obnox@samba.org>
Jeremy Allison [Thu, 19 Mar 2009 04:48:20 +0000 (21:48 -0700)]
Modify simple POSIX open test to use filenames containing a ':'
character. Should stop regressions of bug #6196.
Jeremy.
Jeremy Allison [Thu, 19 Mar 2009 03:56:48 +0000 (20:56 -0700)]
Allow DFS client paths to work when POSIX pathnames have been
selected (we need to path in pathname /that/look/like/this).
Jeremy.
Jeremy Allison [Thu, 19 Mar 2009 03:00:28 +0000 (20:00 -0700)]
Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS client
Looks like the pathname parsing for POSIX paths got
broken when the code for doing Windows streams parsing got added.
Jeremy.
Tim Prouty [Wed, 18 Mar 2009 21:49:50 +0000 (21:49 +0000)]
s3 onefs: Correctly error out when the read returns EOF
Also add some more debugging.
Jeremy Allison [Wed, 18 Mar 2009 22:43:36 +0000 (15:43 -0700)]
Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly.
This is a really nasty one to fix as in order to successfully update the
passdb.tdb we must do the equivalent of a tdbbackup to move to the new hash
values before we do the upgrade.
Jeremy.
Günther Deschner [Wed, 18 Mar 2009 21:49:41 +0000 (22:49 +0100)]
s3: remove POLICY_HND.
Guenther
(cherry picked from commit
531af136f9dd5c6050f78948837294aed02de440)
Günther Deschner [Wed, 18 Mar 2009 14:09:57 +0000 (15:09 +0100)]
s3-rpc_parse: remove some unused parsing code.
Guenther
(cherry picked from commit
7d7b1a8dcc338ea037cc02ef1b2dd9e9f6ce0943)
Günther Deschner [Wed, 18 Mar 2009 20:54:26 +0000 (21:54 +0100)]
s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code.
When _spoolss_GetPrinterData receives a query on a printserver handle for a
value that we have not stored or do not provide, we need to return
WERR_INVALID_PARAM, not WERR_BADFILE. Tested with w2k and w2k3 servers.
Found by torture test.
Guenther
(cherry picked from commit
a1256594b047061d5fce8b7b4234dc725462392d)
Günther Deschner [Wed, 18 Mar 2009 20:36:40 +0000 (21:36 +0100)]
s3-spoolss: fix _spoolss_EnumPrinterDataEx error path.
When a windows clients queries the "" key, we need to make sure to return with
the appropriate error (WERR_INVALID_PARAM in that case), and not fall through
to the buffer size handling macros. Found by torture test.
Guenther
(cherry picked from commit
43182fdff89bc5c238e7a90cf93500cef850ecd5)
Günther Deschner [Wed, 18 Mar 2009 11:22:22 +0000 (12:22 +0100)]
s3-rpc_parse: remove unused BUFFER5 and UNISTR3.
Guenther
(cherry picked from commit
7a85a87edf3a589235b932a3c802278e78da4ec5)
Günther Deschner [Wed, 18 Mar 2009 17:10:01 +0000 (18:10 +0100)]
s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.
Guenther
(cherry picked from commit
e966719049702827c482c5e19783b9a7c725bdb1)
Günther Deschner [Wed, 18 Mar 2009 16:45:30 +0000 (17:45 +0100)]
s3-smbcontrol: use correct PRINTER_NOTIFY flags.
Guenther
(cherry picked from commit
21391f7fbe6c92ba050462750571cda661f5fb8a)
Günther Deschner [Wed, 25 Feb 2009 13:33:59 +0000 (14:33 +0100)]
spoolss: add my copyright.
Guenther
(cherry picked from commit
9d1ab9a0013127d08bad01975a5204e8f63b9ddc)
Günther Deschner [Wed, 18 Mar 2009 15:38:36 +0000 (16:38 +0100)]
s3-spoolss: remove include/rpc_spoolss.h.
Guenther
(cherry picked from commit
7fbdf8aae93f143c879de705936279f42eb8ee6f)
Günther Deschner [Tue, 17 Mar 2009 23:45:35 +0000 (00:45 +0100)]
s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.
Guenther
(cherry picked from commit
36d07858069ed8710a0ad822535074bed77ec130)
Günther Deschner [Tue, 17 Mar 2009 23:43:31 +0000 (00:43 +0100)]
s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether.
Good-Bye, last hand-marshalled rpc functions, rest in peace.
Guenther
(cherry picked from commit
a502392541bcb45babbb8ca57e17306aa726ee9b)
Günther Deschner [Tue, 17 Mar 2009 23:41:47 +0000 (00:41 +0100)]
s3-spoolss: remove old spoolss_EnumPrinterDataEx.
Guenther
(cherry picked from commit
a4e999c7e3214de26bdc7a20d5ec25d4ffdf152d)
Günther Deschner [Tue, 17 Mar 2009 23:38:40 +0000 (00:38 +0100)]
s3-spoolss: use pidl for _spoolss_EnumPrinterDataEx.
Please note that this has been the last call in samba3 that was
using hand-marshalled rpc. With this commit all named pipe rpc services
in samba3 have now fully moved to pidl generated code :-)
Guenther
(cherry picked from commit
0cfb1aea29929c0605d299d71784787aa516bc2a)
Günther Deschner [Wed, 18 Mar 2009 15:37:33 +0000 (16:37 +0100)]
s3-spoolss: use printer and job notify enums provided by idl.
Guenther
(cherry picked from commit
31106cdace883de16d5810386d69fc3da7d37c61)
Günther Deschner [Wed, 18 Mar 2009 15:16:25 +0000 (16:16 +0100)]
s3-spoolss: fix spoolss server after spoolss_Field changes.
Guenther
(cherry picked from commit
e61c9ca36d48167ea14d7d7cc41ac43a803d3aca)
Günther Deschner [Wed, 18 Mar 2009 15:10:52 +0000 (16:10 +0100)]
s3-rpcclient: fix spoolss notify test after spoolss_Field changes.
Guenther
(cherry picked from commit
8b730ca1d8431d8d1eddee9523c64e60e06bc59c)
Günther Deschner [Wed, 18 Mar 2009 15:10:11 +0000 (16:10 +0100)]
s4-smbtorture: fix spoolss notify test after spoolss_Field changes.
Guenther
(cherry picked from commit
9744a7058c1f4805c9ca12080fd8ccffe3a038b8)
Günther Deschner [Wed, 18 Mar 2009 15:06:40 +0000 (16:06 +0100)]
spoolss: add custom ndr_print_spoolss_Field.
Guenther
(cherry picked from commit
65151077b31e8cc4a8bfedd8fb4a186804d36b9a)
Günther Deschner [Wed, 18 Mar 2009 14:48:48 +0000 (15:48 +0100)]
s3: re-run make samba3-idl.
Guenther
(cherry picked from commit
0e21ea39d51583d9395628255dc34c173629a724)
Günther Deschner [Wed, 18 Mar 2009 14:48:06 +0000 (15:48 +0100)]
spoolss: make spoolss_Field a nodiscriminant union of 2 sets of notify flag enums.
Guenther
(cherry picked from commit
f9ddc6ae4ac750dd349f8103d045eb23bc4416a0)
Stefan Metzmacher [Mon, 16 Mar 2009 16:27:30 +0000 (17:27 +0100)]
s3:winbindd: accept new connections via fd events
metze
(cherry picked from commit
93c2057c8b5a3976cda65a9d27dc4dbb9c5c550a)
Stefan Metzmacher [Mon, 16 Mar 2009 15:14:20 +0000 (16:14 +0100)]
s3:winbindd: move non event related code out of process_loop() in the the caller
metze
(cherry picked from commit
3b8dd79f2bc775ed94130565ec2c4383a4864348)
Stefan Metzmacher [Mon, 16 Mar 2009 15:06:12 +0000 (16:06 +0100)]
s3:winbindd: remove unused close_winbindd_socket() function
metze
(cherry picked from commit
0685031ccfc09feb0ad070df1c1a1d0cef5874f2)
Stefan Metzmacher [Mon, 16 Mar 2009 14:55:39 +0000 (15:55 +0100)]
s3:smbd: use tevent_loop_once() in the parent event loop
metze
(cherry picked from commit
450252d2a1981fb04eb62eb095c1b762a96f7727)
Stefan Metzmacher [Mon, 16 Mar 2009 14:47:57 +0000 (15:47 +0100)]
s3:printing: use tevent_loop_wait() instead of manual looping
metze
(cherry picked from commit
b659daf81f31678f7447545d015bd9d1db8811b9)
Stefan Metzmacher [Mon, 16 Mar 2009 13:56:11 +0000 (14:56 +0100)]
s3:printing: use a fd event to monitor the pipe to the parent
metze
(cherry picked from commit
339ea0503d5ce3bf85cf61528956345c73c668c6)
Stefan Metzmacher [Mon, 16 Mar 2009 13:48:40 +0000 (14:48 +0100)]
s3:smbd: don't exit the parent when we have no connections
This code path can't really happen anymore, because
launchd support was removed with commit
e5a951325a6cac8567af3a66de6d2df577508ae4.
But it's confusing to have that code there...
metze
(cherry picked from commit
445b37f4f35ff4256c46dbacc2d3b3a1e47e62b2)
Stefan Metzmacher [Tue, 17 Mar 2009 19:18:31 +0000 (20:18 +0100)]
s4:build: require tevent 0.9.5
metze
(cherry picked from commit
e95d0b548e344dbc8cb3dd0a0f29854711bd0cac)
Stefan Metzmacher [Tue, 17 Mar 2009 19:18:01 +0000 (20:18 +0100)]
tevent: change version to 0.9.5 after the ABI has changed
metze
(cherry picked from commit
7d07266ca26f7069269601043b713a91f1a4693c)
Stefan Metzmacher [Tue, 17 Mar 2009 19:13:34 +0000 (20:13 +0100)]
tevent: store the location where a request was finished
This is very useful to find bugs.
You can use 'p *req' in gdb to show where
tevent_req_done(), tevent_req_error() or tevent_req_nomem()
was called.
metze
(cherry picked from commit
9eaf53d98eced9ea70f411b9936b475c42e4d490)
Stefan Metzmacher [Tue, 17 Mar 2009 09:42:55 +0000 (10:42 +0100)]
tevent: use an immediate event as trigger for tevent_queue
metze
(cherry picked from commit
3a831e46204979550dc6ee7652cea6b8296f10c1)
Stefan Metzmacher [Tue, 17 Mar 2009 09:18:34 +0000 (10:18 +0100)]
tevent: use an immediate event fot tevent_req_post()
Now tevent_req_post() never fails
metze
(cherry picked from commit
4bdf299385220988a4fe16f82aab528283204c7f)
Stefan Metzmacher [Tue, 17 Mar 2009 09:17:50 +0000 (10:17 +0100)]
tevent: use TALLOC_FREE() in tevent_req.c
metze
(cherry picked from commit
a78cd2a24b818bc7d843a8e56ffaafc9f6578662)
Stefan Metzmacher [Mon, 16 Mar 2009 14:06:52 +0000 (15:06 +0100)]
s3:events: add support for immediate events
metze
(cherry picked from commit
6c290586e41b3f5f7748a5b8c782be67cafe6c57)
Stefan Metzmacher [Fri, 13 Mar 2009 14:47:33 +0000 (15:47 +0100)]
tevent: add support for immediate events
They're like directly triggered timed events,
but you can preallocated them and scheduling them
will not fail.
metze
(cherry picked from commit
66886f8966dff8a980a5b9d2daa3fbb20fe5ca8e)
Stefan Metzmacher [Mon, 16 Mar 2009 13:45:42 +0000 (14:45 +0100)]
s3:events: make use of tevent_common_loop_wait()
metze
(cherry picked from commit
d27be1d5fa3fdcaac07b527ad14b0d10ef27c0bb)
Stefan Metzmacher [Mon, 16 Mar 2009 13:15:07 +0000 (14:15 +0100)]
tevent: add tevent_common_loop_wait() helper function and use it
tevent_loop_wait should do the same for all backends.
It should loop as long as we have pending events.
metze
(cherry picked from commit
940e61846e97ba62153d5b977b0823f196607743)
Stefan Metzmacher [Mon, 16 Mar 2009 11:45:48 +0000 (12:45 +0100)]
tevent: check signal events first in event_loop_once
We also check for signal events directly before and after
the select/epoll calls.
metze
(cherry picked from commit
0139befb915006d6ec9fec2734057c5c50b3c383)
Stefan Metzmacher [Mon, 16 Mar 2009 11:34:23 +0000 (12:34 +0100)]
tevent: let tevent_loop_once() just run one fd event
This makes the logic much simpler for the callers,
and matches the samba3 behavior.
If needed we can add performance tunning for tevent_loop_wait()
later.
metze
(cherry picked from commit
3af7db3dce0e5529114f6969e9905c6d4c65dfe8)
Jelmer Vernooij [Sun, 15 Mar 2009 15:35:13 +0000 (16:35 +0100)]
configure: Add common file with minimum versions of external libraries.
(cherry picked from commit
0ea702efaeaadcdcb05e99e838dae1b2dbdd95b9)
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.
(cherry picked from commit
74299582c4989d00a45962836bb02cc7f4b2dd20)
Jelmer Vernooij [Sun, 15 Mar 2009 02:05:46 +0000 (03:05 +0100)]
Remove unused CONST_DISCARD macro.
(cherry picked from commit
75783473d180661257e3f0e3d300179caf34bd8e)
Stefan Metzmacher [Fri, 13 Mar 2009 14:50:23 +0000 (15:50 +0100)]
s4:build: require tevent 0.9.4
metze
(cherry picked from commit
1355dc2fd3a10c54fc3534409b78972d59d59b30)
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
(cherry picked from commit
868f3f5f32eccdf68590cdfc5c42e1af970410d7)
Jelmer Vernooij [Sat, 14 Mar 2009 20:06:41 +0000 (21:06 +0100)]
Fix fallback if system doesn't provide talloc.
(cherry picked from commit
0c72c503faa0506ed25067e623f9263da8e2c94c)
Jelmer Vernooij [Sat, 14 Mar 2009 19:56:26 +0000 (20:56 +0100)]
Allow using external libtalloc.
(cherry picked from commit
61447dfbbfe275e3704ff939480f38629b52064a)
Günther Deschner [Wed, 18 Mar 2009 14:05:44 +0000 (15:05 +0100)]
s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.
Guenther
(cherry picked from commit
9ab8953d74491d7ab4a30c242aa0935efb38f857)
Günther Deschner [Wed, 18 Mar 2009 12:22:51 +0000 (13:22 +0100)]
s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.
Guenther
(cherry picked from commit
9fdeb7f7b319dca5dbd1fdaf24f01fb19e124fe6)
Günther Deschner [Wed, 18 Mar 2009 11:46:40 +0000 (12:46 +0100)]
s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn().
Guenther
(cherry picked from commit
b0747651b94d6d1176dad00277b6135300ed57d7)
Günther Deschner [Wed, 18 Mar 2009 10:25:15 +0000 (11:25 +0100)]
s3-spoolss: add registry_value_to_printer_enum_value.
Guenther
(cherry picked from commit
ef0234256296451517b65113d9f5cfcffa95d736)
Günther Deschner [Wed, 18 Mar 2009 10:22:11 +0000 (11:22 +0100)]
s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro.
Guenther
(cherry picked from commit
f68334129409d1e194877689bb6a691ac4025dc9)
Günther Deschner [Wed, 18 Mar 2009 10:11:05 +0000 (11:11 +0100)]
spoolss: add ndr_size_spoolss_EnumPrinterDataEx_info in spoolss helper.
Guenther
(cherry picked from commit
2687d29f7c4dbb2bbb88a85558cae43c2ce8e7f8)
Günther Deschner [Wed, 18 Mar 2009 10:10:25 +0000 (11:10 +0100)]
spoolss: rename NDR_SPOOLSS_SIZE_ENUM macro to NDR_SPOOLSS_SIZE_ENUM_LEVEL in
spoolss helper.
Guenther
(cherry picked from commit
ec47aac299eeef1fd83448c3ce2fe02892df8e8c)
Günther Deschner [Wed, 18 Mar 2009 02:00:37 +0000 (03:00 +0100)]
s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.
Kai, please check.
Guenther
(cherry picked from commit
342b436691a99fc6c4fb6606e7148e5c7ddd56c1)
Günther Deschner [Wed, 18 Mar 2009 02:11:37 +0000 (03:11 +0100)]
spoolss: fix ndr_push_spoolss_EnumPrinterDataEx.
Guenther
(cherry picked from commit
048013ddaa8b5c65ae6db0d8dbfd1e7082f75fc5)
Günther Deschner [Wed, 18 Mar 2009 01:33:18 +0000 (02:33 +0100)]
s3-spoolss: use rpccli_spoolss_enumprinterdataex in ldap_printer.c.
Guenther
(cherry picked from commit
cd7f62ab70337ccee7ba652e7d9ed8d299938bff)
Günther Deschner [Wed, 18 Mar 2009 00:39:49 +0000 (01:39 +0100)]
s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.
sorry, I could swear this did compile...
Guenther
(cherry picked from commit
6e52c232c7c761a7b7d0ea4ec94214f580a481a7)
Günther Deschner [Tue, 17 Mar 2009 23:38:01 +0000 (00:38 +0100)]
s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.
Guenther
(cherry picked from commit
9d024d17153ad10b0df0531480b2a0a43f910dba)
Günther Deschner [Wed, 18 Mar 2009 00:06:22 +0000 (01:06 +0100)]
s3-net: use rpccli_spoolss_enumprinterdataex.
Guenther
(cherry picked from commit
f9712d568ab6331be5a62a34ce60331013ccd253)
Günther Deschner [Tue, 17 Mar 2009 22:45:16 +0000 (23:45 +0100)]
s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper.
Guenther
(cherry picked from commit
8c3ef2d9004f3c540bae21b92e0b568008bc1130)
Günther Deschner [Tue, 17 Mar 2009 22:39:00 +0000 (23:39 +0100)]
s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.
Guenther
(cherry picked from commit
ab85fc78bd932aca14103352f784a4b5f2909f3a)
Günther Deschner [Tue, 17 Mar 2009 23:35:44 +0000 (00:35 +0100)]
spoolss: add ndr_push/pull_spoolss_EnumPrinterDataEx helper.
Guenther
(cherry picked from commit
18a93e3e62f29448f34f9af84aba54eedb26fe21)
Günther Deschner [Wed, 18 Mar 2009 00:08:38 +0000 (01:08 +0100)]
s3: re-run make samba3-idl.
Guenther
(cherry picked from commit
b1d4523f73afd83e0170bac653814b59c4d68b6e)
Günther Deschner [Tue, 17 Mar 2009 23:36:31 +0000 (00:36 +0100)]
spoolss: add spoolss_EnumPrinterDataEx triple call.
Guenther
(cherry picked from commit
19ea2a54865f953663e30b7561b47f0a18e79faf)
Günther Deschner [Wed, 18 Mar 2009 00:07:49 +0000 (01:07 +0100)]
s3: re-run make samba3-idl.
Guenther
(cherry picked from commit
2dae07a3ca62670d384937df2e4e9d6f54c99619)
Günther Deschner [Tue, 17 Mar 2009 23:36:54 +0000 (00:36 +0100)]
spoolss: fix spoolss_PrinterEnumValues w.r.t. size calculation of PrinterData.
Guenther
(cherry picked from commit
4fb79b4fe78e89b7bbee5b280294037f43e0e2a1)
Jeremy Allison [Tue, 17 Mar 2009 22:38:07 +0000 (15:38 -0700)]
Merge branch 'v3-4-test' of ssh://jra@git.samba.org/data/git/samba into v3-4-test
Alexander Zagrebin [Tue, 17 Mar 2009 22:37:19 +0000 (15:37 -0700)]
Missing break in conversion function prevents tdb password database update.
Timur [Tue, 17 Mar 2009 21:46:53 +0000 (22:46 +0100)]
build: fix detection of netinet/ip.h on FreeBSD
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
a3d04991ef409591a7c8b9fbb01e024bd5aaa041)
Timur [Tue, 17 Mar 2009 21:45:28 +0000 (22:45 +0100)]
build: format the header check for netinet/ip.h more nicely
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
e8aa7169a6672bd32af6c5580f6e8ec7e99511bc)
Steve Langasek [Tue, 17 Mar 2009 21:08:28 +0000 (22:08 +0100)]
s3: Fix bugs in the detection of the GNU ld version (Bug #6147)
This bug results in a failure to use linker scripts to limit the set of symbols
exported by our shared libraries.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
c6b570ce30b5cc3631c0ed780826d5450f681800)
Jeremy Allison [Tue, 17 Mar 2009 22:01:20 +0000 (15:01 -0700)]
Remove the global "struct cm_cred_struct" and associated calls, make
callers pass in a struct user_auth_info * instead. This commit causes
smbc_set_credentials() to print out a message telling callers to use
smbc_set_credentials_with_fallback() instead, as smbc_set_credentials()
has a broken API (no SMBCCTX * pointer). No more global variables used
in the connection manager API for client dfs calls.
Jeremy.
Jeremy Allison [Tue, 17 Mar 2009 22:01:10 +0000 (15:01 -0700)]
Add some appropriate const.
Jeremy.
Günther Deschner [Tue, 17 Mar 2009 19:50:59 +0000 (20:50 +0100)]
s3-rpcclient: say that we are displaying a REG_MULTI_SZ in display_reg_value().
Guenther
(cherry picked from commit
153a837bd61338c0b912c43458900224de0654f7)
Günther Deschner [Tue, 17 Mar 2009 19:52:58 +0000 (20:52 +0100)]
s3: re-run make samba3-idl.
Guenther
(cherry picked from commit
4d701536bfc8b44c1c6babc2d6a32840c67bef9a)
Günther Deschner [Mon, 16 Mar 2009 20:09:36 +0000 (21:09 +0100)]
spoolss: add spoolss_PrinterEnumValues.
Guenther
(cherry picked from commit
b12c3178efd3e640fc5de6418d2fb0074dd84d4e)
Volker Lendecke [Mon, 16 Mar 2009 12:17:04 +0000 (13:17 +0100)]
Fix #6130: Don't crash in winbindd_rpc lookup_groupmem() on unmapped members
Thanks to François Legal <devel@thom.fr.eu.org> for reporting this bug
Günther Deschner [Tue, 17 Mar 2009 17:36:43 +0000 (18:36 +0100)]
s3-spoolss: remove unused RPC_BUFFER definition.
Guenther
(cherry picked from commit
77d2cd1ff7dab3a7a76449bfb3fe1d6e80df292b)
Günther Deschner [Tue, 17 Mar 2009 17:34:45 +0000 (18:34 +0100)]
s3-spoolss: remove (disabled) enum_all_printers_info_1_remote.
Jerry, please check. I do not understand how this could work and in
it's current form, we cannot make this even compile anymore, I'm afraid :)
I think it is safe to remove.
Guenther
(cherry picked from commit
b57d5eaac03b38a605fb8853dbb18c208461b0bb)
Günther Deschner [Tue, 17 Mar 2009 17:03:36 +0000 (18:03 +0100)]
s4-smbtorture: fix spoolss notify test for notify type changes.
Guenther
(cherry picked from commit
fac7208273a24fa35d3274df28aea3bb87374861)
Günther Deschner [Tue, 17 Mar 2009 17:03:10 +0000 (18:03 +0100)]
s3-spoolss: remove PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE now defined in IDL.
Guenther
(cherry picked from commit
7f90a89d609c48b7fe33e29c98ca903896083889)
Günther Deschner [Tue, 17 Mar 2009 16:31:18 +0000 (17:31 +0100)]
s3-spoolss: remove SPL Port definitions now in IDL.
Guenther
(cherry picked from commit
479d91ae9f0868f02dd70b80e3033eb9ff166541)
Günther Deschner [Tue, 17 Mar 2009 16:25:07 +0000 (17:25 +0100)]
s3-spoolss: remove PRIORITY defines, that were never used.
Guenther
(cherry picked from commit
9b5666aa70fda80220347a7a1a6a07e4c1d121a8)
Günther Deschner [Tue, 17 Mar 2009 16:24:47 +0000 (17:24 +0100)]
s3: re-run make samba3-idl.
Guenther
(cherry picked from commit
f32cf73019bb45b30f3fb0151dad3e65d7694d46)
Günther Deschner [Tue, 17 Mar 2009 17:01:11 +0000 (18:01 +0100)]
spoolss: use PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE in favor of "old" s4 defines.
Guenther
(cherry picked from commit
289cfb269b486a0a2f8376ead77fd64ad7c012d4)
Günther Deschner [Tue, 17 Mar 2009 16:30:07 +0000 (17:30 +0100)]
spoolss: add SPL Port definitions to IDL.
Guenther
(cherry picked from commit
a264bc68f0e44fb561fe61613b5cf3c7b5e8385f)
Günther Deschner [Tue, 17 Mar 2009 16:24:01 +0000 (17:24 +0100)]
spoolss: add range checks for priority element in spoolss_JobInfo structs.
Guenther
(cherry picked from commit
f94a6f4801e5b2b83e5f4888aba21f3647e23f9a)
Günther Deschner [Tue, 17 Mar 2009 16:17:18 +0000 (17:17 +0100)]
s3-spoolss: move DRIVER_X_VERSION flags into the backend, where they belong to.
Guenther
(cherry picked from commit
4cb3cbea84c6cf30b123eb5070905eeed5aba4d7)
Günther Deschner [Tue, 17 Mar 2009 15:41:16 +0000 (16:41 +0100)]
s3-spoolss: remove unused DEVICEMODE parsing and header.
Guenther
(cherry picked from commit
f19faa0e768f477c26b92f87905cfdb7245dbaa1)
Günther Deschner [Tue, 17 Mar 2009 14:26:38 +0000 (15:26 +0100)]
s3-spoolss: rename convert_printer_info_new to convert_printer_info.
Guenther
(cherry picked from commit
5778a36357f1560b9a8e5828cf789be4357ceb0c)
Günther Deschner [Tue, 17 Mar 2009 14:25:07 +0000 (15:25 +0100)]
s3-spoolss: rename convert_nt_devicemode_new to convert_nt_devicemode.
Guenther
(cherry picked from commit
1e7f602f8c1c19761758eee4e3287d711ff6cf92)