summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-02-24s3-spoolss: remove rpccli_spoolss_addprinterdriver.Günther Deschner3-139/+0
Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.Günther Deschner2-51/+69
Guenther
2009-02-24s3: Fix a bug that prevent core files from being createdTim Prouty1-1/+0
Removed an erroneous free() that was causing the corepath to be NULL during dump_core(). This prevented dump_core() from actually calling abort() to create a core file. The bug was introduced in December by: 07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00
2009-02-24s3-spoolss: remove old rpccli_spoolss_getprinterdriver wrapper.Günther Deschner3-110/+0
Guenther
2009-02-24s3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2Günther Deschner1-56/+89
wrapper. Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.Günther Deschner1-8/+78
Guenther
2009-02-24s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.Günther Deschner2-0/+73
Guenther
2009-02-24Use read_packet for wb_resp_readVolker Lendecke1-90/+29
2009-02-24Use read_packet for wb_req_readVolker Lendecke1-92/+36
2009-02-24Remove read_pktVolker Lendecke2-108/+0
2009-02-24Replace read_pkt by read_packet in np_readVolker Lendecke1-8/+8
2009-02-24Use async_writev in np_writeVolker Lendecke1-12/+10
2009-02-24Use async writev for wb_resp_writeVolker Lendecke1-53/+23
2009-02-24Use async writev in wb_req_writeVolker Lendecke1-52/+22
2009-02-24Convert async_connect to tevent_reqVolker Lendecke2-31/+60
2009-02-24Add tevent_req_is_unix_errorVolker Lendecke1-1/+2
2009-02-24Convert name_mangle() to use tallocVolker Lendecke4-11/+42
2009-02-24s3:Makefile: build libcli/ldap filesStefan Metzmacher1-10/+13
metze
2009-02-24s3: remove unused smb_ldap.hStefan Metzmacher2-257/+0
metze
2009-02-24s3:mount.cifs: make "mount.cifs -V" print the version, not usage.Michael Adam1-5/+28
Also make "mount.cifs -h" not exit with error exit code but with return code 0. Michael
2009-02-24s3:mount.cifs: don't error exit on explicitly requested help...Michael Adam1-2/+1
Michael
2009-02-24s3-spoolss: use marshall/unmarshall_sec_desc_buf in nt_printing_setsec/getsec.Günther Deschner1-45/+35
Guenther
2009-02-24s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers.Günther Deschner2-0/+68
Guenther
2009-02-24s3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory andGünther Deschner1-36/+91
_spoolss_PrinterDriverDirectory. Guenther
2009-02-23s3 OneFS: Fix a double free in an error pathTim Prouty1-3/+2
2009-02-23s3 OneFS: Add a parameter that unconditionally allows execute accessTim Prouty2-0/+26
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman3-32/+1
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-23More warning fixes for Solaris.Jeremy Allison16-65/+67
Jeremy.
2009-02-24s3-spoolss: fix notify_printer_status_byname.Günther Deschner1-1/+3
This took me almost a week to find, so here a little longer explanation: When a windows client registers printer *status* change notifies using spoolss_RemoteFindFirstChangeNotify, it registers them to a print server handle, not a printer handle. We were then correctly monitoring the printer status changes but were sending out the spoolss_RouterReplyPrinterEx via the back-channel connection with job_id set to 0 (which we only may do for monitored printer change status notifies on printer handlers, not print server handles). Windows was then showing a new empty dummy printer icon in the explorer as it cannot route the notify event to the approriate local handle. It also discarded the content of the notify event message of course. With this, printer change notify for pausing, resuming and purging printers nicely works again here. Jerry, Tim and all other printing gurus, please check. Guenther
2009-02-23More warning fixes for Solaris.Jeremy Allison6-32/+33
Jeremy.
2009-02-23Quieten down a boatload of shadowed variable warnings on Solaris.Jeremy Allison3-51/+51
Makes real problems easier to spot. Jeremy.
2009-02-23Make char* parameters constDerrell Lipman2-20/+10
- Use const in function signatures whenever appropriate, to help prevent errant scribbling on users' buffers. smbc_set_credentials() always acted as if its formal parameters were const char *, and changing the formal declaration to specify that should not cause any change to the ABI. It is still allowable to pass a writable buffer to a function which specifies that it will not write to the buffer. I'm making this change only in master. Derrell
2009-02-23s3-spoolss: remove cli_spoolss_notify.c completly.Günther Deschner3-36/+1
All of the spoolss change notify code uses pidl generated functions now. Guenther
2009-02-23s3-spoolss: remove old SPOOL_NOTIFY_OPTION definitions.Günther Deschner1-32/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner4-284/+0
Guenther
2009-02-23s3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether.Günther Deschner3-349/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RouterReplyPrinterEx.Günther Deschner4-180/+0
Guenther
2009-02-23s3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify.Günther Deschner3-83/+0
Guenther
2009-02-23s3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner2-49/+14
Guenther
2009-02-23s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of ↵Günther Deschner2-75/+32
SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE. Guenther
2009-02-23s3-spoolss: add dup_spoolss_NotifyOption.Günther Deschner1-0/+51
Guenther
2009-02-23s3-spoolss: use more idl types in spoolss server.Günther Deschner2-11/+18
Guenther
2009-02-23s3-spoolss: fix memleak of spoolss_Notify array in ↵Günther Deschner2-4/+8
_spoolss_RouterRefreshPrinterChangeNotify. Guenther
2009-02-23s3-spoolss: use rpccli_spoolss_RouterReplyPrinterEx.Günther Deschner1-2/+36
Guenther
2009-02-23s3-spoolss: use pidl for _spoolss_RouterRefreshPrinterChangeNotify.Günther Deschner2-47/+24
Guenther
2009-02-23s3-spoolss: use struct spoolss_NotifyInfo instead of SPOOL_NOTIFY_INFO.Günther Deschner1-106/+76
Guenther
2009-02-23s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA.Günther Deschner2-381/+180
Guenther
2009-02-23prefer gssapi header files from subdirectoryBjörn Jacke2-6/+6
this fixes some compile time noise on FreeBSD 7
2009-02-23s3-rpcclient: use correct clientname in ↵Günther Deschner1-1/+8
spoolss_RemoteFindFirstPrinterChangeNotifyEx command. Guenther
2009-02-22s3: Wrap usage of rlimit in configure checksSteven Danneman1-20/+19