Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-07 | s3-printing: Initiate pcap reload from parent smbd | David Disseldorp | 1 | -0/+1 | |
Since commit 7022554, smbds share a printcap cache (printer_list.tdb), therefore ordering of events between smbd processes is important when updating printcap cache information. Consider the following two process example: 1) smbd1 receives HUP or printcap cache time expiry 2) smbd1 checks whether pcap needs refresh, it does 3) smbd1 marks pcap as refreshed 4) smbd1 forks child1 to obtain cups printer info 5) smbd2 receives HUP or printcap cache time expiry 6) smbd2 checks whether pcap needs refresh, it does not (due to step 3) 7) smbd2 reloads printer shares prior to child1 completion (stale pcap) 8) child1 completion, pcap cache (printer_list.tdb) is updated by smbd1 9) smbd1 reloads printer shares based on new pcap information In this case both smbd1 and smbd2 are reliant on the pcap update performed on child1 completion. The prior commit "reload shares after pcap cache fill" ensures that smbd1 only reloads printer shares following pcap update, however smbd2 continues to present shares based on stale pcap data. This commit addresses the above problem by driving pcap cache and printer share updates from the parent smbd process. 1) smbd0 (parent) receives a HUP or printcap cache time expiry 2) smbd0 forks child0 to obtain cups printer info 3) child0 completion, pcap cache (printer_list.tdb) is updated by smbd0 4) smbd0 reloads printer shares 5) smbd0 notifies child smbds of pcap update via message_send_all() 6) child smbds read fresh pcap data and reload printer shares This architecture has the additional advantage that only a single process (the parent smbd) requests printer information from the printcap backend. Use time_mono in housekeeping functions As suggested by Björn Jacke. | |||||
2011-01-04 | s3:build: don't use cli_wbint.c any more | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2011-01-03 | s3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signature | Stefan Metzmacher | 1 | -1/+4 | |
size metze | |||||
2010-12-06 | s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain name | Volker Lendecke | 1 | -0/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 6 21:18:07 CET 2010 on sn-devel-104 | |||||
2010-10-26 | waf: Remove lib prefix from libraries manually. | Jelmer Vernooij | 1 | -8/+8 | |
2010-10-05 | s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr(). | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2010-09-30 | s3: Add "smbcontrol winbindd ip-dropped <local-ip>" | Volker Lendecke | 1 | -0/+1 | |
This is supposed to improve the winbind reconnect time after an ip address has been moved away from a box. Any kind of HA scenario will benefit from this, because winbindd does not have to wait for the TCP timeout to kick in when a local IP address has been dropped and DC replies are not received anymore. | |||||
2010-09-28 | s3-waf: add NDR_PERFCOUNT subsystem. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-09-24 | s3-waf: convert LIBNET et al into subsystems. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-09-24 | s3-waf: let winbind depend on SRV_NDR_WBINT and RPCCLI_NDR_WBINT. | Günther Deschner | 1 | -0/+10 | |
Guenther | |||||
2010-09-24 | s3-waf: add RPC_NDR_WBINT to librpc/wscript_build. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-09-24 | s3-waf: add wscript_build to s3 librpc dir for NDR_ subsystems. | Günther Deschner | 1 | -0/+31 | |
Guenther | |||||
2010-09-23 | s3-dcerpc: Use spnego own sign/seal functions | Simo Sorce | 1 | -64/+47 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: make auth context opaque | Simo Sorce | 1 | -16/+41 | |
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data | Simo Sorce | 1 | -26/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: add spnego server helpers | Simo Sorce | 2 | -1/+110 | |
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | spnego: make spnego_context public | Simo Sorce | 2 | -21/+19 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: move client spnego stuff in /librpc/crypto | Simo Sorce | 3 | -6/+5 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | spnego: avoid explicit dependency on dcerpc specific structures | Simo Sorce | 3 | -42/+58 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | gssapi: remove unused function argument | Simo Sorce | 2 | -3/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | gssapi: avoid explicit dependency on dcerpc specific structures | Simo Sorce | 3 | -38/+15 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: move crypto stuff in /librpc/crypto | Simo Sorce | 6 | -14/+15 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-19 | libnetapi: deal with NULL data in I_NetLogonControl2(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-09-15 | s3-rpc_server: Added helper functions to read data from a ncacn socket. | Simo Sorce | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@cynapses.org> | |||||
2010-09-15 | libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS. | Günther Deschner | 1 | -1/+19 | |
Guenther | |||||
2010-09-07 | Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵ | Julien Kerihuel | 1 | -0/+4 | |
levels) This allows for binding strings like this: ncacn_ip_tcp:host[localaddress=192.168.2.1,seal] which will force the connection to be locally bound to the specified IP address Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-09-04 | librpc/rpc: add dcerpc_binding_handle_set_timeout() | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-09-04 | librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2010-09-02 | s3-kerberos: use krb5 compat macros in fill_keytab_from_password() | Simo Sorce | 1 | -1/+1 | |
This one uses the compat macro in the right way, without actually breaking the code. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-02 | Revert "s3-kerberos: use krb5 compat macros in fill_keytab_from_password()." | Simo Sorce | 1 | -1/+6 | |
This reverts commit 9986d25ed195ee77bd73c96f057c527b4c3a8f03. This patch was causing us to free unallocated memory. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-31 | s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets(). | Günther Deschner | 1 | -16/+22 | |
Guenther | |||||
2010-08-31 | s3-kerberos: use smb_get_enctype_from_kt_entry() in | Günther Deschner | 1 | -1/+1 | |
get_mem_keytab_from_secrets(). Guenther | |||||
2010-08-31 | s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-08-31 | s3-kerberos: use krb5 compat macros in fill_keytab_from_password(). | Günther Deschner | 1 | -6/+1 | |
Guenther | |||||
2010-08-31 | s3-kerberos: fix flush_keytab() compile with heimdal. | Günther Deschner | 1 | -1/+1 | |
krb5_kt_cursor is not a pointer in heimdal but a struct. Guenther | |||||
2010-08-30 | dcerpc-gssapi: include missing dcerpc_krb5.h header. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-30 | dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is ↵ | Günther Deschner | 1 | -1/+1 | |
unavailable. Guenther | |||||
2010-08-30 | dcerpc-gssapi: add function to retrieve client name | Simo Sorce | 2 | -0/+44 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-30 | dcerpc-gssapi: add function to extract authtime | Simo Sorce | 2 | -0/+54 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-30 | dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi ↵ | Simo Sorce | 2 | -4/+63 | |
context Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-30 | dcerpc-gssapi: add function to check flags | Simo Sorce | 1 | -2/+30 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-30 | dcerpc-gssapi: add initial server side code | Simo Sorce | 2 | -12/+229 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-30 | s3-dcerpc: add krb5 helpers | Simo Sorce | 2 | -0/+411 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-26 | s3-build: only include rpc_misc.h where needed. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-08-20 | s3:librpc: make dcerpc_read_ncacn_packet_send/recv() available | Stefan Metzmacher | 1 | -0/+9 | |
metze | |||||
2010-08-17 | s3-dcerpc: try to fix the non gssapi build. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-08-17 | s3-dcerpc: fix c++ build warning. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-08-17 | s3-dcerpc: properly implement gse/spnego_get_session_key | Simo Sorce | 4 | -9/+59 | |
2010-08-17 | s3-dcerpc: Pull packet in the caller, before validation | Simo Sorce | 1 | -0/+1 | |
2010-08-16 | s3-waf: Added missing client option to pidl list for wbint. | Andreas Schneider | 1 | -1/+1 | |