[SCM] Samba Shared Repository - annotated tag samba-4.0.0alpha19 created
Andrew Bartlett
abartlet at samba.org
Tue Apr 10 20:56:01 MDT 2012
The annotated tag, samba-4.0.0alpha19 has been created
at 95d36e0ac658dd161c8c0eeb34374c6bf3e55d3a (tag)
tagging 8a34f61b27b2de4b0672e46b2fd50f8191a880ad (commit)
replaces samba-4.0.0alpha18
tagged by Andrew Bartlett
on Wed Apr 11 12:53:35 2012 +1000
- Log -----------------------------------------------------------------
samba4: tag release samba-4.0.0alpha19
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQBPhPIvz4A8Wyi0NrsRApAkAJ46d2XNkGBXKDhiBiympbVReToWxQCdFJ16
zhbXCCAJ+HfjL06A8zCGKcM=
=Szvn
-----END PGP SIGNATURE-----
Alexander Bokovoy (1):
s3-rpc: Decrypt with the proper session key in CreateTrustedDomainEx2.
Amitay Isaacs (32):
upgradedns: Missing rename from upgradedns to samba_upgradedns
testsuite: Replace deprecated bzero with memset
s4-provision: Use "state directory" from lp, as it is always set
dlz_bind9: This fixes the problem with adding/deleting rdataset
ndr: Fix the error messages, add correct data type name
ndr: Fix NDR push function for dnsp_string
idl: dnsp: Add dnsp_string_list data type for TXT DNS record
ndr: Add NDR pull, push, print functions for dnsp_string_list
dlz_bind9: Fix handling of TXT records with multiple quoted strings
idl: dnsserver: Add DNS_RPC_RECORD_STRING data type for TXT DNS record
ndr: dnsserver: Add pull and push functions for DNS_RPC_RECORD_STRING
provision: dns: TXT Records need a list of strings as input
samba-tool: dns: Copy string data when creating DNS_RPC_RECORD
samba-tool: dns: Add support for handling TXT records
s4-rpc: dnsserver: Update data type for TXT DNS records
upgradedns: Fix import of TXT DNS records
s4-dns: Fix handling of TXT DNS Record
dlz_bind9: Match PTR records as DNS names and not just strings
s4-rpc: dnsserver: Fix the typo in comparing two DNS records
s3-ctdb: Enable CTDB readonly support only if CTDB supports it
s4-libcli: pysmb: Fix typo in secinfo_flags
autobuild: Enable standalone tdb2 tests
s4-dsdb: Fix the case for attribute name msDS-hasMasterNCs
build: Fix build issue on OpenBSD 5.x
build: Do not use --export-dynamic flag on OpenBSD 5.x
s4-upgradedns: Allow fixing of dns provision after domain join
s4-rpc: dnsserver: Fix IPv6 reverse zone handling
s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in NTDS settings
s4-upgradedns: Make sure the attribute exists before accessing it
lib/tdb: Add/expose lock functions to support CTDB
lib/tdb: Update ABI
s4-upgradedns: Fix the fqdn for forest dns zone
Andreas Schneider (20):
s4-python: Remove execute flag of upgradehelpers.py.
s4-python: Remove env from non-executable samba scripts.
s4-python: Remove execute flag from netcmd scripts.
s4-python: Remove env from non-executable netcmd scripts.
s4-python: Remove env from non-executable test scripts.
s4-python: Remove execute flag from ndrdump blackbox script.
s4-python: Remove env from non-executable blackbox test scripts.
s4-python: Remove execute flag from non-executable rpc_talloc script.
s4-python: Remove env from non-executable dcerpc scripts.
s4-python: Remove env from non-executable samba_tool scripts.
s4-python: Remove env from non-executable webserver script.
s4-python: Add missing python source file encoding.
s3-rpc_server: Increase debug level for policy handle.
s3-rpc_client: Add debug message for printer dataex errors.
s3-printing: Make printer a const char *.
s3-printing: Check for browseable too.
s3-spoolss: Check return codes in update_dsspooler.
s3-spoolss: Check return type of update_dsspooler().
waf: Add autoconf --target support.
systemd: Add samba service file.
Andrew Bartlett (158):
on our way with Samba 4.0alpha19
s3-auth rename vuid_serverinfo to session_info
s4-netlogond: Fix use of uninitialised value dns_name
selftest: plugin_s4_dc can now handle kerberos properly
s3-param: Align lp_{max,min}protocol with lib/param names
s3-selftest: avoid running LOCAL- tests twice
selftest: up the default log level in s3
s4-smb_server Remove inetd-mode samba3 hook
s4-winbindd: Do not ask for a tree that we will not use
selftest: Do not run chgdcpass test on the main DC
selftest: skip the troublesome samba4.rpc.unixinfo test
selftest: change plugin_dc to test using s3fs
selftest: add more tests for plugin_s4_dc
build: link heimdal krb5 against execinfo if found
build: look for backtrace_symbols in libexec
s3-ntlm_auth: Add --target-service and --target-hostname options
s3-ntlm_auth: Wrap kerberos token in GSSAPI
s3-ntlm_auth fix up gss-spnego-client so as to work with gss-spnego
s3-selftest: Add more tests for ntlm_auth
s3-selftest: make ntlm_auth test more robust to bad input
s4-libnet: Move to talloc_get_type_abort()
s4-libnet: Remove set but unused variables
s3-libsmb: Initialise ticket to ensure we do not invalid memory
selftest: Establish a registry of socket wrapper IPs
s3-rpcclient: Ensure interfaces are loaded after smb.conf
s3-selftest: Add tests for ntlm_auth gss-spnego client and server
selftest: Put stdin pipe on the environment
selftest: close stdin and wait with waitpid() for a safer exit
selftest: Rework samba4.blackbox.bogusdomain to use a temporary user
change low FDs are handled in Samba
s3-nmbd: Add stdin handler for nmbd
s3-winbindd: Add stdin handler for winbind
selftest: Use fork()/exec() rather than system()
selftest: Fix waitpid termination test
selftest: Rework Samba4.pm process termination.
selftest: Rework Samba3.pm process termination
s3-auth: Remove security=share (depricated since 3.6).
s3-auth Add make_session_info_from_pw to avoid multiple getpwnam() calls
s3-rpc_server: consolidate rpc server init routines
s3-smbd: vuser and session_info cannot be NULL here
selftest: remove unused config.h check
selftest: forward rpcecho to Samba4 in plugin_s4_dc
selftest: start to run more dcerpc tests against plugin_s4_dc
selftest: Reduce time in cleanup loop, try waitpid on all 3 children
selftest: run smbtorture_s3 tests against the ntvfs file server
selftest: Reduce declarations of smbclient_auth tests by moving into a loop
s3-lsasd: Fix debug messages on registration failure
s3-rpc_server: Only init and register embedded RPC services in dcesrv_ep_setup()
s3-rpc_server: Remove remaining code for embedded endpoint mapper
s3-smbd make change_to_user_by_session static
selftest: Only run s3dc with a forked lsasd
s3-rpc_server: Do not setup ncalrpc pipes and TCP for embedded rpc servers
s4-smb_server: Put error from share_get_config() into the logs
s3-rpc_server: Register embedded RPC services after starting lsasd and spoolssd
s3-rpc_server: Do not register embedded ncacn_np endpoints by default
selftest: add more tests for different authentication codepaths
s3-auth: Follow auth_ntlmssp and use auth4_context for Session Setup
s3-auth: Remove single-implementation plugin layer
lib/util: Add a callback facility for debug messages
dlz_bind9: Log Samba DEBUG() messages to the bind9 logs
wintest: continue turning over VMs...
auth/kerberos: Ensure we do not print invalid memory in failure case
auth/kerberos: Fall back to gsskrb5_get_subkey if we did not get the key type
auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_state
auth/ntlmssp: Remove reference to struct ntlmssp_state
s4-librpc: Remove unused new_ev
selftest: fix running additional smbclient test for non-spnego session setup
s3-spoolss: Consistently fail OpenPrinterEx with "" printername
build: Ensure that we clean build objects from auth/ as well
selftest: test wbinfo --authenticate and --krb5auth
wintest: test wbinfo --krb5auth
s3-krb5: Remove GSS_WRAP_IOV conditional
build: param must require cups to get the cups headers path in -I
build: Do not build with utmp when we do not have utmp.h
s3-winbindd Only use SamLogonEx when we can get unencrypted session keys
wintest: test demote of DC
s3-build: gss_krb5_export_lucid_sec_context is no longer used in the s3 build
s4-dsdb: use constant-time search for descriptor -> get_last_structural_class()
lib/util: Add smb_load_module that returns DEBUG(0) errors on failure
s3-smbd: Inline init_modules() into only caller
s3-vfs: Use new smb_load_module for better diagnostics
s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally useful
s3-vfs: initial work on posix:eadb module
file_server: Move vfs objects initialisation into file_server.c smb.conf wrapper
lib/util: charset modules do not exist any more
s3-ntlm_auth Use GENSEC for gss-spnego server
s3-ntlm_auth: add ntlm_auth_generate_session_info_pac()
s3-auth: Order GENSEC mechs by priority, krb5 before NTLMSSP
s3-ntlm_auth: use manage_gensec_request for squid-2.5-ntlmssp
build: Reduce deps of ntlm_auth
s3-libsmb: Remove unused spnego_parse_krb5_wrap()
s3-libads: Rework kerberos_return_pac() to use GENSEC for the server-side
s3-libads: Remove ads_verify_ticket() as it is now unused
s3-krb5: Remove unused get_principal_from_tkt
s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytab
s3-krb5: Remove unused get_authtime_from_tkt
s3-krb5: remove unused get_auth_data_from_tkt
s3-krb5: remove unused unwrap_pac()
s3-krb5: Remove unused get_key_from_keytab
s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()
s3-krb5 Remove unused get_enctype_from_ap_req
s3-krb5 Remove unused get_kvno_from_ap_req()
build: Remove unused check for HAVE_KRB5_TKT_ENC_PART2
build: Remove checks for krb5_decode_ap_req, free_AP_REQ and KRB5_TICKET_HAS_KEYINFO
lib/replace: Add getconf LFS_CFLAGS support to autoconf build
build: use only standard _FILE_OFFSET_BITS=64 macro for large files
build: Add getconf LFS_CFLAGS support to waf build
build: Require 64-bit files support and do not define HAVE_EXPLICIT_LARGEFILE_SUPPORT
build: Remove configure tests for *64 functions and types
build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more
build: Fix configure test that was declaring an off64_t
Remove off64_t declarations
build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bits
vfs: Remove -D_LARGEFILE64_SOURCE from vfs examples Makefile
build: combine off_t 64 bit and largefile test
build: Remove sys_ftruncate wrapper
build: Remove sys_lseek wrapper
build: Remove sys_ftell wrapper
build: Remove fallback call to sys_open as HAVE_CREAT is not actually checked for
build: Remove sys_creat wrapper
build: Remove sys_open wrapper
build: Remove sys_fopen wrapper
build: Remove sys_opendir wrapper
build: Remove sys_readdir wrapper
build: Remove sys_seekdir wrapper
build: Remove sys_telldir wrapper
build: Remove sys_closedir wrapper
build: Remove sys_rewinddir wrapper
build: Remove SMB_STRUCT_DIRENT define
build: Remove SMB_STRUCT_DIR define
build: Remove SMB_STRUCT_FLOCK define
build: Remove SMB_F* locking defines
build: Fix sys_open() removal by including system/filesys.h
build: Remove unused GLIBC_HACK_FCNTL64
build: Add more assertions that fcntl locking works 64-bit
build: Restore configure summary checking
build: Fix bitrotted configure summary, we now also test HAVE_IFACE_GETIFADDRS
build: Add configure summary checking to waf build
s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure
s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure
s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configure
s3-build: Remove unused configure checks for xattr functions
s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure
s3-build: Remove unused configure checks for xattr functions
build: Remove SMB_OFF_T, replace with off_t
autobuild: Also test a distribution-style build with external libs
Revert "ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function"
ldb: Detect failures in ldb.base again
ldb: Allow access to the line number while reading ldif from a file
ldb-tools: Place the whole of an ldif file in a transaction
build: Add tevent deps for users of tevent calls
build: search for talloc, tdb, tevent in non-standard system locations
.gitignore: ignore MYMETA.yml
buildtools: Add --enable-debug option
remove --enable-developer from recursive waf build in autoconf build
remove --enable-developer from samba4-libs autobuild
ccan: Fix failtest on Fedora 16 as stdlib.h does not imply malloc.h
prepare WHATSNEW for Samba 4.0alpha19 release and mark as release.
Andrew Tridgell (7):
torture: don't check the NOINDEXED bit in attribute comparison
dbwrap: changed log level for information about lock order
s3fs: added file_server directory
selftest: added a pipe on stdin in s3 child processes
smbd: detect EOF on stdin in --foreground mode
s3fs: when samba is logging to stdout, ask smbd to also do so
torture: added samba4-ntvfs target
Arvid Requate (1):
SEGV in acl_validate_spn_value: dnsHostName NULL
Björn Baumbach (11):
s4-provision: add password verification in interactive mode
s4-provision: don't ask only 3 times for passwd in interactive mode
s4-samba-tool: add password verification in add user
s4-samba-tool: add password verification in change user pass
s3-selftest: introduce new net registry check check
s3-selftest: Add samba3.blackbox.net.registry.check to test list
s3-selftest: Remove some unnecessary comma
s3-utils: add do_reload_printers command to smbcontol
docs: add reload-printers command to smbcontrol manual page
docs: remove whitespace in example samba.ldif (fix bug #8789)
docs-xml: fix default name resolve order (fix bug #7564)
Björn Jacke (1):
s3: fix build on AIX
Brad Smith (3):
s3: Fix bug 8777, sys_statvfs() wrapper support for OpenBSD/FreeBSD/DragonFly
s3: Further fix for bug 8777
s3: Improve statvfs support
Christian Ambach (17):
s3:smb2_server fix a typo
smb2_constants: add SMB2_WATCH_TREE
s3:smb2_server: use SMB2_WATCH_TREE
smb2_constants: fix a typo
s3:smb2_server use the correct variables for max read/write
s3:smb2_server: add supports_multicredit to sconn
s3:smb2_server increase defaults for read/write/trans sizes to 1MB
s3:smb2_server: announce LargeMTU for SMB2.1
s3:smb2_server add function to verify creditcharge
s3:smb2_server verify creditcharge
s3:smb2_server validate message ids with largemtu
Fix bug #8807 - dcerpc_lsa_lookup_sids_noalloc() crashes when groups has more than 1000 groups
s3:smb2_server: fix a compiler warning
s3:client correct a wording
s3:vfs_gpfs: correct use of profiling macros
s3:vfs_gpfs: remove fallback to linux_setlease
s3:vfs_gpfs: fix some compiler warnings
Christof Schmitt (4):
s3:vfs_gpfs: Export disk_norm function
s3:vfs_gpfs: add GPFS api calls for quota and free space reporting
s3:vfs_gpfs: Report disk space and usage on GPFS share according to quotas
s3:vfs_gpfs: Implement fallocate callback for GPFS
David Disseldorp (1):
idl: add offload data transfer ioctl types
Gregor Beck (23):
s4:torture: avoid reporting error on failure of smb2.acls tests
s4:torture: avoid reporting error on failure of smb2.streams tests
s4:torture: avoid reporting error on failure of smb2.setinfo test
s4:torture: avoid reporting error on failure of smb2.getinfo test
s4:torture: avoid reporting error on failure of smb2.ioctl tests
selftest: mark smb2 tests knownfail failing in 3.6
selftest: samba3.smb2.compound.invalid2 works
selftest: mark samba3.smb2.durable-open reopen tests knownfail
selftest: mark samba3.smb2.durable-open.oplock test knownfail
selftest: mark samba3.smb2.ioctl tests knownfail
selftest: skip samba3.smb2.hold-oplock because its not a test
selftest: skip samba3.smb2.session because it hangs
s4:torture: cleanup after smb2 getinfo scan
s4:torture: cleanup after smb2 setinfo scan
s4:torture: use different filenames for smb2 setinfo and getinfo scan
s4:torture: print ntstatus on failure of setup complex file in smb2 setinfo/getinfo scan
s4:torture make a suite for smb2.*scan
selftest: remove samba3.smb2.*scan from knownfail
selftest: skip samba3.smb2.scan because they are no tests
s3:selftest: ask smbtorture4 for smb2 tests
s4:libcli/smb2: allow smb2_session_setup_spnego to handle reauth
s4:torture/smb2: add simple smb2.session.reauth test
s4:torture: smb2.getinfo test return status of stream creation
Ira Cooper (5):
s3: piddir creation fix.
addns: Fix the Solaris/Illumos build.
s3: piddir creation fix part 2.
util: Add --disable-fault-handling.
s3: Update waf build to include missed dependancy on Lion.
Jelmer Vernooij (153):
upgradedns: Rename to less generic name samba_upgradedns.
provision: Remove unused imports.
Partially revert 1f0298dd1b1a939cb215e7b474178b217f8347f4
Factor out sanitize_server_role.
ntacl: There is no 'secrets database' configuration option.
'samba-tool gpo': Properly close transaction.
provision: Properly close ldb transactions.
provision: Start splitting out provision result reporting from actual provisioning.
provision: Leave result reporting up to caller.
provision/tests: Test for phpldapadminconfig path.
provision: Put adminpass details in ProvisionResult.
provision: Split out result reporting for backends.
join: Don't print provision results when they're just noise.
provision: Factor out determination of new netbios name.
provision: Add tests for determine_netbios_name.
provision: Reuse determine_netbios_name.
provision: Properly close opened files.
provision/backend: Properly close all opened files.
provision: Share more code for determine_netbios_name() with samba.valid_netbios_name().
provision: Raise proper error when shares are missing rather than AssertionError.
provision: Fix order for error formatting.
provision: Simplify make_smbconf a bit.
pyparam: fix formatting.
provision: Write configuration without help of templates.
samba.xattr: Split copying of tree with extended attributes out into separate module.
upgradeprovision: Only backup sysvol directory if it exists.
samba.xattr: Massively simplify copytree_with_xattrs.
upgradehelpers: Simplify transaction handling.
pyldb: Avoid using PyErr_LDB_ERROR_IS_ERR_RAISE where PyErr_SetLdbError suffices.
selftest: Move manual page into a separate file.
pyldb: Fix some more long lines, fix formatting.
samba.7: Remove references to long gone testprns and smbsh utilities.
selftest: Remove unused and broken target 'windows'.
selftest: Remove outdated template.
selftest/README: Expand inconsistent tabs
selftest: Remove unused vde functions.
kcc: Improve formatting of Python code to be more consistent with our other code.
selftest: Add selftest.py.
selftest: Add python version of socket wrapper utilities.
Add test infrastructure for selftest.
selftest.socket_wrapper: Add docstrings.
selftest.socket_wrapper: Add basic unit tests.
selftest.socket_wrapper: interface is an integer.
selftest: Add base classes for Target/Environment and their management.
selftest.target: Add tests for setup.
selftest.target: Add tests for check.
selftest.target: Add tests for getlog_env.
selftest.target: Add tests for get_running_env.
selftest.target: Test that environments are reused.
selftest: Add tests for NoneEnvironment.
selftest: Add tests for trying to reuse an environment that has gone down.
selftest.target: Add Environment.get_vars.
selftest: Add testlist management module.
selftest.testlist: Add read_test_regexes.
selftest.testlist: Add read_testlist.
Add TestListFilter definition.
selftest.testlist: Add manager for restricted test lists.
selftest.testlist: Add docstrings.
selftest: More work on conversion to Python.
selftest.testlist: Add RestrictedTestManager.from_path.
selftest.py: Finish conversion to python - now loads without syntax errors.
selftest.target: Add NoneTarget.
selftest: Now runs again for tests that use environment 'none'.
Run selftest.py tests.
selftest.py: Fix signal handling.
selftest.py: Fix handling of boolean options.
selftest.py: Remove unused code, reconcile signal handlers.
selftest.py: Remove unused --verbose option.
selftest.pl: Remove unused --verbose option.
selftest.py: Add dummy init file (required to run tests).
selftest.py: Use testtools TestCase class.
selftest: Factor out expand_environment_strings.
selftest.run: Factor out expand_command_list.
selftest.run: Factor out expand_command_run.
selfclient.client: Factor out write_clientconf.
selftest.run: Factor out exported_envvars_str.
selftest.run: Factor out read_testlist_file and open_file_or_pipe.
selftest.py: Only run teardown_all when actually relevant.
selftest/tests.py: Fix name of selftest.py for benefit of --load-list.
policy/python: Move python binding tests to standard location.
samba.tests.samba_tool.user: Remove unused imports.
samba.tests.samba_tool.base: Avoid unnecessary call to testtools.matchers.Contains.
tevent: Install tevent.py into PYTHONARCHDIR rather than PYTHONDIR for consistency with other Samba scripts.
python: samba: Use relative import for _glue.
pydoctor: Specify --project-name.
samba.samdb: Fix formatting of arguments in docstring.
wscript: Include talloc, tdb and ldb in pydoctor output.
samba.tests.blackbox.samba_tool_drs: Remove unused import.
tdb_wrap: Move to specific directory.
samba-tool: Write diagnostics to stderr rather than stdout.
upgradedns: Remove unused import.
selftest.py: Move some infrastructure for running commands to selftest.run, with tests.
selftest.py: Remove some unnecessary checks.
selftest.run: Use subunit version of iso8601.
samba_dnsupdate: Use docstrings, which show up nicely in API docs.
samba_dnsupdate: Raise proper exception when getting unexpected DNS reply.
samba_dnsupdate: Mention contents of invalid line when encountering parsing error.
samba.8: Fix typo: deamon -> daemon.
nbench: Fix typo.
samba3util: Add ccan to dependency list now that str_checksum() uses a ccan function.
libsmbclient-raw: Install smb_composite.h.
wafsamba: Remove shebang lines from non-executable files.
samba.tests.source: Verify that only executable python files (and only executable files) have a shebang line.
Remove more unnecessary shebang lines in python files.
Stop installing popt_common.h as its symbols are in a private library.
librpc/wscript_build: Santizize formatting.
libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ndr_ prefix.
libndr: Rename policy_handle_equal to ndr_policy_handle_equal.
libndr: Rename policy_handle_empty to ndr_policy_handle_empty.
libndr: Define trivial is_valid_policy_hnd as macro.
Move NS_GUID_string and NS_GUID_from_string to dsdb-common.
librpc/wscript_build: Fix formatting.
selftest.py: Add selftest.target.samba with bindir_path function.
selftest.py: Add mk_realms_stanza function.
selftest.py: Add write_krb5_conf.
selftest.py: Add cleanup_pid.
replace: Move memalign() from lib/util/system.c to libreplace.
ctdb_conn: Avoid sys_connect.
util_sock: Avoid sys_connect.
sock_exec: Avoid sys_connect.
cli_pipe: Avoid sys_connect.
lib/util: Remove trivial wrapper sys_connect() around connect().
lib/util: Remove prototype for removed sys_memalign.
lib/util: Move calloc_array and memalign_array to top-level libutil.
lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.
lib/util: Remove dummy wrapper for getpwnam().
lib/util: Remove dummy wrapper for getpwuid().
lib/util: Remove dummy wrapper for getgrnam().
lib/util: Remove dummy wrapper for getgrgid().
util_malloc: Remove unused constant.
libreplace: Add getpeereid implementation.
adt_tree: Avoid WERROR.
s3-waf: Use samba3-util library instead of lots of tiny libs.
replace: Add system/network.h for ucred struct.
replace: Work around socket wrapper.
adt_tree: Fix return types.
lib/util: Allow calloc use in util.c, too.
lib/util: Remove obsolete sys_getpid() and sys_fork().
use usleep rather than sys_usleep in various places, in anticipation of usleep moving to libreplace.
libreplace: Add usleep implementation.
replace: Avoid DEBUG(), which is not available in libreplace.
libcli/smb: Stop generating unused proto file.
smb2: Move smb2cli session setup code to cli_smb_common.
LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.
s3-make: Fix build with new smb2_session file.
Add ABI file for libndr.
wafsamba: Cope with slight differences in gdb output regarding incomplete sequences.
ndr: Update ABI.
selftest.py: Add get_interface.
wafsamba: Avoid NameError when printing error about missing system deps.
wafsamba: Return missing libs rather than last syslib.
wafsamba: Parse Python versions as integers separated by dots.
wafsamba/bundled: Fix typo in tuplize_version.
Jeremy Allison (34):
Remove unused function.
Fix const warnings.
Make dptr_path() and dptr_wcard() const.
Move dptr code over to TALLOC.
Fix problem reported by Tom Lee <tlee2951 at gmail.com> - when calculating
Add check_reduced_name_with_privilege(), filename_convert_with_privilege() (currently unimplemented) in order to prepare for adding SeBackup/SeRestore code to the main fileserver.
Add the implementation of check_reduced_name_with_privilege(). Now to plumb into
Add accessor functions to set a bool "priv" on a directory handle. Not yet used, but will be part of FLAG_TRANS2_FIND_BACKUP_INTENT code.
Implement FLAG_TRANS2_FIND_BACKUP_INTENT for trans2 with privileges.
Add open_dir_with_privilege() to ensure we're opening the correct directory when doing backup requests.
Fix mixup between talloc/malloc.
Move to talloc from malloc.
Change default protocol to SMB2_02.
Fix up Christian Ambach's multi-credit code - the CreditCharge field is a 16-bit int read, not a 32-bit one.
Ensure the right tsocket.h is included.
Second part of fix for bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER bit with the acl_xattr module.
Fix bug #8811 - sd_has_inheritable_components segfaults on an SD that se_access_check accepts.
Make reinit_after_fork_pipe_handler code with reads being interrupted by a signal.
Fix second part of bug #8811 - sd_has_inheritable_components segfaults on an SD that se_access_check accepts.
Fix bug 8823 - source3/smbd/process.c:smb_dump seems to have a memory leak.
Based on code from Richard Sharpe <realrichardsharpe at gmail.com>,
Start to add truncate checks on all uses of strlcpy(). Reading lwn
More strlcat/strlcpy truncate checks.
Who would have guessed - checking returns from strlcat found a memory overwrite bug :-).
Fix bug #8831 - Inconsistent (with manpage) command-line switch for "help" in smbtree
Fix an IPv6 breakage I introduced by adding an strlcpy truncation check. Found by Matthieu Patou <mat at samba.org>.
First part of fix for bug 8837 - smbd crashes when deleting directory and veto files are enabled.
Second part of bugfix for bug #8837 - smbd crashes when deleting directory and veto files are enabled.
Third part of fix for bug #8837 - smbd crashes when deleting directory and veto files are enabled.
Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When it is
Found whilst back-porting the fix for bug 8837 - smbd crashes when deleting directory and veto files are enabled.
Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with platforms that don't have these.
On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into libreplace to make it standalone.
Add a new module, aio_linux which implements Linux kernel aio support. Docs to follow.
Kai Blin (16):
s4 dns: Fix TCP handling in the DNS server
s4 dns: Add support for PTR queries.
s3 selftest: Allow DNS updates during testing
s4 dns: Support TXT queries
s4 dns: Support TXT updates, add tests
s4 dns: Clean up tests a bit
s4 dns: Be less chatty during tests
s4 dns: Test deleting records and fix a small bu
s4 dns: Add a simple async client library
s4 dns: Add a simple dns lookup helper
s4 dns: Forward questions we can't answer to another server
s4 dns: Only forward for zones we don't own
s4 dns: Allow changing the dns operation flags in handlers
s4 dns: Check smb.conf if we should allow recursion
s4 dns: Only do recursive queries when allowed/desired
s4 dns: Allow updating PTR records.
Matthias Dieter Wallnöfer (10):
s4:torture/smb2/ioctl.c - quiet format specifier warnings on 32 bit
s4:samba-tool domain level raise command - reference SAMDB object correctly
s4:upgradeprovision - fix some output messages
s4:objectclass LDB module - clean up "objectclass_sort()"
s4:objectclass LDB module - fix up the sorting in respect to structural or 88 objectclasses
s4:dsdb - enhance "get_last_structural_class()" for optimisations
s4:ldap.py - test the already mentioned structural object class sorting behaviour
LDB/s4 - do not use the "(dn=...)" syntax on filters anymore
LDB/s4 - deny the "(dn=...)" syntax on search filters when in AD mode
s4:ldap.py - re-introduce the "(dn=CN=ldaptestUSER3,CN=Users,DC=wallnoefer2,DC=local)" test
Matthieu Patou (11):
s3-winbindd: Close netlogon connection if the status returned by the NetrSamLogonEx call is timeout in the pam_auth_crap path
s3: print a nice warning when HAVE_ADS is not enabled but you still try to do net rpc keytab vampire
s3: don't replace the error message if already defined
s4-upgradeprovision: Add options to do a DB backup only and not to fix acls in sysvol
s4-selftest: create the st/provision if it didn't exists already
lib/crypto: Detect CommonCrypto and use it if available
autoconf: make autoconf build work on OS X 10.6
Factorize code from findprovisionusnranges in order to solve bug #8504
Rewrite findprovisionrange to use factorized functions
upgrade provision didn't run findprovisionrange anymore
ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function
Michael Adam (52):
s4:torture:smb2:durable_open: use the correct tree in the final close call
s4:torture:smb2:durable-open: make a comment more precise in the reopen4 test
s4:torture:smb2:durable-open: introduce new variable for the new session
s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4
s3:libsmb:smb2: pass previous session ID to session setup, not previous session
s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()
s4:torture:smb2: add previous_session argument to torture_smb2_session_setup()
s4:libcli:smb2: add a previous session argument to smb2_connect_send()
s4:libcli:smb2: add a smb2_connect_ext variant of smb2_connect that takes a previous_session argument
s4:torture:smb2: add torture_smb2_connection_ext() that takes previous_session
s4:torture:smb2: add durable_open.reopen2a - variant of reopen2 with session reconnect
s4:torture:smb2: add new "session" testsuite starting with a session.reconnect test
s4:selftest: remove old "samba4.smb2.persistent.handle1" from knownfail - test does not exist
s4:selftest: skip smb2.session testsuite
s4:torture:smb2:durable-open: fix a silly access-after-free panic
libcli/smb/smb2_signing: rename smb2_key_deviration -> smb2_key_derivation
s3:smbd:smb2_write: improve logging in the error case
s4:torture:smb2: durable-open: make tables static
s4:torture:smb2:durable_open: update (C)
s4:torture:smb2: rename some of the durable-handle subtests more systematically
libcli:smb: define DH2Q and DH2C tags for smb2 extra create blobs
libcli:smb: add defines for SMB2.2 global capabilities
libcli:smb: add defines for SMB2.2 share capabilities
libcli:smb: upgrade SMB2_CAP_ALL to include the newly known caps
libcli:smb: add new SMB2 share flags
libcli:smb: define SMB2_DHANDLE_FLAG_PERSISTENT
s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structure
s4:libcli:smb2: add support durable handle request v2 blob in smb2_create_send
s4:libcli:smb2: add support durable handle reconnect v2 blob in smb2_create_send
s4:libcli:smb2: add support for parsing the durable handle v2 response in smb2_create_recv()
s4:libcli:smb2: allow max protocol 0x0224
smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2
s4:libcli:smb2: store the share capabilites in the smb2_tree object
s4:libcli:smb2: set SMB2_CAP_ALL in the negprot
s4:torture:smb2: start a testsuite for durable v2 handles: durable and persistent opens
selftest: more precisely skip durable-open, not durable.open
libcli:smb: define SMB2_HDR_FLAG_REPLAY_OPERATION
testtools/matchers.py: fix a comment typo
s4:selftest: add a new test for "samba-tool user list"
s4:selftest: fix a message-typo in the "samba-tool user" testsuite.
s4:selftest: fix message typo in test for "samba-tool user list"
s4:selftest: remove python shebang accidentially re-added to the "samba-tool user" test
s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent process died.
s3:selftest: reactivate the writetimeupdatedelay speed-up
s4:selftest: make the use of writetimeupdatedelay consistent across all tests
s4:samba-tool: remove remains of patch conflict resolution
s4:selftest: add a new testsuite for the "samba-tool group" command
s4:samba-tool: add simple command "group list"
s4:selftest: add test for "samba-tool group list"
s3:vfs_tsmsm: Fix a misspelling of a config parameter in the doc-comment
docs:man:vfs_gpfs: Fix documented values for gpfs:hsm
docs:man:vfs_gpfs: fix formatting of values for gpfs:syncio
Richard Sharpe (10):
Trivial Comment fix: Supply a missing word in a comment
Fix bug #8797 - Samba does not correctly handle DENY ACEs when privileges apply.
Fix bug #8795 - Samba does not handle the Owner Rights permissions at all
Make it possible for developers of out-of-tree modules to use the same names as in-tree modules.
Improve the Makefile. Use a standard make macro, not a shell command.
Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to both get_acl and set_acl to allow the caller to specify what info is wanted. Defaults to 0 which means all info.
Add DEBUG statements to show when access has been denied and why.
Make sure we claim that a DACL or SACL is present if the SD says so
Add an open and close method to samba.smb.SMB so we can open and close files.
Fix some of the issues that Jelmer identified in my first patch. This might be
Ricky Nance (3):
s4-lib: Remove unused samdb_msg_set_int()
s4-lib: Remove unused samdb_msg_set_string()
s4-lib: Remove unused samdb_msg_set_value()
Rusty Russell (30):
lib/tdb2: rename tdb2.pc to tdb.pc
dbwrap_ctdb: handle read-only records.
ctdbd_conn: fetch read-only copies of records.
dbwrap_ctdb: only fetch a read-only copy if we had a record already.
lib/ccan: import failtest and required ccan modules for TDB2 unit tests.
lib/tdb2: adapt unit tests to SAMBA environment.
lib/tdb2: wire up unit tests.
lib/tdb2: add --valgrind, --valgrind-log options.
failtest: don't assume FD_SETSIZE is maximum runtime fd.
lib/tdb: fix tests for standalone out-of-tree.
lib/tdb2: Add gcc-style format attribute to tdb_logerr.
lib/tdb2: fix error string formatting.
lib/tdb2: make summary handle capabilities properly.
lib/tdb2: remove unneccessary _FILE_OFFSET_BITS define in test/.
lib/tdb: remove unnecessary XOPEN and FILE_OFFSET_BITS defines in test/
lib/tdb: fix up run-die-during-transaction test cases on Solaris.
lib/ccan: namespacize ccan/list to avoid conflict with OpenIndiana's sys/list.h
lib/ccan/failtest: compile fix for OpenBSD
lib/replace: test for incoherent mmap.
lib/tdb: fix OpenBSD incoherent mmap.
lib/tdb2: fix OpenBSD incoherent mmap (tdb1 version)
lib/tdb2: fix OpenBSD incoherent mmap (tdb2 version)
lib/tdb2: fix -Wshadow warnings.
lib/tdb2: fix -Wcast-qual warnings.
lib/tdb: fix missing return 0 code.
lib/tdb: fix test/run-die-during-transaction when HAVE_INCOHERENT_MMAP.
lib/tdb: fix transaction issue for HAVE_INCOHERENT_MMAP.
tdb2: fix prototype in tdb1 code.
cast: test/compile_fail-cast_static.c should fail without COMPOUND_LITERALS.
cast: make sure suncc sees a constant.
SATOH Fumiyasu (1):
s3-docs: Prepend '/' to filename argument (Bug #8826)
Stefan Metzmacher (90):
lib/crypto: fix hmac_sha256_final() prototype
s3:torture/test_smb2: a reauth doesn't update the session/signing key
s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()
libcli/smb/smbXcli: remove unused checks from smb2cli_session_create_channel()
libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the signing_key
libcli/smb/smbXcli: add smb2cli_session_application_key()
s4:librpc/dcerpc_smb2: make use of smb2cli_session_application_key()
s4:libcli/smb2: remove unused 'session_key' from struct smb2_session
libcli/smb/smbXcli: remove unused if statement from smb2cli_conn_dispatch_incoming()
libcli/smb/smb2_signing: rename session_key to signing_key
libcli/smb/smb2_signing: pass down 'protocol' to smb2_signing_[sign|check]_pdu()
s3:torture/test_smb2: fix missleading file name in reauth test
s3:torture/test_smb2: show that a session is valid during a multi-leg reauth
s3:torture/test_smb2: show that a session is not valid for path based calls during reauth
s3:torture/test_smb2: check directory listing during reauth
s3:torture/test_smb2: test a tree_connect during reauth
lib/crypto: add aes_cmac_128* (rfc 4493)
lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 test
libcli/smb/smb2_signing: add smb2_key_deviration()
libcli/smb/smb2_signing: implement aes_cmac_128 based signing for SMB 2.24
libcli/smb/smbXcli: use smb2_key_deviration() to setup SMB 2.24 keys
s4:torture/smb2: remove unused var
s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in SMB2-MULTI-CHANNEL
s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNEL
s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNEL
s3:torture/test_smb2: test handle based calls during reauth in SMB2-MULTI-CHANNEL
s3:torture/test_smb2: test path based calls during reauth in SMB2-MULTI-CHANNEL
s4:winbind: use ncalrpc for connections to ourself
s4:auth/gensec/schannel: make a copy of netlogon_creds_CredentialState in the client
s4:auth/gensec/schannel: initialize struct schannel_state to zero
s3:rpc_client: initialize struct schannel_state to zero
s3:rpc_server: initialize struct schannel_state to zero
s4:torture:smb2:durable_open: remove unused lease variables in the open-oplock test
s4:test:smb2:durable_open: skip lease tests when the server does not support leases
s4:torture:smb2:durable-open: skip the open-with-lease test on servers without lease support
s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()
s3:smbd/globals.h: remove unused pollfd pointer
s3:msdfs: set the 'cnum' field to invalid for faked connection_structs
s3:smbd: keep 'num_users' and 'users' directly under smbd_server_connection
s3:smbd: keep 'num_connections' and 'connections' directly under smbd_server_connection
s3:smbd: keep 'num_files' and 'files' directly under smbd_server_connection
selftest: mark samba3.smb2.durable-v2-open tests as knownfail
selftest: mark samba4.smb2.getinfo.getinfo as knownfail
s4:librpc/rpc: make dcerpc_bh_is_connected() more robust
s4:librpc/rpc: make dcerpc_bh_raw_call_* more robust against disconnects and timeouts
s4:torture/smb2: avoid hanging in smb2.session.reconnect against samba
selftest: mark samba3.smb2.session tests as knownfail instead of skip
s3:torture: talloc_dict_traverse() returns the number of entries
s3:torture: fix segfault in LOCAL-TALLOC-DICT
selftest: samba3.smbtorture_s3.LOCAL-TALLOC-DICT works now
lib/util: don't start DEBUG output with 'error '
lib/util: remove unneeded else branch in directory_create_or_exist()
lib/util: do an early return on error directory_create_or_exist()
lib/util: use a helper variable in directory_create_or_exist()
lib/util: cope with races between lstat and mkdir in directory_create_or_exist()
lib/util: only change umask during mkdir()
s3:smbd: also create ncalrpc/np directory before forking rpc daemons
s3:selftest: add support for 'make test FAIL_IMMEDIATELY=1'
selftest/flapping: mark samba4.blackbox.gentest as flakey
selftest/flapping: mark ^samba3.rpc.spoolss.*printserver.openprinter_badnamelist as flakey
selftest/flapping: mark ^samba3.rpc.spoolss.*printserver.enum_printers_servername as flakey
s4:librpc/rpc: if the connection is dead we don't want to be called recursivly.
s4:librpc/rpc: if the connecion is dead we're done
s4:librpc/rpc: ship requests via an immediate event
s4:librpc/rpc: also notify requests which are not shipped about a dead connection
s4:librpc/rpc: convert dcerpc_bind_send/recv to tevent_req
s4:librpc/rpc: convert dcerpc_alter_context_send/recv to tevent_req
s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_bind_*
s4:librpc/rpc: use tevent_req_defer_callback() in dcerpc_alter_context_*
s4:librpc/rpc: pass a mem_ctx to dcerpc_request_send()
s4:librpc/rpc: avoid an unused talloc_reference() from dcerpc_request_send()
auth/gensec_gssapi: gss_krb5_lucid_context_v1_t is not shared with the gse code anymore
s3:smbd: call file_close_user() before removing tree connects in conn_close_all()
s3:gse: fix debug message in gse_get_server_auth_token()
s4:smb_server/smb: remove a request from the list before adding the next one in a chain.
s4:smb_server/smb2: use helper variable smb2srv_chain_reply()
s4:smb_server/smb2: fix memory leak in smb2srv_chain_reply()
s4:smb_server/smb2: after smbsrv_terminate_connection() we have to return
s4:smb_server/smb2: add missing 'return;' statements in smb2srv_chain_reply()
s4:ldap_server: fix typo in DEBUG() message
s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layer
s4:librpc/rpc: also parse ncacn_packet pdus with LIBNDR_FLAG_OBJECT_PRESENT
pidl/NDR/Parser: declare all union helper variables in ParseUnionPull()
pidl/NDR/Parser: simplify logic in DeclareArrayVariables*()
pidl/NDR/Parser: split off ParseArrayPullGetSize() and ParseArrayPullGetLength()
pidl/NDR/Parser: use ParseArrayPullGetLength() to get the number of array elements (bug #8815 / CVE-2012-1182)
pidl/NDR/Parser: remember if we already know the array length
pidl/NDR/Parser: use helper variables for array size and length
pidl/NDR/Parser: do array range validation in ParseArrayPullGetLength()
pidl/NDR/Parser: also do range checks on the array size
Volker Lendecke (90):
s3: Fix a DEBUG msg
s3: Turn some SMB_ASSERTS into proper return
s3: Simplify smb_splice_chain
s3: Simplify smb_splice_chain
s3: Simplify smb_splice_chain
s3: Simplify smb_splice_chain
s3: Simplify smb_splice_chain
s3: Fix a typo
libcli: Remove a pointless check
nsswitch: Remove a pointless if-clause
s3: Use the correct enum values
s3-configure: Add CFLAGS_APPEND variable
s3: Remove pointless parentheses
s3: More fix for smbd -i
s3: Add a test that makes a chained open break an oplock
s3: Fix a const warning
s3: Introduce "req" helper var in reply_lockingX_success
heimdal: Fix the build on FreeBSD
s3: Fix "make bin/smbtorture4" in the autoconf build
s3: Enable statvfs usage on NetBSD
s3: Test for statfs before statfs64
examples: Make examples/VFS/Makefile.in FreeBSD-friendly
s3: Fix some blank line endings
s3: Fix a bogus if (client_len < 0)
s3: Fix some && vs & warnings
s3: Remove "size" param from smb_dump
s3: Remove "size" param from switch_message
s3: Use "goto out;" in reply_write_and_X
s3: Move the drain_socket on error to reply_write_and_X
s3: Fix a "Invalid (state->nread >= 0)" warning
s3: Fix some format string warnings
s3: Move a talloc_strdup out of the main code path
s3: Remove some superfluous ()
s3: Replace a SMB_ASSERT with an error return
s3: asprintf->talloc_asprintf
s3: Fix a 64-bit warning
s3: Make sure the andX chains are ended correctly
s3: Add a new set of andx chain handling routines
s3: Replace chain_reply
s3: Remove chain_reply
s3: Fix the read&x offset within a chain
s3: Remove "req_wct_ofs()"
s3: Remove unused smb_request->chain_outbuf
s3: Remove unused smb_request->done
s3: Add smb_request_done
waf: Do not use standards.h on darwin
s3: Fix blank line endings
s3: Remove the separate server_id arg to notify_init
s3: Replace some callers of cluster_id_equal
s3: properly free the notify_onelevel record
s3: Fix lock ordering in notify_add
s3: Use talloc_tos() in notify_send()
s3-dbwrap: Move "lock_order" initialization to db_open_xx
s3-notify: Simplify if-expressions
s3-notify: Lift "/." handling up one level
s3: Pass "path" through vfs_notify_watch
s3: Pass "conn" to notify_add()
s3: Pass "conn" to sys_notify_watch()
s3: Remove "conn" from sys_notify_context
s3: Remove "conn" param from sys_notify_context_create
s3: Remove "conn" param from notify_init()
s3: Move the notify_ctx to the smbd_server_connection
s3: rename "len"->"next", according to wireshark
s3-libsmb: Fix parsing a notify response
s3: Add FILE_NOTIFY_CHANGE_ALL #define
s3: Add sync cli_notify
s3: Add "notify" cmd to smbclient
s3: Remove an unused structure field
s3: Fix smbd -i
s3: Remove the sys_notify dependency from notify_internal
lib/async_req: Retry read_packet with read(2)
s3: Pass "filter" instead of "notify_entry" to inotify_map
s3: Rename a variable in inotify_watch for clarity
s3: Fix a typo
s3: Pass filters explicitly through vfs notify watch
s3: Fix a valgrind error
s3: Avoid a crash with debug level 10
s3-aio-fork: Fix an alignment warning on OS/X
s3-aio-fork: Fix aio_suspend event hierarchy
s3-aio-fork: Fix a segfault in vfs_aio_fork
s3: Notifies should never time out
s3: Enhance the dbwrap needed x attempts msg
s3: Compile fix for dbwrap_file.c
s3: Move the aio signal init to the vfs module
s3: Initialize aio_pending_size from aio_pthread
s3: Initialize aio_pending_size from aio_pthread
s3: Fix the pthreadpool build on OS/X
tevent: Fix a typo
libreplace: We have a poll replacement based on select
s3: Use talloc_get_size instead of strlen
-----------------------------------------------------------------------
--
Samba Shared Repository
More information about the samba-cvs
mailing list