diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-15 12:45:17 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:10 +1000 |
commit | f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31 (patch) | |
tree | bd839288be389cbfe84852e0a114b3ee77589462 /source3/include/nt_printing.h | |
parent | d7d8a5ed94a2b572b6818008a858f8c6b529dd03 (diff) | |
download | samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.tar.gz samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.tar.bz2 samba-f16d8f4eb86ecc4741c25e5ed87b2ea4c6717a31.zip |
s3-auth Use struct auth3_session_info outside the auth subsystem
This seperation between the structure used inside the auth modules and
in the wider codebase allows for a gradual migration from struct
auth_serversupplied_info -> struct auth_session_info (from auth.idl)
The idea here is that we keep a clear seperation between the structure
before and after the local groups, local user lookup and the session
key modifications have been processed, as the lack of this seperation
has caused issues in the past.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include/nt_printing.h')
-rw-r--r-- | source3/include/nt_printing.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 4f8515983b..8bac857687 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -128,18 +128,18 @@ bool nt_printing_init(struct messaging_context *msg_ctx); const char *get_short_archi(const char *long_archi); -bool print_access_check(const struct auth_serversupplied_info *server_info, +bool print_access_check(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, int snum, int access_type); WERROR nt_printer_publish(TALLOC_CTX *mem_ctx, - const struct auth_serversupplied_info *server_info, + const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, struct spoolss_PrinterInfo2 *pinfo2, int action); bool is_printer_published(TALLOC_CTX *mem_ctx, - const struct auth_serversupplied_info *server_info, + const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, const char *servername, char *printer, struct GUID *guid, struct spoolss_PrinterInfo2 **info2); @@ -147,33 +147,33 @@ bool is_printer_published(TALLOC_CTX *mem_ctx, WERROR check_published_printers(struct messaging_context *msg_ctx); bool printer_driver_in_use(TALLOC_CTX *mem_ctx, - const struct auth_serversupplied_info *server_info, + const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, const struct spoolss_DriverInfo8 *r); bool printer_driver_files_in_use(TALLOC_CTX *mem_ctx, - const struct auth_serversupplied_info *server_info, + const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, struct spoolss_DriverInfo8 *r); -bool delete_driver_files(const struct auth_serversupplied_info *server_info, +bool delete_driver_files(const struct auth3_session_info *server_info, const struct spoolss_DriverInfo8 *r); -WERROR move_driver_to_download_area(struct auth_serversupplied_info *session_info, +WERROR move_driver_to_download_area(struct auth3_session_info *session_info, struct spoolss_AddDriverInfoCtr *r); WERROR clean_up_driver_struct(TALLOC_CTX *mem_ctx, - struct auth_serversupplied_info *session_info, + struct auth3_session_info *session_info, struct spoolss_AddDriverInfoCtr *r); void map_printer_permissions(struct security_descriptor *sd); void map_job_permissions(struct security_descriptor *sd); -bool print_time_access_check(const struct auth_serversupplied_info *server_info, +bool print_time_access_check(const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, const char *servicename); void nt_printer_remove(TALLOC_CTX *mem_ctx, - const struct auth_serversupplied_info *server_info, + const struct auth3_session_info *server_info, struct messaging_context *msg_ctx, const char *printer); |