summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-03-18s3 onefs: Correctly error out when the read returns EOFTim Prouty1-5/+9
Also add some more debugging.
2009-03-18Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison2-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-18s3: remove POLICY_HND.Günther Deschner43-376/+360
Guenther
2009-03-18s3-rpc_parse: remove some unused parsing code.Günther Deschner2-351/+0
Guenther
2009-03-18s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code.Günther Deschner1-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-18s3-spoolss: fix _spoolss_EnumPrinterDataEx error path.Günther Deschner1-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-18s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner5-183/+0
Guenther
2009-03-18s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.Günther Deschner1-30/+0
Guenther
2009-03-18s3-smbcontrol: use correct PRINTER_NOTIFY flags.Günther Deschner1-3/+3
Guenther
2009-03-18spoolss: add my copyright.Günther Deschner3-1/+3
Guenther
2009-03-18s3-spoolss: remove include/rpc_spoolss.h.Günther Deschner2-168/+0
Guenther
2009-03-18s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.Günther Deschner4-601/+5
Guenther
2009-03-18s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether.Günther Deschner3-33/+1
Good-Bye, last hand-marshalled rpc functions, rest in peace. Guenther
2009-03-18s3-spoolss: remove old spoolss_EnumPrinterDataEx.Günther Deschner3-294/+0
Guenther
2009-03-18s3-spoolss: use pidl for _spoolss_EnumPrinterDataEx.Günther Deschner3-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-18s3-spoolss: use printer and job notify enums provided by idl.Günther Deschner3-109/+109
Guenther
2009-03-18s3-spoolss: fix spoolss server after spoolss_Field changes.Günther Deschner2-12/+12
Guenther
2009-03-18s3-rpcclient: fix spoolss notify test after spoolss_Field changes.Günther Deschner1-4/+4
Guenther
2009-03-18s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.Günther Deschner3-25/+25
Guenther
2009-03-18s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.Günther Deschner8-72/+60
Guenther
2009-03-18s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn().Günther Deschner1-26/+5
Guenther
2009-03-18s3-spoolss: add registry_value_to_printer_enum_value.Günther Deschner1-0/+31
Guenther
2009-03-18s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro.Günther Deschner1-0/+3
Guenther
2009-03-18s3:winbindd: accept new connections via fd eventsStefan Metzmacher1-52/+100
metze
2009-03-18s3:winbindd: move non event related code out of process_loop() in the the callerStefan Metzmacher1-22/+21
metze
2009-03-18s3:winbindd: remove unused close_winbindd_socket() functionStefan Metzmacher2-19/+0
metze
2009-03-18s3:smbd: use tevent_loop_once() in the parent event loopStefan Metzmacher1-34/+5
metze
2009-03-18s3:printing: use tevent_loop_wait() instead of manual loopingStefan Metzmacher1-50/+6
metze
2009-03-18s3:printing: use a fd event to monitor the pipe to the parentStefan Metzmacher1-3/+23
metze
2009-03-18s3:smbd: don't exit the parent when we have no connectionsStefan Metzmacher1-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-18s3-spoolss: use rpccli_spoolss_enumprinterdataex in ldap_printer.c.Günther Deschner1-26/+43
Guenther
2009-03-18s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.Günther Deschner2-70/+0
Guenther
2009-03-18s3-net: use rpccli_spoolss_enumprinterdataex.Günther Deschner1-24/+44
Guenther
2009-03-18s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper.Günther Deschner1-17/+19
Guenther
2009-03-18s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.Günther Deschner2-0/+48
Guenther
2009-03-17Missing break in conversion function prevents tdb password database update.Alexander Zagrebin1-0/+1
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison17-256/+262
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.
2009-03-17s3-rpcclient: say that we are displaying a REG_MULTI_SZ in display_reg_value().Günther Deschner1-0/+1
Guenther
2009-03-17s3: Fix bugs in the detection of the GNU ld version (Bug #6147)Steve Langasek1-2/+2
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>
2009-03-17Fix #6130: Don't crash in winbindd_rpc lookup_groupmem() on unmapped membersVolker Lendecke1-7/+8
Thanks to François Legal <devel@thom.fr.eu.org> for reporting this bug
2009-03-17s3:events: add support for immediate eventsStefan Metzmacher1-9/+15
metze
2009-03-17s3:events: make use of tevent_common_loop_wait()Stefan Metzmacher1-12/+1
metze
2009-03-17s3-spoolss: remove unused RPC_BUFFER definition.Günther Deschner1-7/+0
Guenther
2009-03-17s3-spoolss: remove (disabled) enum_all_printers_info_1_remote.Günther Deschner1-70/+0
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
2009-03-17s3-spoolss: remove PRINTER_NOTIFY_TYPE and JOB_NOTIFY_TYPE now defined in IDL.Günther Deschner1-5/+0
Guenther
2009-03-17s3-spoolss: remove SPL Port definitions now in IDL.Günther Deschner2-15/+5
Guenther
2009-03-17s3-spoolss: remove PRIORITY defines, that were never used.Günther Deschner1-8/+0
Guenther
2009-03-17s3-spoolss: move DRIVER_X_VERSION flags into the backend, where they belong to.Günther Deschner2-3/+3
Guenther
2009-03-17s3-spoolss: remove unused DEVICEMODE parsing and header.Günther Deschner3-234/+0
Guenther
2009-03-17s3-spoolss: rename convert_printer_info_new to convert_printer_info.Günther Deschner1-5/+5
Guenther