Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_del_driver_internal. | Andreas Schneider | 1 | -5/+18 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_get_driver_list_internal. | Andreas Schneider | 1 | -7/+20 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_get_driver_internal. | Andreas Schneider | 1 | -7/+20 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_delete_printer_dataex_internal. | Andreas Schneider | 1 | -6/+19 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_get_printer_dataex_internal. | Andreas Schneider | 1 | -9/+22 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_enum_printer_dataex_internal. | Andreas Schneider | 1 | -7/+20 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_set_printer_dataex_internal. | Andreas Schneider | 1 | -9/+22 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_update_printer_internal. | Andreas Schneider | 1 | -8/+21 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_create_printer_internal. | Andreas Schneider | 1 | -4/+17 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_get_printer_internal. | Andreas Schneider | 1 | -5/+17 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_printer_get_changeid_internal. | Andreas Schneider | 1 | -5/+18 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_printer_update_changeid_internal. | Andreas Schneider | 1 | -4/+17 | |
2011-07-27 | s3-spoolss: Use tmp_ctx in winreg_delete_printer_key_internal. | Andreas Schneider | 1 | -5/+18 | |
2011-07-27 | s3-spoolss: Free local in winreg_printer_binding_handle. | Andreas Schneider | 1 | -0/+1 | |
2011-07-27 | s3-spoolss: Improve memory efficiency. | Simo Sorce | 1 | -158/+242 | |
p->mem_ctx is a relatively long lived context as it will not be freed until a full request is served. In spoolss we do a lot of operations including opening new pipes to connect to winreg. Use more shortlived temporary contexts to avoid leaking a lot of memory on p->mem_ctx and carrying it around untill all the operations in the current call are done. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-07-20 | s3-auth Use the common auth_session_info | Andrew Bartlett | 3 | -69/+69 | |
This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s3-auth use auth_user_info not netr_SamInfo3 in auth3_session_info | Andrew Bartlett | 1 | -6/+6 | |
This makes auth3_session_info identical to auth_session_info The logic to convert the info3 to a struct auth_user_info is essentially moved up the stack from the named pipe proxy in source3/rpc_server to create_local_token(). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s3-auth Use *unix_token rather than utok in struct auth3_session_info | Andrew Bartlett | 1 | -13/+13 | |
This brings this structure one step closer to the struct auth_session_info. A few SMB_ASSERT calls are added in some key places to ensure that this pointer is initialised, to make tracing any bugs here easier in future. NOTE: Many of the users of this structure should be reviewed, as unix and NT access checks are mixed in a way that should just be done using the NT ACL. This patch has not changed this behaviour however. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-20 | s3-auth Use struct auth3_session_info outside the auth subsystem | Andrew Bartlett | 3 | -69/+69 | |
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> | |||||
2011-07-07 | s3-printing: safe a ton of roundtrips by reusing existing winreg ↵ | Günther Deschner | 1 | -148/+191 | |
binding_handles. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: use winreg_internal functions. | Günther Deschner | 1 | -73/+73 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: add winreg_internal functions. | Günther Deschner | 3 | -1/+540 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: add winreg_printer_binding_handle and remove most of ↵ | Günther Deschner | 2 | -4772/+12 | |
srv_spoolss_util.c. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: move driver_info_ctr_to_info8 to init_spoolss.h | Günther Deschner | 1 | -0/+1 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-07 | s3-printing: move os2 related functions to printing/nt_printing_os2.c. | Günther Deschner | 1 | -0/+1 | |
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> | |||||
2011-07-04 | s3-spoolss: Replace client_id in the spoolss server. | Andreas Schneider | 1 | -8/+63 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-07-04 | s3-rpc_server: Migrate rpc function to tsocket_address. | Andreas Schneider | 1 | -4/+12 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-06-21 | s3-spoolss: Fix some valgrind warnings. | Andreas Schneider | 2 | -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 | |||||
2011-06-09 | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 2 | -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-09 | s3-talloc Change TALLOC_MEMDUP() to talloc_memdup() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 2 | -12/+12 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 1 | -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-08 | s3-spoolss: fix -Wunused-but-set-variable build warning in ↵ | Günther Deschner | 1 | -0/+4 | |
_spoolss_EnumPrintProcDataTypes(). We were in fact ignoring the error code here. Guenther | |||||
2011-06-01 | s3: fix more -Wunused-but-set-variable build warnings. | Günther Deschner | 1 | -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-31 | s3-smbd provide struct smbd_server_connection * to conn_snum_used | Andrew Bartlett | 1 | -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-18 | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 1 | -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-16 | s3-spoolss: Get the printer location from cups. | Andreas Schneider | 1 | -2/+33 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | s3-spoolss: remove unused struct in construct_notify_printer_info(). | Günther Deschner | 1 | -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-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | More const fixes. Remove CONST_DISCARD. | Jeremy Allison | 1 | -2/+2 | |
2011-05-04 | Fix warning messages caused by addition of null check in fstrcpy macro. | Jeremy Allison | 1 | -1/+1 | |
2011-05-02 | s3-spoolss: remove another unused header. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-05-02 | s3: include ntdomain.h before including generated srv_ headers. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-05-02 | s3-printing: avoid using pipes_struct when only session_info is needed. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2011-05-02 | s3-proto: move remaining spoolss protos to own header file. | Günther Deschner | 2 | -0/+41 | |
Guenther | |||||
2011-04-20 | s3-spoolss: fix debug statement in spoolss_addprinterex_level_2(). | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2011-03-30 | s3-includes: only include ntdomain.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther |