Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-03-12 | s3-spoolss: make jobname a const char * in print_job_start(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-03-01 | Only copy sharename up from rap_to_pjobid | Volker Lendecke | 2 | -3/+4 | |
Why?? :-) Another one of the little micro-optimizations that I just came across: If you allocate a variable in a sub-block like the "fstring sharename" in write_file(), gcc even with -O3 will allocate this variable unconditionally on the stack at the beginning of the routine. So with eliminating this fstring we cut 256 bytes of stack in a very hot code path writing to a file. It might make us a bit more cache-friendly. This would probably not be worth a second look if it involved larger code changes, but this one was just too simple to let it pass :-) | |||||
2009-02-27 | s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags. | Günther Deschner | 1 | -6/+6 | |
Guenther | |||||
2009-02-26 | s3: fix the build JOB_STATUS_BLOCKED -> JOB_STATUS_BLOCKED_DEVQ | Michael Adam | 1 | -1/+1 | |
Günther, please check... Michael | |||||
2009-02-25 | Fix some NetBSD warnings. | Jeremy Allison | 1 | -2/+4 | |
Jeremy. | |||||
2009-02-24 | s3-spoolss: use marshall/unmarshall_sec_desc_buf in nt_printing_setsec/getsec. | Günther Deschner | 1 | -45/+35 | |
Guenther | |||||
2009-02-24 | s3-spoolss: fix notify_printer_status_byname. | Günther Deschner | 1 | -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-19 | Fix printf warnings found on systems where time_t <> long int. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-02-18 | S3: Stop creating SMBD cores when failing to create a pipe. | todd stecher | 1 | -3/+7 | |
This was uncovered when the MAX FD limit was hit, causing an instant core and invoking error reporting. This fix causes SMBD to exit, but without building a core. | |||||
2009-02-13 | Fix Coverity ID 740 (RESOURCE_LEAK) | Volker Lendecke | 1 | -0/+2 | |
2009-02-10 | s3-spoolss: remove more whitespace. | Günther Deschner | 1 | -135/+135 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove whitespace in printing code. | Günther Deschner | 1 | -322/+322 | |
Guenther | |||||
2009-02-09 | s3-spoolss: restore delete_a_form(). | Günther Deschner | 1 | -10/+1 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_SetForm. | Günther Deschner | 1 | -12/+10 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for spoolss_AddForm. | Günther Deschner | 1 | -15/+13 | |
Guenther | |||||
2009-02-07 | s3-spoolss: rework some form functions and add form_by_string functions. | Günther Deschner | 1 | -10/+21 | |
Guenther | |||||
2009-01-27 | s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD | Stefan Metzmacher | 1 | -15/+3 | |
metze | |||||
2009-01-22 | s3:printing: make some functions static and use tevent functions | Stefan Metzmacher | 1 | -8/+12 | |
metze | |||||
2009-01-22 | s3:printing: handle tevent_context events in the sys_select() call | Stefan Metzmacher | 1 | -16/+42 | |
metze | |||||
2009-01-16 | s3: put printing/ under cache_dir, not lock_dir | Michael Adam | 3 | -4/+4 | |
Michael | |||||
2009-01-05 | Attempt to fix crash seen with new CUPS async printcap loading code. | Jeremy Allison | 1 | -0/+3 | |
Jeremy. | |||||
2009-01-05 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 3 | -4/+5 | |
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2009-01-05 | clean event context after child is forked. | Bo Yang | 2 | -2/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 1 | -3/+4 | |
2008-12-31 | Fix an ancient uninitialized variable read | Volker Lendecke | 1 | -5/+5 | |
The callers of open_file_ntcreate expect *psbuf to be filled correctly | |||||
2008-12-30 | Fix a memory leak in cups_pull_comment_location | Volker Lendecke | 1 | -0/+4 | |
We allocated "request" with ippNew, so we also should ippDelete it. | |||||
2008-12-30 | Fix a spinning smbd when printing | Volker Lendecke | 1 | -1/+1 | |
Without this, we end up adding more than one timed event. In the event handler print_notify_event_send_messages() only one event will be deleted, all others will fire indefinitely. | |||||
2008-12-23 | Fix more asprintf warnings and some error path errors. | Jeremy Allison | 2 | -12/+14 | |
Jeremy. | |||||
2008-12-23 | Fix more asprintf errors and error code paths. | Jeremy Allison | 1 | -3/+5 | |
Jeremy. | |||||
2008-12-09 | Fix bug #5688 LPQ process is orphaned if socket address parameter is invalid | SATOH Fumiyasu | 1 | -6/+33 | |
2008-12-07 | Fix nonempty blank lines | Volker Lendecke | 1 | -5/+5 | |
2008-12-03 | s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argument | Tim Prouty | 1 | -3/+3 | |
This replaces the is_dos_path bool with a more future-proof argument. The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead of overridding the oplock_request. | |||||
2008-12-03 | s3: Modify direct callers of open_file_ntcreate and open_directory to call ↵ | Tim Prouty | 1 | -24/+54 | |
SMB_VFS_CREATE_FILE | |||||
2008-11-24 | Convert delete_driver_files to use create_conn_struct | Volker Lendecke | 1 | -30/+32 | |
Jerry, please check! | |||||
2008-11-24 | Convert get_correct_cversion to use create_conn_struct | Volker Lendecke | 1 | -45/+50 | |
Jerry, please check! | |||||
2008-11-24 | Convert move_driver_to_download_area to use create_conn_struct | Volker Lendecke | 1 | -33/+23 | |
This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check! | |||||
2008-11-21 | First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file. | Jeremy Allison | 1 | -13/+2 | |
Restructures parts of open code so that fsp must be allocated before calling open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c. Jeremy. | |||||
2008-11-02 | Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
2008-11-01 | Rename dos_errstr() to win_errstr() for consistency with Samba 4. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-31 | Unify se_access_check with the S4 code. Will make | Jeremy Allison | 1 | -5/+5 | |
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy. | |||||
2008-10-29 | Allow a new file to inherit the Windows ACL from its parent. | Jeremy Allison | 1 | -3/+3 | |
Now to do the same for directories. Jeremy. | |||||
2008-10-19 | vlp: Move closer to the code tested. | Kai Blin | 2 | -0/+450 | |
2008-10-19 | Remove silly safe_free() function which is a wrapper around SAFE_FREE(). | Jelmer Vernooij | 3 | -10/+9 | |
Since it's a function it just sets the local pointer to NULL and basically is an equivalent to free(). It also claims it's being used for callbacks but isn't used that way anywhere. | |||||
2008-10-14 | Use GUID_from_string. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-14 | Use GUID_string rather than smb_uuid_string(). | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-14 | Use {u,}int64_t instead of SMB_BIG_{U,}INT. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-13 | Pass struct smb_request to file_free | Volker Lendecke | 2 | -7/+7 | |
on the way to get rid of chain_fsp | |||||
2008-10-13 | Pass struct smb_request to file_new | Volker Lendecke | 1 | -2/+3 | |
Goal is to remove the chain_fsp global variable | |||||
2008-10-12 | Use common util_file code. | Jelmer Vernooij | 3 | -11/+11 | |