summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-11s3:rpcclient: use ndr_dfs_c.h instead of cli_dfs.hStefan Metzmacher1-1/+1
metze
2011-01-11s4-tests: Tests for expansion of ACEs containing generic information.Nadezhda Ivanova1-2/+59
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Jan 11 12:10:25 CET 2011 on sn-devel-104
2011-01-11security: Fixed bugs in expansion of generic information ACEsNadezhda Ivanova1-38/+82
When an ACE gontaining GA, GE, GR, GW, CO or CG is provided by a user or inherited the final SD actually has to have 2 ACEs, one is an effective expanded one, and the original one with IO flag added.
2011-01-11abi: force TERM=none in abi generationAndrew Tridgell1-1/+2
on Fedora12 gdb puts out a bit of binary garbage at the front of script output when TERM=xterm, presumably trying something like a clear screen. luckily it doesn't do it for unknown terminal types Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jan 11 06:48:56 CET 2011 on sn-devel-104
2011-01-11ldb: link to the download directory on the websiteAndrew Tridgell1-16/+4
2011-01-11script: tag the releasesAndrew Tridgell1-2/+8
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jan 11 02:10:05 CET 2011 on sn-devel-104
2011-01-11script: added librelease.sh scriptAndrew Tridgell1-0/+68
this is used to make library releases
2011-01-11autobuild: added "make distcheck" for our libsAndrew Tridgell1-0/+5
this ensures that release creation always works
2011-01-11s4: fixed 'make dist' not to need configure for s4Andrew Tridgell1-2/+4
2011-01-11Fix "make test" - ensure nmbd runs with -S (log to stdout).Jeremy Allison1-2/+2
Also ensure nmbd socket directory isn't created (nmbd will create it). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 11 00:30:52 CET 2011 on sn-devel-104
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-10libcli/security: fix sid_type_lookup().Günther Deschner1-7/+5
It *always* returned "SID *TYPE* is INVALID". Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 10 12:47:00 CET 2011 on sn-devel-104
2011-01-10m4: Don't AC_MSG_ERROR when too old python is foundVolker Lendecke1-5/+6
This broke the pure S3 build with an old python Matthias Dieter Wallnöfer, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 10 11:26:18 CET 2011 on sn-devel-104
2011-01-09s4: make pipes with underscore works alsoMatthieu Patou1-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 9 15:47:01 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-08Explicitly set "nmbd: socket dir" in the test environment.Jeremy Allison2-0/+9
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 8 07:17:22 CET 2011 on sn-devel-104
2011-01-08waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell5-10/+20
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
2011-01-08Move wins_lookup_open_socket_in() to remove a compile warning.Jeremy Allison1-44/+43
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 8 01:48:27 CET 2011 on sn-devel-104
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 Disseldorp10-47/+79
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-07s3-printing: reload shares after pcap cache fillDavid Disseldorp9-26/+73
Since commit eada8f8a, updates to the cups pcap cache are performed asynchronously - cups_cache_reload() forks a child process to request cups printer information and notify the parent smbd on completion. Currently printer shares are reloaded immediately following the call to cups_cache_reload(), this occurs prior to smbd receiving new cups pcap information from the child process. Such behaviour can result in stale print shares as outlined in bug 7836. This fix ensures print shares are only reloaded after new pcap data has been received. Pair-Programmed-With: Lars Müller <lars@samba.org>
2011-01-08s4: upgradeprovision: Improve wording, punctuationMichael Wood1-57/+60
Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Jan 8 00:25:08 CET 2011 on sn-devel-104
2011-01-07s3-nmbd: Fix bug #7875Björn Baumbach1-2/+2
nmbd --port didn't work Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 7 17:44:08 CET 2011 on sn-devel-104
2011-01-07s3-waf: add NMBDSOCKETDIR variable.Günther Deschner1-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 7 16:33:55 CET 2011 on sn-devel-104
2011-01-07s3-build: fix classic build after libcli netlogon changes.Günther Deschner1-2/+2
Guenther
2011-01-07netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner17-32/+27
Guenther
2011-01-07s3-waf: rename LIBCLI_NETLOGON subsystem to LIBRPCCLI_NETLOGON.Günther Deschner1-8/+8
Guenther
2011-01-07s3-waf: rearrange waf recurses in main wscript_build.Günther Deschner1-23/+22
Guenther
2011-01-07s3-waf: cleanup wscript_build a little.Günther Deschner1-8/+0
Guenther
2011-01-07s3-waf: recurse into ../lib/smbconf.Günther Deschner1-9/+8
Guenther
2011-01-07s3: Make nmbd socket dir configurableVolker Lendecke5-1/+31
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104
2011-01-07s3: Remove some unused codeVolker Lendecke9-549/+2
2011-01-07s3: Limit the number of unexpected clients to 200Volker Lendecke2-2/+13
DoS protection like the max winbind clients. Settable by nmbd:unexpected_clients
2011-01-07s3: Limit the number of unexpected packets per client to 10Volker Lendecke1-0/+8
Non-reading clients could maliciously make nmbd allocate memory