summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
AgeCommit message (Collapse)AuthorFilesLines
2011-01-07s3-printing: Initiate pcap reload from parent smbdDavid Disseldorp1-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-06s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain nameVolker Lendecke1-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-30s3: Add "smbcontrol winbindd ip-dropped <local-ip>"Volker Lendecke1-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-19libnetapi: deal with NULL data in I_NetLogonControl2().Günther Deschner1-1/+1
Guenther
2010-09-15libnetapi: add DOMAIN_CONTROLLER_INFO_FLAGS.Günther Deschner1-1/+19
Guenther
2010-08-16s3-waf: Added missing client option to pidl list for wbint.Andreas Schneider1-1/+1
2010-08-16s3-waf: Try to fix the idl build.Andreas Schneider1-0/+1
2010-08-14s3:winbind: remove the method REMOVE_MAPPING from winbind's APIMichael Adam1-12/+0
Michael
2010-08-14s3:winbind: remove the method SET_MAPPING from winbind's APIMichael Adam1-6/+0
Michael
2010-08-14s3:winbind: remove SET_HWM from winbind's API.Michael Adam1-5/+0
2010-08-05s3-libnet_join: add ads.h as helper header to IDL.Günther Deschner1-1/+2
Guenther
2010-07-07s3-registry: add preg.idl.Günther Deschner2-1/+50
Guenther
2010-07-07s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.Günther Deschner1-0/+19
Guenther
2010-07-01s3-libnet_join: small IDL enhancement.Günther Deschner1-2/+2
Guenther
2010-05-28s3-idl: fix some missing dependencies to other IDL files.Günther Deschner4-2/+6
Guenther
2010-05-20s3-waf: Fix up PIDL includes.Kai Blin1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-05-20s3-waf: Add autogeneration with PIDLStefan Metzmacher1-0/+7
2010-05-18s3:winbind use no_srv_register to avoid needing rpc_srv_registerAndrew Bartlett1-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-04s3-libnetjoin: omit admin password in generated ndr_print function.Günther Deschner1-2/+2
Guenther
2010-02-12s3: Implement global locks in a g_lock tdbVolker Lendecke1-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-21s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dcVolker Lendecke1-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-26s3-winbind: properly include netlogon.idl in wbint.idl.Günther Deschner1-1/+1
Guenther
2009-10-29s3: add secrets.idl.Günther Deschner1-0/+27
Guenther
2009-10-16s3-libnetapi: add I_NetLogonControl{2} to IDL.Günther Deschner1-0/+49
Guenther
2009-10-13s3-winbindd: add wbint_ChangeMachineAccount implementation.Günther Deschner1-1/+4
Guenther
2009-10-01s3: add perfcount idl and generated files.Günther Deschner1-0/+172
Guenther
2009-09-07s3:winbind: Convert WINBINDD_SET_HWM to the new APIVolker Lendecke1-0/+5
2009-09-07s3:winbind: Convert WINBINDD_REMOVE_MAPPING to the new APIVolker Lendecke1-0/+6
2009-09-07s3:winbind: Convert WINBINDD_SET_MAPPING to the new APIVolker Lendecke1-0/+12
2009-09-07s3:winbind: Convert WINBINDD_CHECK_MACHACC to the new APIVolker Lendecke1-0/+3
2009-08-30w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new APIVolker Lendecke1-0/+4
2009-08-30w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new APIVolker Lendecke1-0/+4
2009-08-29s3:winbind: Add async QueryGroupListVolker Lendecke1-0/+4
2009-08-29w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new APIVolker Lendecke1-0/+5
2009-08-29s3:winbind: Add an async dsgetdcname callVolker Lendecke1-0/+8
2009-08-29s3:winbind: Add async query_user_listVolker Lendecke1-0/+9
2009-08-29s3:winbind: Rename wbint_GroupMembers to wbint_PrincipalsVolker Lendecke1-4/+4
2009-08-29s3:winbind: Rename wbint_GroupMember to wbint_PrincipalVolker Lendecke1-3/+3
2009-08-16s3:winbind: Add async wb_group_membersVolker Lendecke1-0/+17
2009-08-16s3:winbind: Add async wb_seqnumVolker Lendecke1-0/+4
2009-08-05s3:winbind: Add async wb_lookupusergroupsVolker Lendecke1-0/+5
2009-08-05s3:winbind: Add async wb_lookupuseraliasesVolker Lendecke1-0/+15
2009-08-05s3:winbind: Add async wb_queryuserVolker Lendecke1-0/+15
2009-08-05s3:winbind: Add async wb_gid2sidVolker Lendecke1-0/+6
2009-08-05s3:winbind: Add async wb_uid2sidVolker Lendecke1-0/+6
2009-08-05s3:winbind: Add async wb_sid2gidVolker Lendecke1-0/+6
2009-08-05s3:winbind: Add async wb_sid2uidVolker Lendecke1-0/+6
2009-08-05s3:winbind: Add async wb_lookupnameVolker Lendecke1-0/+8
2009-08-05s3:winbind: Add async wb_lookupsidVolker Lendecke1-0/+10
2009-08-05s3:winbind: Add NDR-based parent-child communication to winbindVolker Lendecke1-0/+14