summaryrefslogtreecommitdiffstats
path: root/source3/printing/nt_printing.c
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett2011-02-101-3/+3
| | | | | | | | | This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file.Günther Deschner2010-11-291-2/+8
| | | | | | This turned cupsaddsmb to run into an infinite loop. Guenther
* Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵Jeremy Allison2010-11-101-12/+17
| | | | | | | | | adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy.
* Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison2010-10-221-1/+1
| | | | | | | | | | | | lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
* Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison2010-10-221-1/+1
| | | | | | | | | | | Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3: Fix a pointer errorVolker Lendecke2010-10-041-1/+1
| | | | | | | | | | | | | | | | It is not universally guaranteed that an enum is represented as a uint32_t. This starts to be THE BUG (tm) in Samba. What can I do to explain this to people a bit better? It seems that the verbose explanations I put into the recent checkins fixing similar bugs are not clear enough. Anybody who does is not 100% clear about what this patch fixes please contact me directly so that we can talk it through on the phone to agree on a wording that everybody can understand. Thanks, Volker
* s3-spoolss: Fixed print_access_check server_info.Andreas Schneider2010-10-021-1/+1
|
* s3-spoolss: Fix servername/printername handling which turns out to be very ↵Günther Deschner2010-09-301-2/+2
| | | | | | important to get right. Guenther
* s3-privs Convert from user_has_privileges() -> security_token_has_privilege()Andrew Bartlett2010-09-111-2/+1
| | | | | | | | | This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-privs Further changes to remove SE_PRIVAndrew Bartlett2010-09-111-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-printing: Make auth_serversupplied_info const.Andreas Schneider2010-09-091-6/+6
|
* s3-printing: add debug to get_correct_cversion().Günther Deschner2010-08-311-0/+1
| | | | Guenther
* s3: Lift the smbd_messaging_context from check_published_printersVolker Lendecke2010-08-081-1/+1
|
* s3: Lift the smbd_messaging_context from nt_printer_removeVolker Lendecke2010-08-081-2/+2
|
* s3: Lift the smbd_messaging_context from print_time_access_checkVolker Lendecke2010-08-081-2/+2
|
* s3: Lift the smbd_messaging_context from print_access_checkVolker Lendecke2010-08-081-2/+3
|
* s3: Lift the smbd_messaging_context from printer_driver_files_in_useVolker Lendecke2010-08-081-4/+3
|
* s3: Lift the smbd_messaging_context from printer_driver_in_useVolker Lendecke2010-08-081-9/+7
|
* s3: Lift the smbd_messaging_context from winreg_del_driver_listVolker Lendecke2010-08-081-0/+1
|
* s3: Lift the smbd_messaging_context from winreg_get_driverVolker Lendecke2010-08-081-0/+4
|
* s3: Lift the smbd_messaging_context from winreg_delete_printer_keyVolker Lendecke2010-08-081-1/+3
|
* s3: Lift the smbd_messaging_context from winreg_get_printer_secdescVolker Lendecke2010-08-081-0/+1
|
* s3: Lift the smbd_messaging_context from winreg_get_printerVolker Lendecke2010-08-081-1/+3
|
* s3-netlogon: remove global include of netlogon.h.Günther Deschner2010-08-061-0/+1
| | | | | | | This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-printing: move AD related printing components to an own file.Günther Deschner2010-08-051-440/+0
| | | | Guenther
* s3-spoolss: remove duplicate (and incorrect) header.Günther Deschner2010-08-031-1/+0
| | | | Guenther
* s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2010-07-311-1/+2
| | | | | | This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
* s3-printing: Added automatic migration of printing tdbs.Andreas Schneider2010-07-271-85/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Move the standard mappings to spoolss.Andreas Schneider2010-07-271-14/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Added automatic migration of printing tdbs.Andreas Schneider2010-07-271-0/+5
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Move all tdb upgrade functions to a separate file.Andreas Schneider2010-07-271-391/+4
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Remove unused printer registry key functions.Andreas Schneider2010-07-271-494/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused security descriptor functions.Andreas Schneider2010-07-271-306/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused nt_forms.Andreas Schneider2010-07-271-362/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider2010-07-271-66/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused free_a_printer function.Andreas Schneider2010-07-271-26/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused mod_a_printer functions.Andreas Schneider2010-07-271-313/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused get_a_printer functions.Andreas Schneider2010-07-271-523/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce2010-07-271-32/+11
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Get rid of get_server_name.Simo Sorce2010-07-271-9/+0
| | | | | | This function was useless the structure is public and used everywhere. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Converted printer publishing functions.Simo Sorce2010-07-271-107/+202
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_driver_in_use.Simo Sorce2010-07-271-6/+12
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_time_access_check.Simo Sorce2010-07-271-7/+15
| | | | | | use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated driver functions to winreg.Simo Sorce2010-07-271-512/+53
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Set c_setprinter always to 0.Andreas Schneider2010-07-271-2/+0
| | | | | | | This value is only used for the well known printers list which Samba doesn't implement. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider2010-07-271-9/+20
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce2010-07-271-247/+100
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner2010-07-011-1/+2
| | | | Guenther