Jeremy Allison
7d6ebe0de7
More const fixes. Remove CONST_DISCARD.
2011-05-06 01:44:07 +02:00
Jeremy Allison
8380835fc6
Fix warning messages caused by addition of null check in fstrcpy macro.
2011-05-04 12:12:15 -07:00
Günther Deschner
1a561dedb9
s3-spoolss: remove another unused header.
...
Guenther
2011-05-02 15:03:44 +02:00
Günther Deschner
0e76eddcc8
s3: include ntdomain.h before including generated srv_ headers.
...
Guenther
2011-05-02 15:03:44 +02:00
Günther Deschner
cd5b2b242b
s3-printing: avoid using pipes_struct when only session_info is needed.
...
Guenther
2011-05-02 15:03:43 +02:00
Günther Deschner
c233c21425
s3-proto: move remaining spoolss protos to own header file.
...
Guenther
2011-05-02 15:03:43 +02:00
Günther Deschner
0cf9b47725
s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().
...
Guenther
2011-04-20 17:19:15 +02:00
Günther Deschner
6e3f0d28a4
s3-includes: only include ntdomain.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
ab36d597e7
s3-messages: make ndr_messaging.h part of messages.h.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
b2af281e50
s3-messages: only include messages.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
146c1aac99
s3-auth: rpc_server needs auth.h
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
20d8ae49b7
s3: rpc_server needs parts of smbd.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
0a250f4946
registry: create and use shared libcli/registry/util_reg.h header.
...
Guenther
2011-03-30 01:13:07 +02:00
Volker Lendecke
261d6b0e9b
s3: Fix Coverity ID 2195: NO_EFFECT
...
level is unsigned
2011-03-27 22:22:12 +02:00
Volker Lendecke
cfa8b36632
s3: Fix Coverity ID 2201, NULL_RETURNS
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 23 13:06:20 CET 2011 on sn-devel-104
2011-03-23 13:06:20 +01:00
Volker Lendecke
4b347a1b17
s3: Add "print notify backchannel" parameter to prevent us doing the reverse 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-18 21:34:30 +01:00
Volker Lendecke
3835d77795
s3: Fix Coverity ID 1017, CHECKED_RETURN
...
Günther, please check!
2011-03-16 21:14:58 +01:00
Volker Lendecke
df79b3ba76
s3: Fix Coverity ID 2317: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-16 18:08:51 +01:00
Volker Lendecke
329fcd4e34
s3: Fix Coverity ID 2318: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-16 18:08:51 +01:00
Volker Lendecke
f0d491205c
s3: Fix Coverity ID 2279: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:46 +01:00
Volker Lendecke
6b584e0e9a
s3: Fix Coverity ID 2281: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:45 +01:00
Volker Lendecke
b753b0ab82
s3: Fix Coverity ID 2283: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.
2011-03-15 11:10:45 +01:00
Volker Lendecke
2992ccfe9c
s3: Fix Coverity ID 2284: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.
2011-03-15 11:10:45 +01:00
Volker Lendecke
2b26c86fe6
s3: Fix Coverity ID 2285: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.
2011-03-15 11:10:45 +01:00
Volker Lendecke
c09877113d
s3: Fix Coverity ID 2286: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:44 +01:00
Günther Deschner
8643683dd8
s3-server_id: only include server_id where needed.
...
Guenther
2011-03-02 12:12:31 +01:00
David Disseldorp
14446b5280
s3-printing: fix move_driver_to_download_area() error paths
...
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-03-02 00:31:22 +01:00
Jelmer Vernooij
59a077d8f5
Fix some types
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28 23:30:06 +01:00
Andreas Schneider
bf18403c81
s3-rpc_client: Move client pipe functions to own header.
2011-02-28 18:15:04 +01:00
Volker Lendecke
fec0baacb6
s3: Make is_zero_addr take a sockaddr_storage
...
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-27 11:02:53 +01:00
Günther Deschner
66e040ee0a
s3-printing: isolate print notification prototypes better.
...
Guenther
2011-02-22 21:52:18 +01:00
Andrew Bartlett
2e69e89456
s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info
...
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-22 16:20:10 +11:00
Günther Deschner
4063bde3ed
s3-rpc_server: move services into individual directories.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 22:13:17 CET 2011 on sn-devel-104
2011-02-10 22:13:17 +01:00