The annotated tag, tdb-1.3.1 has been created at 128f7842ff8fa34afcc75974be6b5bb10ba00220 (tag) tagging 1f7da1ca7f76cc30c5a753da85184e3e19967769 (commit) replaces tdb-1.3.0 tagged by Stefan Metzmacher on Tue Sep 16 20:05:10 2014 +0200
- Log ----------------------------------------------------------------- tdb: tag release tdb-1.3.1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJUGHvWAAoJEEeTkWETCEAloIcIAK82OBKuCPucaxiiFIk9M4QS axbeN9G9+xIaFAyBt+PN56DBJkHquw/nhgSG5LwRUVKFJIxq8e3HuJi5KLVkIM0F Sq91eUjQhXLjNTJbmF792qIoWQGd4EmyYKiFtlkVg7ItxzEz6J2iosf0s/YKPNKM kHF+FDxEKTrovk1nPbXxvmt8xV7rIC8yKFCkip5oD/iOBKXF7l8NxpmYBkyPF1h+ PStRYEM27mI/yU/2DowhA4RiQ58p5fB6n029CGRMQYbv339sakBb8pQ5TXUiV2l3 UAPab2vWEORwXukJ2MXNepimYQMIY4IZS4sb7kvf26w7nVBZiR/IvyWtsNyQ07Q= =dX56 -----END PGP SIGNATURE----- Alexander Bokovoy (1): WAF: use libsystemd-daemon only if linking actually succeeds Amitay Isaacs (127): ctdb-build: Build ctdb_version.h before compiling files that include it ctdb-build: Move internal include files in a separate directory s3-build: Support building with in-tree CTDB ctdb-pmda: Do not hardcode include paths ctdb-ib: Make infiniband transport compile again ctdb-common: No need to save previous scheduler priority ctdb-common: Do not abort if restoring scheduling policy fails ctdb-common: Changing scheduler policy does not require ctdb context ctdb-common: Drop ctdb prefix from utility functions independent of ctdb ctdb-common: Separate system utilties that are ctdb independent ctdb-common: Separate more system utilities that are independent of ctdb ctdb-daemon: No need to block SIGPIPE at startup ctdb-common: Remove unused functions ctdb-daemon: Rename block_signal to ignore_signal ctdb-common: Keep debug level related functions with logging code ctdb-daemon: Instead of passing ctdb context, pass valgrinding boolean ctdb-daemon: Rename ctdb_lockdown_memory to lockdown_memory ctdb-common: Move lockdown_memory to system utilities ctdb-daemon: Rename ctdb_mkdir_p_or_die to mkdir_p_or_die ctdb-common: Move mkdir_p_or_die to system utilities ctdb-logging: Split ringbuffer handling code from ctdb_collect_log ctdb-logging: Move controls handling functions from common to server ctdb-daemon: Remove duplicate code from helper binaries ctdb-build: Remove duplicate library dependency ctdb-daemon: Do not complain if node is inactive and db is not attached ctdb-daemon: Reset scheduler policy for helper processes ctdb-build: Remove duplicate popt library ctdb-build: Remove duplicate replace library ctdb-build: Remove duplicate talloc library ctdb-build: Remove duplicate tevent library ctdb-build: Remove duplicate tdb library ctdb-build: Remove duplicate socket_wrapper library ctdb-header: Protect against multiple includes ctdb-mkversion: Support external VERSION specification wafsamba: allow samba_dist.dist() to be called from a different directory. ctdb-build: Remove autoconf build files ctdb-build: Add waf build for CTDB ctdb-tests: Fix the tests for waf build ctdb-build: Add build files (configure/Makefile) to use waf ctdb-packaging: Fix date/days in changelog ctdb-packaging: Modify spec file to use waf build instead of autoconf ctdb-build: Add target to build RPMs ctdb-packaging: Remove unused files autobuild: Don't need autogen.sh anymore in the "ctdb" target. autobuild: Remove unsupported --enable-socket-wrapper option from the "ctdb" target. ctdb-build: Allow waf to build rpms without configure first ctdb-build: Add special target to get build version ctdb-build: Use CTDB_RUNDIR instead of VARDIR/run/ctdb ctdb-build: Use CTDB_ETCDIR instead of ETCDIR/ctdb ctdb-build: Use correct path variables for ctdb_run_tests.sh ctdb-build: Fix sed expression to protect '\' ctdb-build: Instead of default test_wrap, install fixed test_wrap ctdb-packaging: Minimum required tevent library is 0.9.16 ctdb-packaging: Update configure.rpm with minimum library versions ctdb-recoverd: No need to set ctdbd_pid again Revert "It was possible for ->recovery_mode to get out of sync with the new three db priorities in such a way that" ctdb-tools: There is no need for forcing a recovery ctdb-recoverd: Set recovery mode before freezing databases ctdb-daemon: Do not thaw databases if recovery is active ctdb-tests: Check that ctdb wipedb cleans the database ctdb-tests: Add a test for ctdb restoredb ctdb-tests: Shutdown local daemons if the tests exit abnormally ctdb-build: Check the return value of RUN_COMMAND ctdb-build: Replace os.system with samba_utils.RUN_COMMAND ctdb-build: Create ctdb only ctags ctdb-build: fix wscript formatting as per PEP8 ctdb-tests: Do not run ip command if running against local daemons ctdb-daemon: Use false instead of 0 for boolean arguments ctdb-daemon: Simplify code a bit ctdb-daemon: Enable robust mutexes only if TDB_MUTEX_LOCKING is defined ctdb-daemon: Support per-node robust mutex feature ctdb-ltdb: Use tdb_null instead of zeroing TDB_DATA variable ctdb-vacuum: Fix talloc hierarchy in delete_marshall_traverse ctdb-vacuum: If talloc_realloc fails, terminate traverse ctdb-util: Fix nonempty line endings ctdb-util: Refactor ctdb_marshall_record ctdb-util: Refactor record marshalling routines to avoid extra talloc ctdb-vacuum: Use ctdb_marshall_add to add a record to marshall buffer ctdb-vacuum: Use existing function ctdb_marshall_finish selftest: Fix a typo (SIGTERm --> SIGTERM) s4-rpc: dnsserver: Allow . to be specified for @ record tests: dnsserver: Add a update test with name set to '.' tests: dnsserver: Remove duplicate empty test function ctdb-locking: Fix the lock_type_str corresponding to LOCK_ALLDB ctdb-locking: Remove unused structure members ctdb-locking: Remove multiple lock requests per lock context (part 1) ctdb-locking: Remove multiple lock requests per lock context (part 2) ctdb-locking: Schedule the next possible lock based on per-db limit ctdb-locking: Remove unused function find_lock_context() ctdb-locking: Allocate lock request soon after allocating lock context ctdb-locking: Add new tunable LockProcessesPerDB ctdb-locking: Increase number of lock processes per database to 200 ctdb-locking: Remove unused variable lock_num_pending ctdb-locking: Add DB lock requests to head of the pending queue ctdb-locking: Update ctdb statistics for all lock types ctdb-locking: Decrement pending statistics when lock is scheduled ctdb-locking: Simplify check for locks on record or database ctdb-locking: Update a comment ctdb-locking: Add per database queues for pending and active lock requests ctdb-build: Replace indentation tabs with spaces ctdb-build: popt has moved from lib/ to third_party/ ctdb-readonly: Add an early return to simplify code ctdb-readonly: Do not abort if revoke of readonly record fails on a node wafsamba: Correctly locate the 'third_party' directory ldb: Fix check for third_party ctdb-build: Remove unnecessary third_party symlink ctdb-build: Add missing dependency on popt s4-rpc: dnsserver: Correctly set rank for glue NS records s4-rpc: dnsserver: Do not return NS_GLUE records with VIEW_GLUE_DATA filter ctdb-build: SAMBA_BINARY targets should not include bin/ prefix s4-rpc: dnsserver: Do not search for deleted DNS entries ctdb-locking: Run debug locks script only if the node is active ctdb-locking: Talloc lock request from client specified context ctdb-locking: Remove unused function ctdb_free_lock_request_context ctdb-include: Remove declaration of non-existent function ctdb-common: Refactor code to convert TDB_DATA key to aligned uint32 array ctdb-daemon: Remove duplicate code with refactored function ctdb-daemon: Defer all calls when processing dmaster packets ctdb-locking: Do not reset real-time priority for lock helpers ctdb-call: Drop all deferred requests from older generation ctdb-daemon: Increment pending calls statistics correctly ctdb-locking: Set real-time priority for lock helpers ctdb-daemon: Make sure ctdb runs with real-time priority ctdb-tests: Do not expect real-time priority when running local daemons ctdb-daemon: Decrement pending calls statistics when calls are deferred ctdb-doc: Add ctdb-statistics manual page ctdb-doc: Add reference to new magepage ctdb-statistics Andreas Schneider (51): doc-xml: Add documentation for 'spoolss: os_[major|minor|build]' options. tests: Add doc exception for spoolss: OSVERSION. s3-winbind: Use strlcpy to avoid log entry. Add YouCompleteMe config. swrap: Correctly set the bind iface address on connect(). waf: Add check for HAVE_STRUCT_IN6_PKTINFO. swrap: Add IP_PKTINFO support in setsockopt. swrap: Add swrap_msghdr_add_cmsghdr(). swrap: Add swrap_msghdr_add_pktinfo(). swrap: Add swrap_msghdr_socket_info(). swrap: Call swrap_msghdr_socket_info in swrap_recvmsg_after(). swrap: Process control messages in recvmsg(). swrap: Truncate the address if the buffer is to small. swrap: Silence a warning on OpenIndiana. swrap: Check if the in_pktinfo structure is available. swrap: Implement support for IP_RECVDSTADDR on BSD. swrap: Add swrap_sendmsg_filter_cmsghdr(). swrap: Add swrap_sendmsg_copy_cmsg(). swrap: Add swrap_sendmsg_filter_cmsg_socket(). swrap: Add swrap_msghdr_filter_cmsg_pktinfo(). swrap: Call swrap_msghdr_filter_cmsghdr in swrap_sendmsg_before(). swrap: Support more socket options in getsockopt(). swrap: We need to pass a pointer-pointer to not leak memory. swrap: Make sure cmbuf is not NULL. swrap: Setup myname in swrap_socket() for getsockname(). swrap: Add missing family check in bind(). swrap: Add support for bindresvport(). lib: Bump socket_wrapper version to 1.1.0. swrap: Disable incomplete bind checks (and tests) for EADDRINUSE. selftest: Add support for tmate. Remove .clang_complete. make: Add gdbtestenv target. s3-libnet: Improve error message. s3-winbind: Don't set the gecos field to NULL. samlogon_cache: avoid overwriting info3->base.full_name.string. uwrap: Fix memory leak on error. uwrap: Add mutex in uwrap_destructor(). uwrap: Fall back to RTLD_NEXT if we can't find libc. uwrap: Check for HAVE_FUNCTION_ATTRIBUTE_FORMAT. uwrap: Add a better logging function. uwrap: Log error if we are out of memory. uwrap: Add logging if uwrap is enabled correctly. waf: socket_wrapper should check for HAVE_FUNCTION_ATTRIBUTE_FORMAT. selftest: Use the actual name of the nmblookup binary. selftest: Improve check to detect if nmbd is working. wscript: Only build gensec_krb5 with heimdal. krb5_wrap: Use com_err in krb5_warnx. s4-auth: Initialize the tokens by default. selftest: Use the dns domain in the hosts file. testprogs: Use the system binaries for KRB5 if we don't build in-tree heimdal. selftest: Fix selftest where pid is used uninitialized. Andrew Bartlett (97): docs: Remove references to SWAT (now removed) docs: Samba is now GPLv3 docs: Remove most references to Samba-3 and change to just Samba docs: Multiple passdb backend support has been removed docs: Remove out of date Kerberos and security chapter selftest: consitently use the name s4member selftest: Ensure winbindd is fully operating before running tests selftest: Set winbind separator = / selftest: Run samba4.blackbox.wbinfo against plugin_s4_dc libwbclient-tests: No longer hardcoded password and test domain selftest: Make test_wbinfo.sh work with s3-winbindd selftest: enable winbind enum users/groups in s4 environments selftest: move all winbind test rules to one place selftest: Add knownfail entries for wbinfo --user-info tests only on the failing environments dsdb: Do not give an error is metadata.tdb does not yet exist winbindd: explain that this check protects the AD DC machine account password (for now at least) winbindd: Remove pointless if statement s3-rpc_server: Give log messages on failure winbindd: Use rpc_pipe_open_interface() so that winbindd uses the correct rpc servers s3-param: Add lp_dnsdomain() for use by winbindd make winbindd work in "samba4" member server modes winbind: Fix template homedir to match source3 s4-messaging: Make header guard less generic s3-rpc_server: Use C99 types in rpc_pipes.h docs: Update Roadmap passdb: Do not routinely clear the global memory returned by get_global_sam_sid() dsdb: Do not store a struct ldb_dn in struct schema_data dsdb: Do not refresh the schema using the wrong event context winbindd: Call set_dc_type_and_flags on the internal domain auth: Provide a way to use the auth stack for winbindd authentication s3-winbindd: Register winbindd with irpc s3-winbindd: Listen on IRPC and do forwarded DNS updates on an RODC librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests to internal winbind calls s3-winbind rename winbindd_update_rodc_dns to be for more generic irpc s3-winbind: Transparently forward IRPC messages to the winbind_dual child s3-winbindd: Implement SamLogon IRPC call torture: convert torture_comment() -> torture_result() so we can knownfail flapping base.* tests torture: convert torture_comment() -> torture_result() so we can knownfail flapping base.delaywrite tests passdb: Allow a passdb module to do idmap for everything s3-winbindd: Honour pdb_is_responsible_for_everything_else() s4-winbind: Use winbindd in the AD DC for fl2003dc and plugin_s4_dc ctdb: Remove duplicate README.Coding torture: Use torture_assert() macros in rpc.samr test selftest: Only run samba4.rpc.samr.passwords.{lockout,badpwdcount} once torture: convert CHECK_STATUS into torture_assert_ntstatus_equal in raw.mux tests torture: convert raw.mux to use torture_assert() macros torture: convert raw.mux to use torture_comment() macros instead of printf() torture: Store writetimeupdatedelay in a double to allow easier comparison torture: Only error if the write time was updated is less than the expected delay torture-base.delaywrite: assert the for a delayed write, that it just takes longer than our configured delay selftest: Run base.delaywrite against plugin_s4_dc only, and with kerberos for faster connections torture: tidy up whitespace for clarity torture: Remove confusing reference to (1 sec == 0.25) secrets: Ensure we store the secureChannelType when written to secrets.ldb s4-auth: Do not override the NT_STATUS_NOT_IMPLEMENTED error for winbindd selftest: Use s4 RPC servers in the s4member environment winbindd: Use a remote RPC server when we are an RODC when needed s4-winbind: Use winbindd in the AD DC by default dsdb: Set syntax of userParameters to binary string, not unicode string dsdb: Always store and return the userParameters as a array of LE 16-bit values dbcheck: Add check and test for various invalid userParameters values libcli/auth: Ensure that the dns_names in/out parameter is preserved winbindd-irpc: Ensure not to call irpc_send_reply twice on error dsdb: Also redact the clearTextPassword input-only attribute torture-dns: Add test for dlz_bind9 lookups dsdb: Change acl module to look for instanceType flag rather than list of NCs selftest: Pass DC_REALM to the subdom_dc environment join.py: Reinstate full_nc_list and make creation of NTDS-DSA object common provision: Only calculate ForestDNSZone GUID if we need it s4-gensec: Fix spelling in debug message provision: Use names.domainsid and names.domainguid dsdb: Permit creation of partitions of type INSTANCE_TYPE_UNINSTANT python: Use the security.dom_sid type for ctx.domsid in join.py and provision join.py: Ensure we set the SID of the parent domain on the trust record winbindd: Do not segfault if the trusted domain has no SID selftest: Set admin password on subdom_dc environment dsdb: Make log message more clear selftest: Improve connection between primary domain and subdomain for krb5 provision: Only create hard links for ForestDnsZones if it exists on this DC auth: Split out fetching trusted domain into sam_get_results_trust() passdb: Use sam_get_results_trust() and implement pdb_samba_dsdb_get_trusteddom_pw winbindd: Add debugging to assist in locating errors creating NETLOGON pipes dsdb: improve debugging in DsCrackNameOneFilter set_dc_type_and_flags_trustinfo: Use init_dc_connection and wb_open_internal_pipe s3-rpc_client: Do not give NT_STATUS_NO_MEMORY when the source string was NULL join.py: Ensure to fill in samAccountName so we get the domain$ account s4-netlogond: Give a better error if we do not have a flatname attribute join.py: Set NT ACL on crossRef object for new partition selftest: Show filename or script we had trouble reading s4-auth: Use sizeof() rather than a fixed constant in memcmp() call passdb: Avoid use-after-free when setting a plaintext password Use correct size for test string, sizeof() was of the pointer s3-lib: Do not walk past the end of the dos_to_ntstatus_map array torture: allow us to correctly use sizeof(buf) in raw.open tests winbindd: Do not use user_list->out.resume_index after free winbindd: Do not use group_list->out.resume_index after free torture: Provide enough space for test EA name in raw.eas test Anubhav Rakshit (2): librpc: Add NETWORK_INTERFACE_INFO IDL data structure torture: Add FSCTL_QUERY_NETWORK_INTERFACE_INFO torture test case to source4/torture/smb2/ioctl.c Arvid Requate (3): s4-dns: dlz_bind9: Fix ipv6 updates s4-dns: dlz_bind9: improve log message consistency passdb: fix NT_STATUS_NO_SUCH_GROUP Björn Baumbach (3): provision/sambadns: remove redundant site parameter samba-tool: add --site parameter to provision command samba-tool domain: remove duplicate check if site is set Björn Jacke (5): waf: fix the name of the WINBIND "nss" module on AIX net/doc: make clear that net vampire is for NT4 domains only winbind/i18n: update Japanese pam winbind translation samba-tool: fix reply when zero day pwd expiry is set docs: mention incompatibility between kernel oplocks and streams_xattr Christian Ambach (6): s3:lib/afs move afs.c to common lib dir s3:lib/afs move afs_settoken.c to common lib dir waf: add --with-fake-kaserver option waf: fixup build with fake kaserver enabled vfs_afsacl: remove unused includes s3:vfs_afsacl fix compiler warnings Christof Schmitt (20): s3-shadow-copy2: Remove TODO and fix comments smbd: Use common function for FORCE_DIS and KILL_CLIENT_IP in parent smbd: Make messaging_send_to_children static smbd: Use mutex instead of fcntl lock for echohandler coordination libwbclient: Call correct function for wbcPingDc2 test smbd: Change logging level for denied share access doc: Add new parameters to vfs_full_audit man page Revert "doc: Add new parameters to vfs_full_audit man page" torture3: Allow padding byte for LARGE_READX responses selftest: Add readx test for dc to known fail smbd: Add padding byte to readx response s4:libcli/raw: Make flags2 and offset available to callers of readx torture: Add test for 16 bit alignment of readx data torture: Use torture_fail macro in check_buffer for read requests torture: Use torture_assert macro for status check in raw.read torture: Use torture_assert macro for value check in raw.read torture: Also run raw.read against the aio share s3-winbindd: Use correct realm for trusted domains in idmap child s3-winbindd: Use more descriptive parameter names in ads_cached_connection_connect s3-winbindd: Document parameters in ads_cached_connection_reuse Daniel Kobras (1): sys_poll_intr: fix timeout arithmetic David Disseldorp (62): torture/smb2/dir: check create time match find libcli/sd: remove redundant sec_desc_add_sid() libcli/sd: remove redundant sec_ace_add_sid() sharesec: use NDR security descriptor print fns sharesec: remove unused security descriptor print fns s3/rpc_server/spoolss: remove SETUP_SPOOLSS_NOTIFY_DATA_SECDESC s3/profiles: replace dup_sec_desc() usage s3/net_rpc_printer: replace dup_sec_desc() usage s3/posix_acls: replace dup_sec_desc() usage s3/rpc_server/spoolss: replace dup_sec_desc() usage s3/rpc_server/lsa: replace dup_sec_desc() usage libgpo: replace dup_sec_desc() usage libcli/secdesc: replace dup_sec_desc() usage libcli/secdesc: remove dup_sec_desc() s3/profiles: improve copy_registry_tree() errors libcli/security: clean up and fix make_sec_desc libcli/security: remove dup_sec_acl() libcli/security: remove unused sec_desc_del_sid() libcli/security: remove unused sec_ace_del_sid() libcli/security: cleanup security_ace_equal() s3/libsmb_xattr: use security_ace_equal instead of sec_ace_equal s3/sharesec: use security_ace_equal instead of sec_ace_equal s3/smbcacls: use security_ace_equal instead of sec_ace_equal torture/attr: use security_ace_equal instead of sec_ace_equal secdesc: use security_ace_equal instead of sec_ace_equal libcli/security: remove sec_ace_equal torture: validate FSCTL_SRV_ENUMERATE_SNAPSHOTS response torture: add timeout sleeps to fsrvp create helper torture: add FSRVP message sequence timeout test torture: add FSRVP share snapshot ACL test vfs: add vfs_snapper module vfs: add previous file version support for vfs_snapper doc: add vfs_snapper manpage vfs_snapper: don't redefine GMT_FORMAT macro vfs_snapper: use a talloc hierarchy for arrays smbcacls: parse config file argument prior to load printing: traverse_read the printer list for share updates printing: only reload printer shares on client enum printing: reload printer_list.tdb from in memory list printing: remove pcap_cache_add() printing: return last change time with pcap_cache_loaded() smbd: only reprocess printer_list.tdb if it changed server: remove duplicate snum_is_shared_printer() smbd: split printer reload processing printing: reload printer shares on OpenPrinter param: remove unimplemented find_service() check param: avoid dereferencing null lp_ctx tdbtorture: print details when run with -n 1 dosmode: fix FSCTL_SET_SPARSE request validation idl: define sparse file fsctl structures torture: test FSCTL_SET_SPARSE torture: test FSCTL_SET_SPARSE against a directory torture: test FSCTL_SET_SPARSE without SetSparse buffer torture: trivial test_ioctl_network_interface_info cleanup ntvfs/posix: don't advertise FS_ATTR_SPARSE_FILES torture: test oversize FSCTL_SET_SPARSE request torture: split pattern write into helper function torture: basic FSCTL_QUERY_ALLOCATED_RANGES test torture: malformed FSCTL_QUERY_ALLOCATED_RANGES tests torture: add file zero-range checker torture: basic FSCTL_SET_ZERO_DATA tests namecache: fix uninitialised pointer returns Garming Sam (70): winbindd: Allow the AD-DC to call getdcname selftest: Make the wbinfo userinfo tests work properly with the qualified name param: ensure CMD_LIST is freed when freeing a parameter param: change a number of parameters from P_LIST to P_CMDLIST param: Use the plus/minus syntax for reading in lists in s3 loadparm lib/param: factor out a common portion of set_variable param: pre-emptively correct use of str_list_make_v3 in lib/param param: Add null checks for upcoming str_list_make changes param: use str_list_make_v3 instead of str_list_make in s3 param: attempt to align the set_variable_helper with lp_do_parameter lib/param: change set_variable_helper formatting param: make some more changes to lp_do_parameter to match set_variable_helper param: finish the set_param_helper lineup by rearranging case order param: use set_variable_helper in s3 loadparm param: move defaults_saved global out of dump_globals function param: avoid the use of lp_do_parameter in popt param: remove unnecessary lp_local_ptr_by_snum function lib/param: add deprecated warning to be consistent with s3 param: remove unnecessary calls to do_parameter in s3 param: rename do_section in s3 to lp_do_section to avoid conflicts param: add do_section to s3 helpers param: allow fallback to s3 do_section in lib/param param: attempt to start factoring out the bInGlobalSection parameter param: flag fixes in s3 loadparm param: set the flags on a s3 loadparm context param: Ensure the correct mem context is always being used from s3 param: replace lp_set_cmdline in s3 helpers to store_cmdline param: simplify lp_do_parameter param: remove unnecessary dump a service param: fix FLAG_CMDLINE to be stored outside of the param table param: mark non default options using flags in s3 param: store the flags_list in the s3 lp context used for special param: add failure case for loadparm_init_s3 param: Use set_variable instead of set_variable_helper in lp_do_parameter param: handle smb_ports as a special handler lib/param: rename do_parameter to lpcfg_do_parameter s3:param: pass down lp_ctx in handle include param: change snum parameter in special functions to a loadparm_service pointer param: remove idmap parameters as special cases in docs.py param: Amend docs.py test to check dumping of flagged parameters torture: test_ntlm_auth.py now has a require-membership-of argument ntlm_auth: added require-membership tests s3:param: simplify lp_do_parameter to use lpcfg functions param: Use the correct flag locations with lpcfg_parm_is_cmdline s3:param: use lpcfg_do_*_paramter instead of lp_do_parameter in do_parameter s3:param: add lp_ctx as a parameter to init_globals param: remove unnecessary uses of lp_string_set s3:param: remove lp_string_set from the s3_fns. param: add extra condition in lpcfg_service_ok param: use lpcfg_service_ok in s3 loadparm param: remove unused service_ok function param: make is_default more generic param: remove is_default method in s3 param: allow dump_globals to check the actual defaults param: rename dump_globals param: use lpcfg_dump_globals in s3 loadparm param: remove unused dump_globals param: make is_default method static again param: add missing talloc_free in lpcfg_file_list_changed which are present in s3 param: add the necessary new line for the debug message in handle_copy param: change init_printer_values to take an lp ctx param: move init_printer_values to lib/param param: remove init printer values from s3-helpers s3:param: Ensure that the service pointers are not used directly. s3:param: move all lp context setup to a single function param: remove lp_get_parameter param: remove unnecessary lp_do_parameter call param: remove unused lp_do_parameter from s3 helpers param: get rid of unnecessary get_default_loadparm_service pointer param: Add errors for when an s3 context is used incorrectly Günther Deschner (42): s3-rpc_client: return info3 in rpccli_netlogon_password_logon(). s3-winbindd: call interactive samlogon via rpccli_netlogon_password_logon. s3-winbindd: add wcache_query_user_fullname(). s3-winbindd: use wcache_query_user_fullname after inspecting samlogon cache. s3-winbindd: prefer "displayName" over "name" in ads user queries for the fullname. samlogon_cache: use a talloc_stackframe inside netsamlogon_cache_store. s4-dsdb/samdb: use smb_krb5_make_principal for compatibility reasons with MIT. lib/krb5_wrap: add smb_krb5_get_pw_salt(). lib/krb5_wrap: add smb_krb5_create_key_from_string(). samba: use smb_krb5_create_key_from_string() in some places. lib/krb5_wrap: remove unused create_kerberos_key_from_string_direct(). lib/krb5_wrap: add smb_krb5_get_allowed_weak_crypto(). s4-torture: use smb_krb5_get_allowed_weak_crypto() in remote PAC test. auth/credentials-krb5: use get_kerberos_allowed_etypes(). lib/krb5_wrap: move krb5_princ_size replacement code to lib/krb5_wrap/krb5_samba.c. lib/krb5_wrap: add smb_krb5_principal_get_comp_string(). s4-dsdb/samdb: use smb_krb5_principal_get_comp_string in ldb ACL module. s4-kerberos: remove duplicate macros. s4-auth/kerberos: add a note how to implement krb5_get_init_creds_opt_set_win2k() with MIT. s4-heimdal: fix krb5_get_init_creds_opt_set_process_last_req(). lib/krb5_wrap: add krb5_copy_data_contents. s4-gensec_krb5: fix memleak in gensec_krb5_session_info(). wscript: add check for krb5_keyblock_init. lib/krb5_wrap: use const principal in smb_krb5_principal_get_realm(). lib/krb5_wrap: add smb_krb5_principal_set_realm(). auth/credentials_krb5: silence a build warning. lib/krb5_wrap: add smb_krb5_principal_get_type(). lib/krb5_wrap: define KRB5_PW_SALT if it is not already there. lib/krb5_wrap: provide CKSUMTYPE_HMAC_MD5 type matching MIT. lib/krb5_wrap: use krb5_copy_data_contents in smb_krb5_principal_set_realm. lib/krb5_wrap: provide krb5_warnx() replacement. lib/krb5_wrap: make sure smb_krb5_principal_get_realm returns a malloced string. s3-libads/krb5_setpw: free realm from smb_krb5_principal_get_realm(). s4-dsdb/cracknames: free realm from smb_krb5_principal_get_realm(). testprogs: allow to run passwords test with MIT and Heimdal kinit. s3-kpasswd: send a netbios krb5 address to avoid invalid net address errors from lib/texpect: add texpect binary based on heimdals rkpty. testprogs: use texpect in passwords test file instead of rkpty. testprogs: test kpasswd via "net ads password". testprogs: use texpect instead of rkpty. s4-heimdal: do not build rkpty anymore. s3-kpasswd: Fix build warning. Har Gagan Sahai (1): Fixed a memory leak in cli_set_mntpoint(). Hemanth Thummala (1): Adding new oplock test 'batch26'. Ira Cooper (14): s3: Refactor smbd_smb2_request_process_negprot s3: Fix fsctl_validate_neg_info to pass MS compliance suite. lib/zlib: Remove undeeded files that trigger GPL issues. nsswitch: Fix bogus #include line. third_party/iniparser: Initial copy of iniparser. third_party/iniparser: Initial support for iniparser. lib/iniparser: Remove non third_party iniparser. third_party/zlib: Initial copy of zlib. third_party/zlib: Initial support for zlib lib/zlib: Remove non third_party zlib. third_party/popt: Initial copy of popt. third_party/popt: Initial support for popt. lib/popt: Remove non third_party popt. MAINTAINERS: Remove MAINTAINERS.txt Jakub Hrozek (1): uwrap: Support dropping all supplemetary groups with setgroups() Jelmer Vernooij (12): librpc: Remove obsolete idl-deps script. source4: Remove script to find unused makefile variables. find_unused_macros: Remove obsolete script that finds unused macros. replace: remove unused and duplicate imports. replace: remove tabs. Look for system setproctitle before trying -lbsd. samba.netcmd.domain: Just catch ImportError, not any parsing errors in cmd_domain_export_keytab. samba.netcmd.domain: Remove unused import. samba.netcmd.domain: Fix incorrect variable names, causing NameErrors. samba.netcmd.domain: desactivating -> deactivating. Remove trailing whitespace. Various updates to the pidl README file. Jelmer Vernooij (1): Remove mention of compatibility with Python 2.4. Jeremy Allison (68): s3: smb2: Move from using SBVAL to put NTTIMEs on the wire to put_long_date_timespec. s3: smb2: Move from using SBVAL to put NTTIMEs on the wire to put_long_date_timespec. s3:smbd: let default_sys_recvfile() and sys_recvfile() cope with non-blocking sockets. s3/s4: smbd, rpc, ldap, cldap, kdc services. lib: tevent: make TEVENT_SIG_INCREMENT atomic. s3: libsmb : Move users of cli_dskattr to a 64-bit interface cli_disk_free(). s3: libsmb: Make cli_smb2_dskattr() a 64-bit interface. s3: libsmb: Change cli_disk_size() to use the trans2/SMB_FS_FULL_SIZE_INFORMATION call in preference to the old SMB1 call. s3: smbd - SMB[2|3]. Ensure a \ or / can't be found anywhere in a search path, not just at the start. s3: smbd : SMB2 - fix SMB2_SEARCH when searching non wildcard string with a case-canonicalized share. s3: auth: Add some const to the struct netr_SamInfo3 * arguments of copy_netr_SamInfo3() and make_server_info_info3() s3: auth: Change make_server_info_info3() to take a const struct netr_SamInfo3 pointer instead of a struct PAC_LOGON_INFO. s3: auth: Add create_info3_from_pac_logon_info() to create a new info3 and merge resource group SIDs into it. s3: auth: Change auth3_generate_session_info_pac() to use a copy of the info3 struct from the struct PAC_LOGON_INFO. s3: auth: Fix winbindd_pam_auth_pac_send() to create a new info3 and merge in resource groups from a trusted PAC. s3: smb2 - Negprot should return INVALID_PARAMETER if flags2 signed bit is set. s3: smb2 - Check supplied impersonation level on SMB2_CREATE. s3: smb2 - strictly obey file name restrictions w.r.t. the SMB2 protocol spec. s3: torture test. We now pass "samba3.smb2.create.leading-slash" so remove from knownfail. s4: torture : Add test case to show that a bad impersonation level causes an error on a regular file open. s3: nmbd: Fix bug 10633 - nmbd denial of service s3: smbd - fix processing of packets with invalid DOS charset conversions. s3: smbd - Prevent file truncation on an open that fails with share mode violation. s4: torture: Add regression test case for #10671 - Samba file corruption as a result of failed lock check. s3: smb2: Remove unused code from remove_pending_lock(). s3: smb2: Simplify logic in reprocess_blocked_smb2_lock(). s3: SMB2 : Fix leak of blocking lock records in the database. s3:winbindd - fix bad bugfix for bug #10280 - winbind panic if AD server is down. s3: smbd: Locking, fix off-by one calculation in brl_pending_overlap(). s3: smbd: Locking - convert to using utility macro used elsewhere. s3: smbd: Locking - add and use utility function lock_timed_out(). s3: smbd: Locking - treat lock timeout the same as any other error. s3: smbd: Locking - re-add pending lock records if we fail to acquire a lock (and the lock hasn't timed out). s4: smbtorture: Add multi-lock test. Regression test for bug #10684. s3: VFS modules: Ignore EPERM errors on [f]chmod in crossrename module. s4: torture: Add a new lock test to show that the Samba SMB1 multi-lock implementation is (currently) correct. s3: libwbclient: Don't break out of loop too soon - find all parameters. As David Woodhouse points out, this breaks backwards compatibility. Fix now erroneous comment for directory_create_or_exist() s3: winbindd: Add new parameter "winbind request timeout" set to 60 seconds with man page. s3: winbindd: On new client connect, prune idle or hung connections older than "winbind request timeout" s3: xml-docs. Ensure users of 'net time' know the remote server must be specified with -S. s3: net time - fix usage and core dump. lib: strings: Fix the behavior of strcasecmp_m_handle() in the face of bad conversions. lib: strings: Fix the behavior of strncasecmp_m_handle() in the face of bad conversions. s4: tests: Added local.charset test for Bug 10716 - smbd constantly crashes when filename contains non-ascii character Add tiniparser - tiny version of iniparser that only implements what Samba uses. Replace all uses of iniparser with tiniparser. Don't build iniparser anymore. Remove popt/iniparser from .clang_complete Remove iniparser. s3: smbd: POSIX ACLs. Remove incorrect check for SECINFO_PROTECTED_DACL in incoming security_information flags in posix_get_nt_acl_common(). s3: smbd: vfs_dirsort module. s3: smbd: smb2-sessionsetup. Fix use after free when the sessionsetup request state is freed before struct smbXsrv_session struct. s3: smbd: Ensure we don't call qsort() with a size of -1. s3: smbd - open logic fix. s3: winbindd: Old NT Domain code sets struct winbind_domain->alt_name to be NULL. Ensure this is safe with modern AD-DCs. s3: utils: Don't directly manipulate errno inside strupper_m(). s3: smbd: srvstr_push() was changed to never return -1, so don't check for that as an error. s3: smbd: Ensure types for all variables called 'len' used in srvstr_push() are correct. s3: smbd: Change the function signature of srvstr_push() from returning a length to returning an NTSTATUS with a length param. s3: smbd: Change smbd_marshall_dir_entry() to return an NTSTATUS. Returns STATUS_MORE_ENTRIES on out of space. s3: smbd: smbd_marshall_dir_entry() no longer needs explicit 'out_of_space' parameter. s3: smbd: SMB2 - change smbd_dirptr_lanman2_entry() to return an NTSTATUS. s3: smbd: Remove unneeded 'out_of_space' parameter from smbd_dirptr_lanman2_entry(). s3: smbd: Change get_lanman2_dir_entry() to return the full NTSTATUS. s3: smbd: Fix a couple of tricky slow-path cases - don't return a mangled name for a name that cannot be converted. Add test suite for iconv conversion fail of bad names over SMB1/SMB3. Justin Maggard (1): passdb: add missing newline to debug message in get_primary_group_sid() Karolin Seeger (2): WHATSNEW: Start release notes for Samba 4.2.0rc1. docs-xml: Bump version up to 4.2. Marc Muehlfeld (3): Redescribe --userou usage docs: Fix typos in smb.conf (inherit acls) Fix typo in ldbrename manpage Martin Schwenke (62): ctdb-tools-ctdb: scriptstatus should not count disabled scripts ctdb-tools-ctdb: Make natgwlist and lvsmaster more resilient ctdb-eventscripts: New configuration variable CTDB_GANESHA_REC_SUBDIR ctdb-common: Do not dynamically allocate memory when not necessary ctdb-common: No dynamic memory allocation in mkdir_p() ctdb-tests: Try harder to avoid failures due to repeated recoveries ctdb-daemon: Debugging for tickle updates ctdb-eventscripts: Ensure $GANRECDIR points to configured subdirectory ctdb-scripts: Always print footer when debugging hung script ctdb-tests: Fix racy test for debugging hung scripts ctdb-daemon: Exit if setting the session ID fails ctdb-daemon: Check PID in ctdb_remove_pidfile(), not unreliable flag ctdb-daemon: Remove ctdbd_pid global variable ctdb-scripts: Support NFS on RHEL7 with systemd ctdb-recoverd: Log a message when releasing the recovery lock ctdb-recoverd: Don't say "Election timed out" ctdb-common: Use SCHED_RESET_ON_FORK when setting SCHED_FIFO ctdb-recoverd: Gently abort recovery when election is underway ctdb-eventscripts: Remove NAT gateway "monitor" event ctdb-tests: Add another LCP2 takeover test ctdb-eventscripts: Remove unused argument to natgw_ensure_master() ctdb-eventscripts: Remove special case for virtio_net ctdb-doc: Fix default database directories in ctdbd.1 replace: Remove unused item returned by FAILED() ctdb-tools: Factor out new function find_node_xpnn() from control_xpnn() ctdb-tools: Be more helpful when CTDB CLI tool is run on unconfigured node ctdb-common: Copy functions sys_read() and sys_write() from source3 ctdb: Use sys_read() and sys_write() to ensure correct signal interaction ctdb-util: Fix warning about ignored result from system() ctdb-daemon: Fix some strict-aliasing warnings ctdb-build: Avoid unused variable warning in output from rpcgen ctdb-util: Variables should be declared extern in headers ctdb: Fix some "declarations after code" problems ctdb-util: Remove util/strlist.c and references to str_util_*() ctdb-tests: Mark some functions as static ctdb-tests: Add missing declarations caused by #define magic ctdb-daemon: Move some inline declarations to header file ctdb-common: Add some missing #includes ctdb-build: Allow configure and Makefile to find waf in tarball ctdb-build: Make ctdb-client depend on ctdb-util and ctdb-util-misc ctdb-build: Don't try to set lib64 directory automatically in build ctdb-build: Fix includes for SAMBA_BINARY()s ctdb-common: Move hex_decode_talloc() to the lock helper ctdb-util: Remove declaration of non-existent ctdb_fault_setup() ctdb-client: Rename static function server_id_equal() ctdb-util: Add extra max_size argument to file_lines_load() ctdb-daemon: Drop the argument to fault_setup() ctdb-tools: Move definition of timeval_delta() to tools/ctdb.c ctdb-recoverd: Change include of dlinklist.h to contain directory ctdb-build: Add extra includes to help recursive utility compilation ctdb-logging: Factor out ctdb_logging.h from includes.h ctdb-logging: Move variable debug_extra from debug.* ctdb-build: Make ctdb-util a wscript build subsystem ctdb-util: Rename db_wrap to tdb_wrap and make it a build subsystem ctdb-build: Drop lib/util from includes ctdb-build: Tests don't include lib/util/*.c, link ctdb-util instead ctdb-util: Make tdb_wrap self-sufficient - it doesn't need includes.h ctdb-includes: Remove some unnecessary declarations ctdb-util: Clean up dependencies ctdb-build: Remove unnecessary lib/util include path from tests ctdb-locking: Add argc parameter to lock_helper_args() ctdb-locking: Fork lock helper with vfork_with_logging() Michael Adam (108): smbd: add missing newline to debug message in daemon_ready() Remove obsolete README.packaging4. s3:messaging: change messaging_backend to use iovec instead of data blob in send_fn s3:messaging: change unix_dgram_recv_handler() to use recvmsg, not recv vfs:aio_fork: simplify checking of MSG_CONTROL and MSG_ACCTRIGHTS build: rename HAVE_MSGHDR_MSG_CONTROL to HAVE_STRUCT_MSGHDR_MSG_CONTROL build: rename HAVE_MSGHDR_MSG_ACCTRIGHTS to HAVE_STRUCT_MSGHDR_MSG_ACCTRIGHTS s3:messaging: protect use of msg_control with HAVE_STRUCT_MSGHDR_MSG_CONTROL ctdb:server: fix DEBUG message for wrong event script options. swrap: add check for rpc/rpc.h - needed on freebsd for bindresvport swrap: extend input checks in swrap_bind() swrap: fix AF_UNSPEC special case in swrap_bind() swrap: implement check_addr_port_in_use() swrap: check whether an address:port is already in use in swrap_bind() lib: Bump socket_wrapper version to 1.1.1. vfs: remove unused function vfs_pread_data() vfs: update a bit-rotten comment vfs:gpfs: fix a debug message ctdb:build: fix building with external libtdb build: fix the test and define for msg_accrights ctdb:vacuum: adapt debug message for repacking. ctdb:vacuum: remove a comment in ctdb_vacuum_and_repack_db() ctdb:vacuum: use plain tdb_repack() instead of ctdb_repack_tdb() ctdb:vacuum: remove now unused ctdb_repack_tdb(). ctdb:vacuum: remove a superfluous and misleading comment ctdb:vacuum: untangle assignmend and check for return of tdb_repack() ctdb:vacuum: remove a superfluous comment. ctdb:vacuum: remove vacuum limit from vdata - not used ctdb:vacuum: move init of vdata into init_vdata funcion ctdb:vacuum: remove now unused talloc ctx argument from ctdb_vacuum_db() ctdb:vacuum: add missing return to ctdb_vacuum_traverse_db() error path. ctdb:vacuum: always run freelist_size again autobuild: add cflags and ldflags to find locally installed tdb autobuild: fix samba-ctdb samba build to pick up right tdb build: rename argument of list_directory_files(): abspath->path ctdb:includes: add #ifdef guards for _PUBLIC_, _NORETURN_, and _PURE_ ctdb:includes: add #ifdef guard for ZERO_STRUCT tdb:build: improve detection of srcdir. tevent:build: improve detection of srcdir talloc:build: improve detection of srcdir ntdb:build: improve detection of srcdir replace:build: improve detection of srcdir ldb:build: improve detection of srcdir ctdb: update configure.rpm with builtin and bundled library arguments autobuild: fix ctdb build of samba-ctdb target after switch to waf. tdb: factor read_record_on_left() out of tdb_free() tdb: increase readability of read_record_on_left() tdb: reduce indentation in tdb_free() for merging left tdb: fix debug message in tdb_free() tdb: factor merge_with_left_record() out of tdb_free() tdb: improve comments for tdb_free(). tdb: add utility function check_merge_with_left_record() tdb: simplify tdb_free() using check_merge_with_left_record() tdb: add utility function check_merge_ptr_with_left_record() tdb: add tdb_freelist_merge_adjacent() tdb: use tdb_freelist_merge_adjacent in tdb_freelist_size() tdb: add "freelist_size" sub-command to tdbtool tdb: defragment the freelist in tdb_allocate_from_freelist() s3:smbd: make dptr_ReadDirName() static. s3:vfs:gpfs: remove extra empty lines. s3:vfs:gpfs: store the winAttrs in the struct_ex when we got them in vfs_gpfs_fstat() s3:vfs:gpfs: fix flapping offline: always get winAttrs from gpfs for is_offline s3:vfs:gpfs: log when winAttr-garbage is detected (by heuristics) in is_offline s3:smbd: initialize stat_ex buffer in smbd_dirptr_get_entry() ctdb:vacuum: stop vacuuming when the first delete_list traverse fails. selftest: check for fs specific options of the share dir only after creating it Revert "s3:vfs:gpfs: log when winAttr-garbage is detected (by heuristics) in is_offline" s3:vfs:gpfs: Remove all reading uses of stat_ex.vfs_private from vfs_gfs. s3:vfs:gpfs: remove all writing uses of stat_ex.vfs_private from vfs_gpfs. s3:vfs:gpfs: remove a block and reduce indentation in gpfs_is_offline() s3: remove stat_ex.vfs_private completely s3:idmap: don't log missing range config if range checking not requested s3:idmap: in idmap_init_domain() load methods before loading further config s3:idmap: move loading of idmap options together before range checking in idmap_init_domain() s3:idmap: only check the range values if a range setting has been found. s3:idmap: fix talloc hierarchy in idmap_passdb_domain() lib/util: remove outdated comment from debug.c s3:param: move a variable into scope in lp_file_list_changed s3:param: remove unused function lp_string_set() param: remove a redundant (and wrong) comment frop lpcfg_service_ok() s4:torture: remove an unused variable and bogus check from the defer_open test s4:torture: consistently log "pid %u: ..." in the defer_open test s4:torture: use torture_assert instead of torture_comment and return in defer_open test build: fix configure to honour --without-dmapi s4:torture: use torture_assert instead of torture_comment and return in defer_open test wafsamba: remove unused variable from copy_and_fix_python_path wafsamba: improve wording in a comment dynconfig: implement PERL_LIB_INSTALL_DIR. dynconfig: implement PERL_ARCH_INSTALL_DIR wafsamba: add samba_perl.py with SAMBA_CHECK_PERL() higher level check. build: do full SAMBA_CHECK_PERL() check in configure pidl/wscript: don't check for perl again. s3:build: don't detect perl in source3/wscript again. wafsamba: add perl_fixup parameter to INSTALL_FILES pidl: fix the perl module search path (use lib ...) when installing pidl. pidl: remove superfluous "use lib ...". torture: fix whitespace/tab mixup in internal_torture_run_test() Revert "wafsamba: Fail with error message if perl doesn't provide valid dirs." Revert "wafsamba: If perl can't provide defaults, define them." Revert "buildtools: Add perl vendorlib configure option." Revert "buildtools: Rename perl vendorarch configure option." s4:torture:base: move i++ down in loop in run_deferopen() s4:torture:base: add torture_comments to the loop of the deferopen test. s4:torture: fix multi_smb_test child status tracking. s3:smbd: fix a race in open code s4:torture:base: slightly more generous timing in the defer_open test s3:smbd:open_file: use a more natural check. tdb: change version to 1.3.1 Pino Toscano (2): swrap: use LIBC_SO from GNU libc, if available swrap: Properly cache the handle also in LIBC_SO case. Ralph Boehme (16): locking: use correct conversion specifier for printing variables Convert samba_private_attr_name() to a public function vfs_streams_xattr: add options "prefix" and "store_stream_type" man vfs_streams_xattr: new options "prefix" and "store_stream_type" Fix AFP_BackupTime byte order and use ISO C99 integer types New VFS module vfs_fruit vfs_fruit: add manpage s4:torture:smb2: add utility function torture_smb2_con_sopt() s4:torture: add boilerplate code for testing specific VFS modules s4:torture: add wrapper functions s4:torture: add boilerplate code for vfs_fruit s4:torture:vfs_fruit: add test reading Netatalk metadata s4:torture:vfs_fruit: add test writing Netatalk metadata s4:torture:vfs_fruit: add tests for resource fork IO s3:smbd: fix a comment typo vfs_acl_common: dacl size must be updated Roel van Meer (1): Don't discard result of checking grouptype Ross Lagerwall (1): s3:libsmb: Set a max charge for SMB2 connections Samuel Cabrero (4): Fix several talloc stack frames not freed idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo Order switch statements s4-auth-krb: Fix talloc access after free in smb_krb5_update_keytab Shirish Pargaonkar (1): samba: Retain case sensitivity of cifs client Simo Sorce (2): Remove duplicate definitions Remove custom password change code in libads Stefan Metzmacher (176): selftest: use dbwrap_tdb_mutexes:* = yes for "plugin_s4_dc" and "member" lib/util: s/daemon/name s4:librpc/rpc: avoid using dcerpc_unix_socket_path() s4:librpc/rpc: optionally return the local address from dcerpc_pipe_open_socket_recv() s4:librpc/rpc: return the local/remote ip from dcerpc_pipe_open_tcp_recv() s4:librpc/rpc: set "localaddress" and reset "host" for ncacn_ip_tcp s4:librpc/rpc: avoid using dcerpc_socket_peer_addr() s4:librpc/rpc: remove some unused functions and structures from dcerpc_sock.c s4:librpc/rpc: use DCERPC_REQUEST_TIMEOUT for smb opens s4:librpc/rpc: remember some smbXcli_* pointers within struct dcerpc_pipe_connect s4:librpc/rpc: remove pipe_np_smb2_state and use pipe_np_smb_state s4:librpc/rpc: split out continue_smb_open() s4:librpc/rpc: allow a shortcut in dcerpc_pipe_connect_ncacn_np_smb[2]_send() s3:smb2_server: fix invalid TALLOC_FREE(iov) in smbd_smb2_inbuf_parse_compound() s3:smb2_server: call smbd_smb2_flush_send_queue() directly s4:dsdb/schema_load: make error message more verbose s4:dsdb/kcc: use SHOW_RECYCLED instead of SHOW_DELETED in when deleting tombstone/deleted objects s4:dsdb/extended_dn_in: don't force DSDB_SEARCH_SHOW_RECYCLED s4:dsdb/repl_meta_data: make sure objectGUID can't be deleted s4:dsdb/samldb: don't allow 'userParameters' to be modified over LDAP for now libwbclient: allow only one initial_blob/challenge_blob in wbcCredentialCache() libwbclient: reject unknown named blobs in wbcCredentialCache() s3:smb2_negprot: allow "smb max {read,write,trans}" up to 8MiB s3:smb2_negprot: change "smb max {read,write,trans}" to 8MiB (as default) selftest: teardown the environments also on getting SIGPIPE s3:winbindd: remove unused get[pw|gr]ent_initialized from winbindd_cli_state s3:smb2_read: let smb2_sendfile_send_data() behave like send_file_readX() ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory() s3:lib/memcache: use uint8_t instead of uint8 s3:lib/memcache: make use of talloc for memcache_elements s3:lib/memcache: only include the required header files lib/util: move memcache.[ch] to the toplevel 'samba-util' library s4:rpc_server/netlogon: keep a global challenge table s4:torture/rpc: add rpc.netlogon.ServerReqChallengeGlobal s4:libcli/smb2: remove unused 'primary' argument of smb2_session_init() s4:libcli/smb2: add smb2_session_channel() s4:torture/smb2: add smb2.session.bind1 s3:smbd: avoid using client_get_tcp_info() s3:smbd: remove unused client_get_tcp_info() lib/param: change the default for "winbind expand groups" to "0" s3:smbd: add smbXsrv_connection_dbg() s3:smbd: avoid get_peer_addr() and use smbXsrv_connection_dbg() s3:smbd: move sconn->nbt.* to xconn->transport.nbt.* s3:smbd: move sconn->sock to xconn->transport.sock s3:smbd: move sconn->smb1.fde to xconn->transport.fde s3:smbd: move sconn->status to xconn->transport.status s3:smbd: move sconn->smb1.negprot.* to xconn->smb1.negprot.* s3:smbd: move sconn->smb1.sessions.* to xconn->smb1.sessions.* s3:smbd: move sconn->smb1.signing_state to xconn->smb1.signing_state s3:smbd: move sconn->smb1.echo_handler.* to xconn->smb1.echo_handler.* s3:smbd: move sconn->smb1.unix_info.* to xconn->smb1.unix_info.* s3:smbd: move xconn->msg_state to xconn->smb1.msg_state s3:smbd: move libasys state from smbXsrv_connection to smbd_server_connection s3:smb2_server: use xconn->transport.fde also for smb2 s3:smb2_server: move sconn->smb2.request_read_state to xconn->smb2.request_read_state s3:smb2_server: move sconn->smb2.send_queue* to xconn->smb2.send_queue* s3:smb2_server: move sconn->smb2.negprot_2ff to xconn->smb2.allow_2ff s3:smb2_server: use xconn->smb2.server.max_* instead of sconn->smb2.max_* s3:smb2_negprot: remove unused variable 'conn' we already have 'xconn'... s3:smb2_server: move sconn->smb2.*credits* to xconn->smb2.credits.* s3:smb2_server: move sconn->smb2.requests to xconn->smb2.requests s3:smb2_server: talloc smbd_smb2_request as child of smbXsrv_connection s3:smb2_server: remember smbXsrv_connection for each smbd_smb2_request s3:smbd: remember smbXsrv_connection for each smb_request s3:smbd: rename 'conn' to 'xconn' in smbd_process() s3:smbd: rename 'conn' to 'xconn' in exit_server_common() s3:smbd: pass smbXsrv_connection to smbd_register_ips() s3:smbd: use smbXsrv_connection in switch_message() s3:smbd: let construct_reply() also use smb_request_done() s3:smbd: pass smbXsrv_connection to process_smb() s3:smbd: pass smbXsrv_connection to fd handlers s3:smb2_server: pass smbXsrv_connection to fd handlers s3:smb2_server: rename 'conn' variables to 'xconn' s3:smb2_server: pass smbXsrv_connection to smbd_smb2_flush_send_queue() s3:smb2_server: pass smbXsrv_connection to smb2_validate_sequence_number() s3:smb2_server: pass smbXsrv_connection to smb2_validate_message_id() s3:smb2_server: pass smbXsrv_connection to smb2_set_operation_credit() s3:smb2_server: pass smbXsrv_connection to smbd_smb2_first_negprot() s3:smb2_server: pass smbXsrv_connection to smbd_initialize_smb2() s3:smb2_server: pass smbXsrv_connection to smbd_smb2_request_create() s3:smb2_server: pass smbXsrv_connection to smbd_smb2_request_next_incoming() s3:smb2_server: use req->xconn in smbd_smb2_request_setup_out() s3:smb2_server: talloc smbd_smb2_request_pending_state on smbXsrv_connection s3:smb2_server: remove unused 'sconn' from smbd_smb2_request_pending_state s3:smb2_server: use req->xconn in smbd_smb2_request_process_cancel() s3:smb2_server: use req->xconn in smbd_smb2_request_check_session() s3:smb2_server: use req->xconn in smbd_smb2_request_verify_creditcharge() s3:smb2_server: use req->xconn in smbd_smb2_request_dispatch() s3:smb2_server: use req->xconn in smbd_smb2_request_error_ex() s3:smb2_server: remove unused 'sconn' from smbd_smb2_send_break_state s3:smb2_server: use req->xconn in is_smb2_recvfile_write() s3:smb2_*: make use of smb2req->xconn where possible s3:smb2_server: pass smbXsrv_connection to smbd_server_connection_terminate*() s3:smb2_negprot: remove NBT_HDR_SIZE from smbd_smb2_first_negprot() s3:smbd: pass smbXsrv_connection to negprot_spnego() s3:smbd: pass smbXsrv_connection to get_challenge() s3:smbd: pass smbXsrv_connection to reply_special() s3:smbd: pass smbXsrv_connection to netbios_session_retarget() s3:smbd: pass smbXsrv_connection to smbd_do_qfsinfo() s3:smbd: use req->xconn in vfs_[p]write_data() s3:smbd: remove unused 'sconn' in call_trans2setfsinfo() s3:smbd: use req->xconn to send_trans2_replies() s3:smbd: use req->xconn in files.c s3:smbd: use req->xconn in send_trans_reply() s3:smbd: use req->xconn in nttrans.c s3:smbd: remove unused 'sconn' from is_encrypted_packet() s3:smbd: remove unused 'sconn' from valid_smb_header() s3:smbd: pass smbXsrv_connection to is_valid_writeX_buffer() s3:smbd: pass smbXsrv_connection to reply_readbraw_error() s3:smbd: use req->xconn in sesssetup.c s3:smbd: use req->xconn in reply.c s3:smbd: use req->xconn in message.c s3:smbd: use req->xconn in smb_request_done() s3:smbd: pass smbXsrv_connection to smbd_[un]lock_socket_internal() s3:smbXsrv_tcon: don't pass smbXsrv_connection to smbXsrv_tcon_create() s3:smb2_sesssetup: split out smbd_smb2_session_setup_auth_return() s3:smb2_sesssetup: make use of smb2req->xconn s3:smbd: remember the time of the session setup auth_time s3:smbd: pass smbXsrv_connection explicitly to fake_sendfile() s3:smbd: pass smbXsrv_connection explicitly to sendfile_short_send() s3:smb2_server: propagate NTSTATUS from smb2_sendfile_send_data() to smbd_smb2_flush_send_queue() s3:smbd: pass smbXsrv_connection to smb1 encryption functions s3:smb2_server: pass smbXsrv_connection to smbd_smb2_send_break() s3:smbd: pass smbXsrv_connection to smbd_[un]lock_socket() security.idl: add SMB_SUPPORTED_SECINFO_FLAGS s3:smbd: mask security_information input values with SMB_SUPPORTED_SECINFO_FLAGS libcli/security: add better detection of SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info() selftest/Samba4: avoid warnings about 'path' not specified on 'ntvfs handler = cifs' shares s4:dns_server: handle WERR_DNS_ERROR_NAME_DOES_NOT_EXIST in werr_to_dns_err() s4:dns_server: map LDB_ERR_NO_SUCH_OBJECT to WERR_DNS_ERROR_NAME_DOES_NOT_EXIST s4:dns_server: split out a private 'dnsserver_common' library s4:dns_server: split out dns_common_extract() and dns_common_lookup() s4:dns_server: remove const from dns_replace_records() s4:dns_server: split out dns_common_replace() s4:dns_server: use .wType = DNS_TYPE_TOMBSTONE instead of ZERO_STRUCT() s4:dns_server: make sure dns_common_lookup() doesn't return tombstones s4:dns_server: add DNS_TYPE_TOMBSTONE support to dns_common_replace() s4:dns_server: handle tombstones in handle_one_update() s4:dlz_bind9: avoid some compiler warnings s4:dlz_bind9: do an early talloc_free(el_ctx) in dlz_allnodes() libcli/dns: add AAAA support to dns_hosts_file.c libcli/dns: ignore NS entries in dns_hosts_file.c at a higher log level for now selftest: export _IPV6 environment variables selftest/Samba4: also bind to ipv6 selftest/Samba3: also bind to ipv6 python/join: use lowercase for the dnshostname. s4:samba_dnsupdate: don't lower case the registered names s4:samba_dnsupdate: fix dnsobj.__str__() s4:samba_dnsupdate: cache the already registered records s4:samba_dnsupdate: don't try to be smart when verifying NS records s4:samba_dnsupdate: provide more substitution variables e.g. IF_RODC s4:setup/dns_update_list: make use of the new substitution variables s4:torture:dlz_bind9: fix spnego tests torture-dns: Add test for dlz_bind9 zonedumps torture-dns: Add test for dlz_bind9 updates s4:dlz_bind9: let dlz_bind9 use dns_common_lookup() for name lookup s4:dlz_bind9: let dlz_bind9 use dns_common_extract() s4:dlz_bind9: let dlz_bind9 use dns_common_replace() s4:dlz_bind9: let dlz_bind9 use dns_common_lookup() before removing records s4:dlz_bind9: let dlz_bind9 use dns_common_lookup() before add/modify samba-tool/ldapcmp: update the list of non replicated attributes s4-rpc: dnsserver: handle updates of tombstoned dnsNode objects s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when explicitly asked for wafsamba: fix dependency calculation for SAMBA_GENERATOR() wafsamba: fix dependency for SAMBA_GENERATOR() when passing vars!=None wafsamba: allow an optional dep_vars list to be passed to SAMBA_GENERATOR() wafsamba: fix dependencies on environment variables for python_fixup wafsamba: let SAMBA_BLDOPTIONS() use dep_vars=['defines'] instead of always=True ctdb/wscript: pass dep_vars=['VERSION'] to SAMBA_GENERATOR() dynconfig/wscript: add dynconfig_varnames() docs-xml/wscript_build: pass dep_vars=bld.dynconfig_varnames() to SAMBA_GENERATOR() lib/ldb/wscript: pass dep_vars=['LDB_VERSION'] to SAMBA_GENERATOR() script/autobuild.py: remove explicit --with-perl-*-install-dir options pidl/wscript: remove --with-perl-* options s3:smbd: close the connection if the client doesn't start with a SMB1 Negprot or old messaging call. tdb:tools: fix a compiler warning Volker Lendecke (266): dbwrap_tdb: Use mutexes on demand unix_msg: Simplify unix_msg_send a bit dbwrap_ctdb: open locally with TDB_VOLATILE if requested Exit with ctdb_fatal if serverids_exist fails torture3: Add a little gencache_parse load test smbd: Fix a typo serverid: Fix an incompatible pointer assignment messaging3: Fix whitespace messaging3: Remove a pointless return; libcli: Fix a memleak libcli: Avoid a talloc/free libcli: Avoid a talloc/free libcli: Avoid an explicit memset call libcli: Simplify desc_expand_generic() libcli: Simplify desc_ace_has_generic() imessaging: Fix a comment messaging3: The backend send_fn doesn't need a messaging_context messaging3: Introduce messaging_local_backend() messaging3: Add and use messaging_tevent_context() messaging3: Make messaging_context private messaging3: Enforce just one messaging context messaging3: Fix a talloc_tos memleak librpc: Fix a "ignoring asprintf return" warning libndr: Use GUID_compare in GUID_equal Use GUID_equal in a few places libcli: Add a NULL check in dom_sid_string smbd: Use full_path_tos() where appropriate smbd: tevent_req_nterror already returns bool :-) libsmb: Put the "smb2_lease" struct into idl leases: Fix uint32->hyper lib: Add server_id_str_buf lib: Use server_id_str_buf in server_id_str messaging3: Use server_id_str_buf lib: Use BVAL macro in interpret_long_date lib: Apply const to nt_time_to_unix_timespec unix_msg: Lift sockaddr_un handling from unix_dgram_init unix_msg: Lift sockaddr_un handling from unix_dgram_send_queue_init unix_msg: Lift sockaddr_un handling from unix_dgram_send unix_msg: Lift sockaddr_un handling from unix_msg_init unix_msg: Lift sockaddr_un handling from unix_msg_send messaging3: Remove use of full_path_tos() messaging3: Remove two uses of talloc_tos() messaging3: Make the _send function return 0/errno messaging3: Make messaging_dgm_cleanup return 0/errno messaging3: Make messaging_dgm_wipe return 0/errno messaging3: simplify messaging_dgm_lockfile_remove messaging3: Use "goto fail_nomem" where appropriate messaging3: Make messaging_dgm_init return 0/errno nss_wrapper: Align indentation with the rest of Samba nss_wrapper: Fix some "discarding const" warnings libsmb: Make cli_smb2_create_fnum async libsmb: Add cli_create_send/recv libsmb: Replace async cli_ntcreate by cli_create libsmb: remove smb2 switch from cli_ntcreate libsmb: Align cli_ntcreate with other sync wrappers libsmb: Enable oplocks for smb2 cli_ntcreate libsmb: Make smb2cli_create cancellable libsmb: Make cli_smb2_create_fnum cancellable libsmb: Make cli_ntcreate1 cancellable libsmb: Make cli_ntcreate cancellable smbd: Store "struct deferred_open_record" instead of anonymous data on pml smbd: First watch, then defer smbd: Fix bug 10593 torture3: Reproducer for bug 10593 smbd: Remove 2 indentation levels torture4: Add a little test that truncate actually works :-) smb2: Fix smb2_lease_state dbwrap: Print wait times with full precision s3-shadow-copy2: Add extreme debug output to shadow_copy2_strip_snapshot s3-shadow-copy2: Fix dir/@GMT-2012.10.15-13.48.43 form of paths s3-shadow-copy2: Fix incorrect case submounts s3-shadow-copy2: Add more debugs s3-shadow-copy2: Protect against already converted names libcli: Make smb2cli_create return blobs lib: Align unix_timespec_to_nt_time with nt_time_to_unix_timespec lib: Align nt_time_to_unix_timespec with unix_timespec_to_nt_time libcli: Make cli_smb2_close_fnum async smbstatus: Fix an uninitialized variable torture3: Add some brlock entries in cleanup2 smbd: Simplify validate_lock_entries smbd: Factor out brl_delete_lock_struct smbd: Simplify validate_lock_entries smbd: validate_lock_entries does not need mem_ctx anymore libcli: Remove an unused variable torture: Add a check to verify MS-SMB2 3.3.5.14.2 smbd: Clarify smb2 lock checks smbd: Remove an unused variable smbd: Fix some typos torture3: Fix bug 10687 torture4: Adapt comment to code torture4: Make raw.lock.multilock fail after 20 seconds smbd: Remove an outdated comment smbd: Factor out unlocking from smbd_do_locking smbd: Use brl_delete_lock_struct in brl_lock_cancel_default smbd: Remove two outdated comments smbd: Remove unused blocking_lock_record* from VFS_BRL_LOCK_WINDOWS smbd: brl_lock does not need "blr" anymore smbd: do_lock does not need "blr" anymore smbd: Remove unused blocking_lock_record* from VFS_BRL_CANCEL_WINDOWS smbd: brl_lock_cancel does not need "blr" anymore smbd: do_lock_cancel does not need "blr" anymore auth: Fix an incompatible pointer assignment smbd: Use BVAL torture4: Make sure we copy the parent_lease_key torture4: Add a test to break a handle twice torture4: Add smb2.lease.nobreakself torture4: Add trivial epoch test smbd: Make nbt_hdr a field of its own in smbd_smb2_send_oplock_break smbd: Make tf a field of its own in smbd_smb2_send_oplock_break smbd: Make hdr a field of its own in smbd_smb2_send_oplock_break smbd: no "dyn" in smbd_smb2_send_oplock_break smbd: Rename smbd_smb2_send_oplock_break_state->buf to ->body smbd: Factor out smbd_smb2_send_break smbd: Avoid double-free in get_print_db_byname ctdb-daemon: Allow flag TDB_MUTEX_LOCKING to pass into db_attach messaging4: Use tdb_append in irpc_add_name messaging4: Add NULL check to irpc_add_name messaging4: Move str_list_add messaging4: Remove an unused NTSTATUS var messaging4: Remove unnecessary locking messaging4: Fix a memleak in an error path messaging4: Change irpc_servers_by_name to NTSTATUS ctdb: Avoid a talloc in ctdb_queue_send ctdb: Fix verbose_memory_names messaging4: Fix a just-introduced error memleak lib: Fix a valgrind error smbd: Simplify unpack_nt_owners smbd/nmbd: Remove HAVE_LONGLONG smbd: Add comments smbd: "err" is no longer set in get_lock_offset smbd: Use %ju/uintmax_t in source3/locking smbd: Simplify strict_lock_default with early returns smbd: Use a struct initializer brl_lock smbd: Rename lck1->lock in brl_conflict_other smbd: Rename lck2->rw_probe in brl_conflict_other smbd: Fix indentation, {} and line length in brl_conflict_other smbd: Restructure brl_conflict_other smbd: Simplify brl_locktest smbd: Fix a typo smbd: Remove superfluous () smbd: Add missing {} smbd: ?True:False is pretty pointless :-) smbd: Fix a typo torture4: Use sizeof(char-array) instead of constant messaging3: Remove two procid_str_static calls messaging3: Simplify ping_message() messaging4: Simplify ping_message with server_id_str_buf() messaging3: Remove an unnecessary variable lib: Simplify directory_create_or_exist with an early return lib: directory_create_or_exist() does not use "uid" parameter unix_msg: Use empty arrays in structs unix_msg: Use struct initializers unix_msg: simplify unix_msg_send messaging3: messaging_array is no longer used messaging4: Simplify imessaging_path smbd4: Remove process_model_thread debug: Remove thread-related code from debug.c libcli: Fix a typo lib: Remove unused serverid_register_msg_flags() debug: Fix indentation in debug_parse_params debug: Move variables where they are used debug: Factor out debug_parse_param() debug: Add some readability to debug_logtype debug: Remove a dependency on charconv nmbd: Call DEBUGADD instead of Debug1 debug: Make Debug1 static debug: Fix debug_parse_params debug: Statically allocate format_bufr lib: Add timeval_str_buf lib: Use timeval_str_buf in timeval_string lib: Create time_basic.[ch] debug: Simplify dbghdrclass with an early return debug: Use timeval_str_buf in dbghdrclass debug: slprintf->snprintf debug: Move adding timeval and loglevel debug: Only call Debug1 once in dbghdrclass debug: Remove two pointless assignments debug: Remove an "else" debug: Simplify Debug1() -- no va_args debug: Simplify debug_parse_levels debug: Fix a typo debug: In dbghdrclass, don't call strlen repeatedly debug: Increase maximum header length debug: Fix blank line endings debug: Avoid dependency on str_list_make fix unstrcpy lib: Add close_low_fd lib: Use close_low_fd in close_low_fds debug: Use close_low_fd in reopen_logs_internal lib: Make close_low_fd() independently linkable lib: Make DEBUG a subsystem of its own lib: Remove unused nstrcpy lib: strings: Simplify strcasecmp locking: Avoid a pointless cast locking: posix_lock_list does not use "fsp" smbd: Use %s/__func__ ctdb-locking: TALLOC_FREE copes with NULL ctdb-locking: Simplify ctdb_find_lock_context() ctdbd_conn: Remove ctdb_packet dependency ctdbd_conn: Remove ctdb_packet ctdbd_conn: Only poll if there's a timeout vfs_full_audit: Pass "vfs_full_audit_private_data" to log_failure/success() vfs_full_audit: Save full_audit:facility in private_data vfs_full_audit: Save full_audit:priority in private_data vfs_full_audit: Add "full_audit:syslog" vfs_full_audit: Optionally log security descriptors in FSET_NT_ACL messaging3: Fix an error path memleak vfs3: Pass "lease" through SMB_VFS_CREATE_FILE smbd: Pass down "lease" to create_file_unixpath smbd: Pass down "lease" to open_file_ntcreate smbd: Add debugs to smbXsrv_open.c messaging_dgm: Receive through a cb function messaging3: Explicitly pass tevent_context to messaging_dgm_init messaging3: Explicitly pass server_id to messaging_dgm_init messaging_dgm: Remove unused "messaging_context" messaging3: Add messaging_cleanup smbd: Use messaging_cleanup() messaging3: Directly refer to messaging_dgm in messages.c messaging3: Move sec_init() call out of messaging_dgm_init() messaging3: Move [un]become_root() calls out of messaging_dgm_send() messaging3: Pass cache_dir to messaging_dgm_init() messaging3: Pass dir_owner to messaging_dgm_init() messaging3: Avoid "enum messaging_type" in messages_dgm messaging3: I don't see 2 versions running concurrently... messaging3: Pass on msg_type unmasked messaging3: Add messages_dgm.h messaging3: Protect messaging_dgm against multiple contexts messaging3: Remove one-context protection from messages.c messaging3: Save 48 bytes .text messaging3: Only store the pid in messaging_dgm_context messaging3: Move messaging_hdr handling to messages.c. messaging3: Include messages_dgm.h only in messages.c Add tini parser. Use tini in preference. lib: Remove parser code, now replaced with tini parser. lib: Check socket length in ctdbd_connect messaging3: Don't print a message if there's nothing to clean up smbd: Only DEBUG errors from messaging_cleanup smbcontrol: Fix a typo messaging_dgm: Use %ju to fill lockfile messaging_dgm: Factor out messaging_dgm_lockfile_name brlock: Do auto-cleanup at conflict time brlock: Remove validate_lock_entries torture: Run the cleanup2 test against 2 nodes torture: Fix cleanup2 to utilize on-demand cleanup messaging3: Add msg_sink/source -- perftest pthreadpool: Slightly serialize jobs lib: Introduce server_id_same_process() messaging3: Avoid messaging_is_self_send smbd: Properly initialize mangle_hash torture: Correctly initialize array size smbd: Move make_dir_struct() to reply.c smbd: Fix a typo media_harmony: Fix warnings media_harmony: Fix a crash bug s3: smbd: streams - Ensure share mode validation ignores internal opens (op_mid == 0). ntvfs: Skip the new smb2.oplock.batch26 test messaging_dgm: Remove an unnecessary cast messaging_dgm: Reformatting messaging_dgm: Avoid talloc_tos() messaging_dgm: messaging_dgm_lockfile_create does not use tmp_ctx anymore messaging_dgm: messaging_dgm_lockfile_remove does not use tmp_ctx anymore messaging_dgm: Avoid a talloc messaging_dgm: Avoid a talloc messaging_dgm: Don't expose the messaging_dgm_context vfs_gpfs: Fix the build with profiling-data ----------------------------------------------------------------------- -- Samba Shared Repository