summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14s3-spoolss: remove unused dup_nt_devicemode().Günther Deschner1-28/+0
Guenther
2009-04-07s3-libads: avoid NULL talloc context with ads_get_dn().Günther Deschner1-1/+1
Guenther
2009-04-06s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett1-2/+2
Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3:printing Convert nt_printer_publish_ads() to use talloc betterAndrew Bartlett1-26/+18
In particular, this removes one more user of pull_utf8_allocate() Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-20s3-spoolss: apply some const in spoolss server.Günther Deschner1-4/+7
Guenther
2009-03-18s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn().Günther Deschner1-26/+5
Guenther
2009-03-17s3-spoolss: rename temporary convert_devicemode_new function.Günther Deschner1-12/+13
Guenther
2009-03-17s3-spoolss: remove obsolete get_a_builtin_ntform.Günther Deschner1-7/+0
Guenther
2009-02-27s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.Günther Deschner1-6/+6
Guenther
2009-02-25Fix some NetBSD warnings.Jeremy Allison1-2/+4
Jeremy.
2009-02-24s3-spoolss: use marshall/unmarshall_sec_desc_buf in nt_printing_setsec/getsec.Günther Deschner1-45/+35
Guenther
2009-02-09s3-spoolss: remove whitespace in printing code.Günther Deschner1-322/+322
Guenther
2009-02-09s3-spoolss: restore delete_a_form().Günther Deschner1-10/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_SetForm.Günther Deschner1-12/+10
Guenther
2009-02-09s3-spoolss: use pidl for spoolss_AddForm.Günther Deschner1-15/+13
Guenther
2009-02-07s3-spoolss: rework some form functions and add form_by_string functions.Günther Deschner1-10/+21
Guenther
2009-01-16s3: put printing/ under cache_dir, not lock_dirMichael Adam1-1/+1
Michael
2009-01-01Add iconv_convenience argument to size functions.Jelmer Vernooij1-3/+4
2008-12-23Fix more asprintf warnings and some error path errors.Jeremy Allison1-11/+11
Jeremy.
2008-12-23Fix more asprintf errors and error code paths.Jeremy Allison1-3/+5
Jeremy.
2008-12-03s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argumentTim Prouty1-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-03s3: Modify direct callers of open_file_ntcreate and open_directory to call ↵Tim Prouty1-24/+54
SMB_VFS_CREATE_FILE
2008-11-24Convert delete_driver_files to use create_conn_structVolker Lendecke1-30/+32
Jerry, please check!
2008-11-24Convert get_correct_cversion to use create_conn_structVolker Lendecke1-45/+50
Jerry, please check!
2008-11-24Convert move_driver_to_download_area to use create_conn_structVolker Lendecke1-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-02Remove an unused variableVolker Lendecke1-1/+0
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-2/+2
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-5/+5
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-29Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison1-3/+3
Now to do the same for directories. Jeremy.
2008-10-19Remove silly safe_free() function which is a wrapper around SAFE_FREE().Jelmer Vernooij1-5/+4
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-14Use GUID_from_string.Jelmer Vernooij1-1/+1
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij1-2/+2
2008-10-13Pass struct smb_request to file_freeVolker Lendecke1-5/+5
on the way to get rid of chain_fsp
2008-10-12Use common util_file code.Jelmer Vernooij1-4/+4
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison1-5/+5
Jeremy.
2008-09-29Ensure we null out fsp after a close in all paths.Jeremy Allison1-0/+1
Jeremy.
2008-09-29Avoid freeing fsp twice when opening new_file fails. (Debian #431696)Jelmer Vernooij1-0/+1
If opening new_file fails, fsp would still be set to the files_struct of old_file.
2008-06-26remove unused extern current_user from nt_printing.cVolker Lendecke1-2/+0
(This used to be commit b34283adeffaa6e481c57926709ea80d48733ef0)
2008-06-26Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke1-8/+7
current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-05-25Remove the reference to current_user_info from share_access.cVolker Lendecke1-1/+1
This required to pass around the domain a bit (This used to be commit 17b0db20d28d1b737c5e86b78106657e8ca5ce9c)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-2/+3
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-05Try and fix bug #5095, "Manage Documents privilege is not functional".Jeremy Allison1-11/+24
Should map the created sd to printer jobs, not printer. Jerry please test and I'll add to 3.2 if it passes. Thanks, Jeremy. (This used to be commit 0a1fe8d6013d925ab6695f6b7f189b731ec42ccc)
2008-04-24Fix from Martin Zielinski <mz@seh.de>. Don't delete files whenJeremy Allison1-7/+20
they're in use by other drivers. Jeremy. (This used to be commit 205c352caeb32693a02fcfaeb3f18515719ac373)
2008-04-04Fix bug #5372. With a large CUPS installation with a remote server, contactingJeremy Allison1-11/+38
the server when searching for a name for the location and comment fields can take so much time the client times out. When searching for a name we don't use these fields anyway, so add a function get_a_printer_search() which doesn't contact the CUPS server. Jeremy. (This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
2008-03-17Some simplificationsVolker Lendecke1-7/+3
(This used to be commit b59b436997fba47afd02ffb6f1194dfaef229d44)
2008-03-17Coverity fixesMarc VanHeyningen1-9/+20
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-01-16Fix a crash bug in nt_printer_publish_adsVolker Lendecke1-1/+6
Reported by Martin Zielinski <mz@seh.de> (This used to be commit 4db26c803de52d3efccc940efc55f14131a057f5)
2008-01-11Fix CID 498. Ensure we don't prs_mem_free an uninitializedJeremy Allison1-1/+6
prs_struct. Jeremy. (This used to be commit 7b9d9fba230b9e61079869a6a2751cda37fb8a9e)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam1-2/+2
Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
2008-01-07Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam1-4/+4
Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)