Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-03-19 | use the tevent nesting code to avoid the uid problem in the VFS | Andrew Tridgell | 1 | -0/+66 | |
backend The vfs_unixuid module changes the uid of the process when executing operations on behalf of the user. Within the VFS backend we may rely on semi-async calls, such as winbind calls, which will call the event loop again. To cope with this we need to ensure that while inside those calls we revert the uid to root, then revert back to the connected user when we have finished with the semi-async calls. | |||||
2009-03-19 | fixed a logic bug in the tevent nesting code | Andrew Tridgell | 1 | -1/+13 | |
The event nesting code never triggered as nesting.level was never greater than 1. The main event loop needs to increase the nesting level by 1. I also added a paranoia check to the nesting setup call. The API as currently written cannot support multiple nesting hooks, so we need to abort if multiple hooks are tried. | |||||
2009-03-18 | s3 onefs: Correctly error out when the read returns EOF | Tim Prouty | 1 | -5/+9 | |
Also add some more debugging. | |||||
2009-03-18 | Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵ | Jeremy Allison | 2 | -19/+206 | |
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 | s3: remove POLICY_HND. | Günther Deschner | 43 | -376/+360 | |
Guenther | |||||
2009-03-18 | s3-rpc_parse: remove some unused parsing code. | Günther Deschner | 2 | -351/+0 | |
Guenther | |||||
2009-03-18 | s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code. | Günther Deschner | 1 | -1/+1 | |
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 | s3-spoolss: fix _spoolss_EnumPrinterDataEx error path. | Günther Deschner | 1 | -0/+4 | |
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 | s3-rpc_parse: remove unused BUFFER5 and UNISTR3. | Günther Deschner | 5 | -183/+0 | |
Guenther | |||||
2009-03-18 | s3-rpc_client: remove unused CLI_DO_RPC_WERR macro. | Günther Deschner | 1 | -30/+0 | |
Guenther | |||||
2009-03-18 | s4 libcli: Add back Longhorn beta dialect as a constant | Zach Loafman | 2 | -4/+4 | |
Also tweak how the dialect array and count is initialized. | |||||
2009-03-18 | s3-smbcontrol: use correct PRINTER_NOTIFY flags. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2009-03-18 | spoolss: add my copyright. | Günther Deschner | 4 | -1/+4 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove include/rpc_spoolss.h. | Günther Deschner | 2 | -168/+0 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove rpc_server/srv_spoolss.c alltogether. | Günther Deschner | 4 | -601/+5 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether. | Günther Deschner | 3 | -33/+1 | |
Good-Bye, last hand-marshalled rpc functions, rest in peace. Guenther | |||||
2009-03-18 | s3-spoolss: remove old spoolss_EnumPrinterDataEx. | Günther Deschner | 3 | -294/+0 | |
Guenther | |||||
2009-03-18 | s3-spoolss: use pidl for _spoolss_EnumPrinterDataEx. | Günther Deschner | 3 | -115/+60 | |
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 | s3-spoolss: use printer and job notify enums provided by idl. | Günther Deschner | 3 | -109/+109 | |
Guenther | |||||
2009-03-18 | s3-spoolss: fix spoolss server after spoolss_Field changes. | Günther Deschner | 2 | -12/+12 | |
Guenther | |||||
2009-03-18 | s3-rpcclient: fix spoolss notify test after spoolss_Field changes. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-03-18 | s4-smbtorture: fix spoolss notify test after spoolss_Field changes. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-03-18 | spoolss: add custom ndr_print_spoolss_Field. | Günther Deschner | 2 | -0/+23 | |
Guenther | |||||
2009-03-18 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -90/+288 | |
Guenther | |||||
2009-03-18 | spoolss: make spoolss_Field a nodiscriminant union of 2 sets of notify flag ↵ | Günther Deschner | 1 | -30/+65 | |
enums. Guenther | |||||
2009-03-18 | s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c. | Günther Deschner | 3 | -25/+25 | |
Guenther | |||||
2009-03-18 | s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL. | Günther Deschner | 8 | -72/+60 | |
Guenther | |||||
2009-03-18 | s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn(). | Günther Deschner | 1 | -26/+5 | |
Guenther | |||||
2009-03-18 | s3-spoolss: add registry_value_to_printer_enum_value. | Günther Deschner | 1 | -0/+31 | |
Guenther | |||||
2009-03-18 | s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2009-03-18 | spoolss: add ndr_size_spoolss_EnumPrinterDataEx_info in spoolss helper. | Günther Deschner | 2 | -0/+23 | |
Guenther | |||||
2009-03-18 | spoolss: rename NDR_SPOOLSS_SIZE_ENUM macro to NDR_SPOOLSS_SIZE_ENUM_LEVEL in | Günther Deschner | 1 | -9/+9 | |
spoolss helper. Guenther | |||||
2009-03-18 | s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test. | Günther Deschner | 1 | -23/+12 | |
Kai, please check. Guenther | |||||
2009-03-18 | spoolss: fix ndr_push_spoolss_EnumPrinterDataEx. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-03-18 | s3:winbindd: accept new connections via fd events | Stefan Metzmacher | 1 | -52/+100 | |
metze | |||||
2009-03-18 | s3:winbindd: move non event related code out of process_loop() in the the caller | Stefan Metzmacher | 1 | -22/+21 | |
metze | |||||
2009-03-18 | s3:winbindd: remove unused close_winbindd_socket() function | Stefan Metzmacher | 2 | -19/+0 | |
metze | |||||
2009-03-18 | s3:smbd: use tevent_loop_once() in the parent event loop | Stefan Metzmacher | 1 | -34/+5 | |
metze | |||||
2009-03-18 | s3:printing: use tevent_loop_wait() instead of manual looping | Stefan Metzmacher | 1 | -50/+6 | |
metze | |||||
2009-03-18 | s3:printing: use a fd event to monitor the pipe to the parent | Stefan Metzmacher | 1 | -3/+23 | |
metze | |||||
2009-03-18 | s3:smbd: don't exit the parent when we have no connections | Stefan Metzmacher | 1 | -7/+0 | |
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 | |||||
2009-03-18 | s3-spoolss: use rpccli_spoolss_enumprinterdataex in ldap_printer.c. | Günther Deschner | 1 | -26/+43 | |
Guenther | |||||
2009-03-18 | s4-smbtorture: fix spoolss_EnumPrinterDataEx tests. | Günther Deschner | 2 | -3/+4 | |
sorry, I could swear this did compile... Guenther | |||||
2009-03-18 | s3-spoolss: remove old rpccli_spoolss_enumprinterdataex. | Günther Deschner | 2 | -70/+0 | |
Guenther | |||||
2009-03-18 | s3-net: use rpccli_spoolss_enumprinterdataex. | Günther Deschner | 1 | -24/+44 | |
Guenther | |||||
2009-03-18 | s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper. | Günther Deschner | 1 | -17/+19 | |
Guenther | |||||
2009-03-18 | s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper. | Günther Deschner | 2 | -0/+48 | |
Guenther | |||||
2009-03-18 | spoolss: add ndr_push/pull_spoolss_EnumPrinterDataEx helper. | Günther Deschner | 2 | -1/+95 | |
Guenther | |||||
2009-03-18 | s3: re-run make samba3-idl. | Günther Deschner | 6 | -42/+120 | |
Guenther | |||||
2009-03-18 | spoolss: add spoolss_EnumPrinterDataEx triple call. | Günther Deschner | 1 | -3/+15 | |
Guenther |