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. | |||||
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-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-19 | libnetapi: deal with NULL data in I_NetLogonControl2(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-09-15 | libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS. | Günther Deschner | 1 | -1/+19 | |
Guenther | |||||
2010-08-16 | s3-waf: Added missing client option to pidl list for wbint. | Andreas Schneider | 1 | -1/+1 | |
2010-08-16 | s3-waf: Try to fix the idl build. | Andreas Schneider | 1 | -0/+1 | |
2010-08-14 | s3:winbind: remove the method REMOVE_MAPPING from winbind's API | Michael Adam | 1 | -12/+0 | |
Michael | |||||
2010-08-14 | s3:winbind: remove the method SET_MAPPING from winbind's API | Michael Adam | 1 | -6/+0 | |
Michael | |||||
2010-08-14 | s3:winbind: remove SET_HWM from winbind's API. | Michael Adam | 1 | -5/+0 | |
2010-08-05 | s3-libnet_join: add ads.h as helper header to IDL. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-07-07 | s3-registry: add preg.idl. | Günther Deschner | 2 | -1/+50 | |
Guenther | |||||
2010-07-07 | s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL. | Günther Deschner | 1 | -0/+19 | |
Guenther | |||||
2010-07-01 | s3-libnet_join: small IDL enhancement. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-05-28 | s3-idl: fix some missing dependencies to other IDL files. | Günther Deschner | 4 | -2/+6 | |
Guenther | |||||
2010-05-20 | s3-waf: Fix up PIDL includes. | Kai Blin | 1 | -1/+1 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-20 | s3-waf: Add autogeneration with PIDL | Stefan Metzmacher | 1 | -0/+7 | |
2010-05-18 | s3:winbind use no_srv_register to avoid needing rpc_srv_register | Andrew Bartlett | 1 | -1/+2 | |
This pidl attribute avoids the need for this dummy function, which helps s3compat. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-04 | s3-libnetjoin: omit admin password in generated ndr_print function. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-02-12 | s3: Implement global locks in a g_lock tdb | Volker Lendecke | 1 | -1/+2 | |
This is the basis to implement global locks in ctdb without depending on a shared file system. The initial goal is to make ctdb persistent transactions deterministic without too many timeouts. | |||||
2009-12-21 | s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc | Volker Lendecke | 1 | -0/+3 | |
This just does a NULL RPC call through an existing NETLOGON connection. If someone knows an operation that "just works" and does not return NOT_SUPPORTED, please tell me :-) | |||||
2009-11-26 | s3-winbind: properly include netlogon.idl in wbint.idl. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-10-29 | s3: add secrets.idl. | Günther Deschner | 1 | -0/+27 | |
Guenther | |||||
2009-10-16 | s3-libnetapi: add I_NetLogonControl{2} to IDL. | Günther Deschner | 1 | -0/+49 | |
Guenther | |||||
2009-10-13 | s3-winbindd: add wbint_ChangeMachineAccount implementation. | Günther Deschner | 1 | -1/+4 | |
Guenther | |||||
2009-10-01 | s3: add perfcount idl and generated files. | Günther Deschner | 1 | -0/+172 | |
Guenther | |||||
2009-09-07 | s3:winbind: Convert WINBINDD_SET_HWM to the new API | Volker Lendecke | 1 | -0/+5 | |
2009-09-07 | s3:winbind: Convert WINBINDD_REMOVE_MAPPING to the new API | Volker Lendecke | 1 | -0/+6 | |
2009-09-07 | s3:winbind: Convert WINBINDD_SET_MAPPING to the new API | Volker Lendecke | 1 | -0/+12 | |
2009-09-07 | s3:winbind: Convert WINBINDD_CHECK_MACHACC to the new API | Volker Lendecke | 1 | -0/+3 | |
2009-08-30 | w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API | Volker Lendecke | 1 | -0/+4 | |
2009-08-30 | w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API | Volker Lendecke | 1 | -0/+4 | |
2009-08-29 | s3:winbind: Add async QueryGroupList | Volker Lendecke | 1 | -0/+4 | |
2009-08-29 | w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new API | Volker Lendecke | 1 | -0/+5 | |
2009-08-29 | s3:winbind: Add an async dsgetdcname call | Volker Lendecke | 1 | -0/+8 | |
2009-08-29 | s3:winbind: Add async query_user_list | Volker Lendecke | 1 | -0/+9 | |
2009-08-29 | s3:winbind: Rename wbint_GroupMembers to wbint_Principals | Volker Lendecke | 1 | -4/+4 | |
2009-08-29 | s3:winbind: Rename wbint_GroupMember to wbint_Principal | Volker Lendecke | 1 | -3/+3 | |
2009-08-16 | s3:winbind: Add async wb_group_members | Volker Lendecke | 1 | -0/+17 | |
2009-08-16 | s3:winbind: Add async wb_seqnum | Volker Lendecke | 1 | -0/+4 | |
2009-08-05 | s3:winbind: Add async wb_lookupusergroups | Volker Lendecke | 1 | -0/+5 | |
2009-08-05 | s3:winbind: Add async wb_lookupuseraliases | Volker Lendecke | 1 | -0/+15 | |
2009-08-05 | s3:winbind: Add async wb_queryuser | Volker Lendecke | 1 | -0/+15 | |
2009-08-05 | s3:winbind: Add async wb_gid2sid | Volker Lendecke | 1 | -0/+6 | |
2009-08-05 | s3:winbind: Add async wb_uid2sid | Volker Lendecke | 1 | -0/+6 | |
2009-08-05 | s3:winbind: Add async wb_sid2gid | Volker Lendecke | 1 | -0/+6 | |
2009-08-05 | s3:winbind: Add async wb_sid2uid | Volker Lendecke | 1 | -0/+6 | |
2009-08-05 | s3:winbind: Add async wb_lookupname | Volker Lendecke | 1 | -0/+8 | |
2009-08-05 | s3:winbind: Add async wb_lookupsid | Volker Lendecke | 1 | -0/+10 | |
2009-08-05 | s3:winbind: Add NDR-based parent-child communication to winbind | Volker Lendecke | 1 | -0/+14 | |