summaryrefslogtreecommitdiff
path: root/source3/rpc_server/spoolss
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2-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
2011-06-09s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2-12/+12
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-11/+11
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-06-08s3-spoolss: fix -Wunused-but-set-variable build warning in ↵Günther Deschner1-0/+4
_spoolss_EnumPrintProcDataTypes(). We were in fact ignoring the error code here. Guenther
2011-06-01s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner1-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
2011-05-31s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett1-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
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-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
2011-05-16s3-spoolss: Get the printer location from cups.Andreas Schneider1-2/+33
Signed-off-by: Günther Deschner <gd@samba.org>
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-06s3-spoolss: remove unused struct in construct_notify_printer_info().Günther Deschner1-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
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-2/+2
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison1-1/+1
2011-05-02s3-spoolss: remove another unused header.Günther Deschner1-1/+0
Guenther
2011-05-02s3: include ntdomain.h before including generated srv_ headers.Günther Deschner1-1/+1
Guenther
2011-05-02s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner1-2/+2
Guenther
2011-05-02s3-proto: move remaining spoolss protos to own header file.Günther Deschner2-0/+41
Guenther
2011-04-20s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner1-2/+2
Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner1-1/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: rpc_server needs auth.hGünther Deschner2-0/+2
Guenther
2011-03-30s3: rpc_server needs parts of smbd.Günther Deschner1-0/+1
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2-0/+2
Guenther
2011-03-27s3: Fix Coverity ID 2195: NO_EFFECTVolker Lendecke1-1/+1
level is unsigned
2011-03-23s3: Fix Coverity ID 2201, NULL_RETURNSVolker Lendecke1-0/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 13:06:20 CET 2011 on sn-devel-104
2011-03-18s3: Add "print notify backchannel" parameter to prevent us doing the reverse ↵Volker Lendecke1-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
2011-03-16s3: Fix Coverity ID 1017, CHECKED_RETURNVolker Lendecke1-1/+3
Günther, please check!
2011-03-16s3: Fix Coverity ID 2317: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-16s3: Fix Coverity ID 2318: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-15s3: Fix Coverity ID 2279: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-15s3: Fix Coverity ID 2281: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-15s3: Fix Coverity ID 2283: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_OpenKey.
2011-03-15s3: Fix Coverity ID 2284: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_DeleteValue.
2011-03-15s3: Fix Coverity ID 2285: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_DeleteValue.
2011-03-15s3: Fix Coverity ID 2286: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-02s3-server_id: only include server_id where needed.Günther Deschner1-0/+1
Guenther
2011-03-02s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp1-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.
2011-02-28Fix some typesJelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-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
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner1-0/+1
Guenther
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett3-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>
2011-02-10s3-rpc_server: move services into individual directories.Günther Deschner3-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