summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server/spoolss
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-rpc_server: Migrate rpc function to tsocket_address.Andreas Schneider2011-07-041-4/+12
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-spoolss: Fix some valgrind warnings.Andreas Schneider2011-06-212-8/+8
| | | | | | | | | These are in/out values and need to be initialized. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jun 21 18:58:30 CEST 2011 on sn-devel-104
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-092-10/+10
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-092-12/+12
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-11/+11
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3-spoolss: fix -Wunused-but-set-variable build warning in ↵Günther Deschner2011-06-081-0/+4
| | | | | | | | _spoolss_EnumPrintProcDataTypes(). We were in fact ignoring the error code here. Guenther
* s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner2011-06-011-2/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
* s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett2011-05-311-0/+1
| | | | | | | | | | | | | | | | This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-11/+11
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-spoolss: Get the printer location from cups.Andreas Schneider2011-05-161-2/+33
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-spoolss: remove unused struct in construct_notify_printer_info().Günther Deschner2011-05-061-2/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 12:07:17 CEST 2011 on sn-devel-104
* s3: only include tdb headers where needed.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-2/+2
|
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-041-1/+1
|
* s3-spoolss: remove another unused header.Günther Deschner2011-05-021-1/+0
| | | | Guenther
* s3: include ntdomain.h before including generated srv_ headers.Günther Deschner2011-05-021-1/+1
| | | | Guenther
* s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-021-2/+2
| | | | Guenther
* s3-proto: move remaining spoolss protos to own header file.Günther Deschner2011-05-022-0/+41
| | | | Guenther
* s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner2011-04-201-2/+2
| | | | Guenther
* s3-includes: only include ntdomain.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-301-1/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-auth: rpc_server needs auth.hGünther Deschner2011-03-302-0/+2
| | | | Guenther
* s3: rpc_server needs parts of smbd.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* s3: Fix Coverity ID 2195: NO_EFFECTVolker Lendecke2011-03-271-1/+1
| | | | level is unsigned
* s3: Fix Coverity ID 2201, NULL_RETURNSVolker Lendecke2011-03-231-0/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 13:06:20 CET 2011 on sn-devel-104
* s3: Add "print notify backchannel" parameter to prevent us doing the reverse ↵Volker Lendecke2011-03-181-0/+6
| | | | | | | print notify connection. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 21:34:30 CET 2011 on sn-devel-104
* s3: Fix Coverity ID 1017, CHECKED_RETURNVolker Lendecke2011-03-161-1/+3
| | | | Günther, please check!
* s3: Fix Coverity ID 2317: Uninitialized readVolker Lendecke2011-03-161-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2318: Uninitialized readVolker Lendecke2011-03-161-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2279: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2281: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2283: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_OpenKey.
* s3: Fix Coverity ID 2284: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_DeleteValue.
* s3: Fix Coverity ID 2285: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_DeleteValue.
* s3: Fix Coverity ID 2286: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3-server_id: only include server_id where needed.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp2011-03-021-2/+2
| | | | | | | | | | WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER, resulting in incorrect error messages on Windows clients. move_driver_to_download_area() returns the same error status values to the caller via the *perr argument as well as the return value. The create_directory() call is not checked for error.
* Fix some typesJelmer Vernooij2011-02-281-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-271-1/+1
| | | | | | | All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
* s3-printing: isolate print notification prototypes better.Günther Deschner2011-02-221-0/+1
| | | | Guenther
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-223-286/+286
| | | | | | | | | | | | | | | | | | | | | These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-rpc_server: move services into individual directories.Günther Deschner2011-02-103-0/+15496
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 22:13:17 CET 2011 on sn-devel-104