summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-01-13s3-svcctl: prefer dcerpc_svcctl_X functions.Günther Deschner1-68/+254
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-12s3: Fix some nonempty blank linesVolker Lendecke2-12/+12
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
2011-01-12s3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() returned without ↵Björn Baumbach1-1/+5
checking all architectures. Continues now with next architecture if no driver is available. Because of the broken behavior of the rpccli_*() functions, we need special error code handling. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-12s3-net: fix query_service_state() error handling.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 15:22:56 CET 2011 on sn-devel-104
2011-01-12s3-net: add missing breaks in switch statement in get_share_info().Günther Deschner1-0/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104
2011-01-12s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.Günther Deschner2-5/+13
Guenther
2011-01-12s3-libnetapi: add missing error check after switchting to dcerpc_wkssvc_X ↵Günther Deschner1-0/+4
functions. Guenther
2011-01-12s3-waf: finally enable large file support.Günther Deschner1-0/+13
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 11:59:22 CET 2011 on sn-devel-104
2011-01-12s3: Remove a pointless elseVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 12 11:12:56 CET 2011 on sn-devel-104
2011-01-12s3-waf: add check for SO_PEERCRED.Günther Deschner1-0/+9
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 02:29:48 CET 2011 on sn-devel-104
2011-01-12s3-waf: add checks for Linux readahead.Günther Deschner1-0/+9
Guenther
2011-01-12s3-waf: more fallocate checks stolen from autoconf.Günther Deschner1-0/+30
Guenther
2011-01-12s3-waf: add checks for fallocate fallocate64.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 12 00:56:57 CET 2011 on sn-devel-104
2011-01-11s3-build: remove RPCCLI_DRSUAPI subsystem.Günther Deschner1-2/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 11 23:01:24 CET 2011 on sn-devel-104
2011-01-11s3-waf: remove RPCCLI_DRSUAPI subsystem.Günther Deschner1-6/+2
Guenther
2011-01-11s3-drsuapi: prefer dcerpc_drsuapi_X functions.Günther Deschner2-15/+36
Guenther
2011-01-11s3-build: remove RPCCLI_INITSHUTDOWN subsystem.Günther Deschner1-2/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 11 17:59:21 CET 2011 on sn-devel-104
2011-01-11s3-waf: remove RPCCLI_INITSHUTDOWN subsystem.Günther Deschner1-6/+2
Guenther
2011-01-11s3-initshutdown: prefer dcerpc_initshutdown_X functions.Günther Deschner2-15/+29
Guenther
2011-01-11s3-build: remove RPCCLI_EVENTLOG subsystem.Günther Deschner1-2/+1
Guenther
2011-01-11s3-waf: remove RPCCLI_EVENTLOG subsystem.Günther Deschner1-5/+1
Guenther
2011-01-11s3-eventlog: prefer dcerpc_eventlog_X functions.Günther Deschner1-46/+107
Guenther
2011-01-11s3-build: remove RPCCLI_WKSSVC subsystem.Günther Deschner1-2/+1
Guenther
2011-01-11s3-waf: remove RPCCLI_WKSSVC subsystem.Günther Deschner1-7/+3
Guenther
2011-01-11s3-wkssvc: prefer dcerpc_wkssvc_X functions.Günther Deschner2-12/+32
Guenther
2011-01-11s3:winbindd: use ndr_wbint_c.h instead of cli_wbint.hStefan Metzmacher30-30/+30
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 11 15:40:22 CET 2011 on sn-devel-104
2011-01-11s3:winbindd: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher1-1/+1
metze
2011-01-11s3:net: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher1-1/+1
metze
2011-01-11s3:rpcclient: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher1-1/+1
metze
2011-01-11s3:rpcclient: use ndr_dfs_c.h instead of cli_dfs.hStefan Metzmacher1-1/+1
metze
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 client_revision.Andreas Schneider1-1/+1
The spec states that the ClientRevision value MUST be one of the following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2. LSA_CLIENT_REVISION_2 means Windows 2000 and newer. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 10 19:05:31 CET 2011 on sn-devel-104
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 lookup_options.Andreas Schneider1-1/+1
Use the enum value in dcerpc_lsa_LookupNames4 for _lookup_options. Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision.Andreas Schneider1-1/+1
The spec states that the ClientRevision value MUST be one of the following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2. LSA_CLIENT_REVISION_2 means Windows 2000 and newer. Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 lookup_options.Andreas Schneider1-1/+1
Use the enum value in dcerpc_lsa_LookupSids3 for _lookup_options. Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-netlogon: Move to new dcerpc client funtions.Andreas Schneider1-56/+140
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_lookup_names.Andreas Schneider2-31/+137
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_lookup_sids and dcerpc_lsa_lookup_sids3.Andreas Schneider2-57/+214
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_open_policy2.Andreas Schneider2-11/+62
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_open_policy.Andreas Schneider2-9/+58
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3: Remove superfluous ;Volker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 10 15:26:50 CET 2011 on sn-devel-104
2011-01-10s3-selftest: re-sync with s4-selftest wscript.Günther Deschner1-6/+45
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 10 13:41:38 CET 2011 on sn-devel-104
2011-01-09s3: Convert enc_blob_send_receive to cli_trans()Volker Lendecke1-34/+21
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 9 11:40:04 CET 2011 on sn-devel-104
2011-01-09s3: Fix two incompatible pointer type warnings on SolarisVolker Lendecke1-2/+2
2011-01-08s3: Fix some warnings in the zfsacl moduleVolker Lendecke1-15/+15
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 8 13:42:20 CET 2011 on sn-devel-104
2011-01-08s3: Avoid a ton of registry writes at startupVolker Lendecke1-0/+18
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 8 12:39:09 CET 2011 on sn-devel-104
2011-01-08s3: Fix a type errorVolker Lendecke1-2/+2
2011-01-08s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2011-01-07s3-printing: remove printer_list_need_refreshDavid Disseldorp3-41/+0
printer_list_need_refresh() was used previously to ensure one smbd process did not attempt to update the printer_list tdb during or soon after update by another smbd. It is no longer needed, as pcap updates are now only performed by the parent smbd process following startup, SIGHUP, config update or printcap cache time expiry.
2011-01-07s3-printing: remove old entries in pcap_cache_replaceDavid Disseldorp3-11/+24
Callers of pcap_cache_replace() assume the existing printcap cache is replaced by the new values provided. This is not currently the case, old entries should be removed.
2011-01-07s3-printing: Initiate pcap reload from parent smbdDavid Disseldorp9-44/+78
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.