Jeremy Allison
a00a9e4e2c
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.
2009-03-18 20:01:33 -07:00
Tim Prouty
710948c788
s3 onefs: Correctly error out when the read returns EOF
...
Also add some more debugging.
2009-03-18 16:51:41 -07:00
Jeremy Allison
f942cb616e
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.
2009-03-18 15:44:13 -07:00
Günther Deschner
531af136f9
s3: remove POLICY_HND.
...
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
7d7b1a8dcc
s3-rpc_parse: remove some unused parsing code.
...
Guenther
2009-03-18 22:02:23 +01:00
Günther Deschner
a1256594b0
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
2009-03-18 21:57:07 +01:00
Günther Deschner
43182fdff8
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
2009-03-18 21:56:38 +01:00
Günther Deschner
7a85a87edf
s3-rpc_parse: remove unused BUFFER5 and UNISTR3.
...
Guenther
2009-03-18 20:17:01 +01:00
Günther Deschner
e966719049
s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.
...
Guenther
2009-03-18 20:01:51 +01:00
Zach Loafman
8595f260eb
s4 libcli: Add back Longhorn beta dialect as a constant
...
Also tweak how the dialect array and count is initialized.
2009-03-18 11:03:33 -07:00
Günther Deschner
21391f7fbe
s3-smbcontrol: use correct PRINTER_NOTIFY flags.
...
Guenther
2009-03-18 17:46:00 +01:00
Günther Deschner
9d1ab9a001
spoolss: add my copyright.
...
Guenther
2009-03-18 17:18:46 +01:00
Günther Deschner
7fbdf8aae9
s3-spoolss: remove include/rpc_spoolss.h.
...
Guenther
2009-03-18 17:09:39 +01:00
Günther Deschner
36d0785806
s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.
...
Guenther
2009-03-18 17:09:33 +01:00
Günther Deschner
a502392541
s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether.
...
Good-Bye, last hand-marshalled rpc functions, rest in peace.
Guenther
2009-03-18 17:09:26 +01:00
Günther Deschner
a4e999c7e3
s3-spoolss: remove old spoolss_EnumPrinterDataEx.
...
Guenther
2009-03-18 17:09:18 +01:00
Günther Deschner
0cfb1aea29
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
2009-03-18 17:07:39 +01:00
Günther Deschner
31106cdace
s3-spoolss: use printer and job notify enums provided by idl.
...
Guenther
2009-03-18 16:47:01 +01:00
Günther Deschner
e61c9ca36d
s3-spoolss: fix spoolss server after spoolss_Field changes.
...
Guenther
2009-03-18 16:46:49 +01:00
Günther Deschner
8b730ca1d8
s3-rpcclient: fix spoolss notify test after spoolss_Field changes.
...
Guenther
2009-03-18 16:46:42 +01:00
Günther Deschner
9744a7058c
s4-smbtorture: fix spoolss notify test after spoolss_Field changes.
...
Guenther
2009-03-18 16:46:33 +01:00
Günther Deschner
65151077b3
spoolss: add custom ndr_print_spoolss_Field.
...
Guenther
2009-03-18 16:46:14 +01:00
Günther Deschner
0e21ea39d5
s3: re-run make samba3-idl.
...
Guenther
2009-03-18 16:46:07 +01:00
Günther Deschner
f9ddc6ae4a
spoolss: make spoolss_Field a nodiscriminant union of 2 sets of notify flag enums.
...
Guenther
2009-03-18 16:45:59 +01:00
Günther Deschner
9ab8953d74
s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.
...
Guenther
2009-03-18 16:43:28 +01:00
Günther Deschner
9fdeb7f7b3
s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.
...
Guenther
2009-03-18 14:18:42 +01:00
Günther Deschner
b0747651b9
s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn().
...
Guenther
2009-03-18 13:06:24 +01:00
Günther Deschner
ef02342562
s3-spoolss: add registry_value_to_printer_enum_value.
...
Guenther
2009-03-18 11:55:54 +01:00
Günther Deschner
f683341294
s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro.
...
Guenther
2009-03-18 11:55:47 +01:00
Günther Deschner
2687d29f7c
spoolss: add ndr_size_spoolss_EnumPrinterDataEx_info in spoolss helper.
...
Guenther
2009-03-18 11:55:41 +01:00
Günther Deschner
ec47aac299
spoolss: rename NDR_SPOOLSS_SIZE_ENUM macro to NDR_SPOOLSS_SIZE_ENUM_LEVEL in
...
spoolss helper.
Guenther
2009-03-18 11:55:32 +01:00
Günther Deschner
342b436691
s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.
...
Kai, please check.
Guenther
2009-03-18 10:35:22 +01:00
Günther Deschner
048013ddaa
spoolss: fix ndr_push_spoolss_EnumPrinterDataEx.
...
Guenther
2009-03-18 10:35:13 +01:00
Stefan Metzmacher
93c2057c8b
s3:winbindd: accept new connections via fd events
...
metze
2009-03-18 07:00:42 +01:00
Stefan Metzmacher
3b8dd79f2b
s3:winbindd: move non event related code out of process_loop() in the the caller
...
metze
2009-03-18 07:00:42 +01:00
Stefan Metzmacher
0685031ccf
s3:winbindd: remove unused close_winbindd_socket() function
...
metze
2009-03-18 07:00:41 +01:00
Stefan Metzmacher
450252d2a1
s3:smbd: use tevent_loop_once() in the parent event loop
...
metze
2009-03-18 07:00:40 +01:00
Stefan Metzmacher
b659daf81f
s3:printing: use tevent_loop_wait() instead of manual looping
...
metze
2009-03-18 07:00:39 +01:00
Stefan Metzmacher
339ea0503d
s3:printing: use a fd event to monitor the pipe to the parent
...
metze
2009-03-18 07:00:39 +01:00
Stefan Metzmacher
445b37f4f3
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 e5a951325a
.
But it's confusing to have that code there...
metze
2009-03-18 07:00:38 +01:00
Günther Deschner
cd7f62ab70
s3-spoolss: use rpccli_spoolss_enumprinterdataex in ldap_printer.c.
...
Guenther
2009-03-18 02:37:57 +01:00
Günther Deschner
6e52c232c7
s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.
...
sorry, I could swear this did compile...
Guenther
2009-03-18 01:42:56 +01:00
Günther Deschner
9d024d1715
s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:41 +01:00
Günther Deschner
f9712d568a
s3-net: use rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:34 +01:00
Günther Deschner
8c3ef2d900
s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper.
...
Guenther
2009-03-18 01:30:26 +01:00
Günther Deschner
ab85fc78bd
s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.
...
Guenther
2009-03-18 01:30:18 +01:00
Günther Deschner
18a93e3e62
spoolss: add ndr_push/pull_spoolss_EnumPrinterDataEx helper.
...
Guenther
2009-03-18 01:19:46 +01:00
Günther Deschner
b1d4523f73
s3: re-run make samba3-idl.
...
Guenther
2009-03-18 01:19:37 +01:00
Günther Deschner
19ea2a5486
spoolss: add spoolss_EnumPrinterDataEx triple call.
...
Guenther
2009-03-18 01:19:26 +01:00
Günther Deschner
2dae07a3ca
s3: re-run make samba3-idl.
...
Guenther
2009-03-18 01:12:24 +01:00