[SCM] Samba Shared Repository - annotated tag samba-4.0.0beta3 created

Andrew Bartlett abartlet at samba.org
Mon Jul 2 19:42:56 MDT 2012

The annotated tag, samba-4.0.0beta3 has been created
        at  88c4169ebb80ba50fb512945b5bd0e3772d441c7 (tag)
   tagging  a6567893059dea9361b3b787fab13438536b8438 (commit)
  replaces  samba-4.0.0beta2
 tagged by  Andrew Bartlett
        on  Tue Jul 3 11:41:13 2012 +1000

- Log -----------------------------------------------------------------
samba4: tag release samba-4.0.0beta3
Version: GnuPG v1.4.12 (GNU/Linux)


Alexander Bokovoy (1):
      s3-rpcclient: support all known netr_LogonControl2 variants properly

Amitay Isaacs (2):
      s4-pysmb: Parse security info as an unsigned integer
      samba-tool: gpo: Fix creation of filesystem ACL from directory ACL

Andrew Bartlett (40):
      VERSION: Move on to beta3!
      s4-torture: Change the unix.whoami test to use torture_assert()
      s4-torture: Expand whoami test to confirm the user token.
      s4-provision: Give better clues on what Samba needs for s3fs ACL support
      s4-drepl: Ensure that the op->source does not get deallocated too early
      s4-classicupgrade: Allow DNS backend to be specified
      selftest: Test unix.whoami with kerberos on plugin_s4_dc
      s4-join: Import DNS zones in AD DC join
      s4-samba_upgradedns: Do not set DNS account for internal server
      s4-join: Setup correct DNS configuration
      s3-pdb_samba4: Allocate and free a talloc_stackframe() in pdb_samba4_replace_by_sam()
      s3-pdbtest: Report and handle errors in pdb->getsampwnam()
      s4-samldb: do not talloc_steal() the elements of the original request
      s3-pdbtest: Fix pdbtest to compare the same fields
      s3-pdbtest: show mis-matching times
      selftest: Add extra users to nss_wrapper
      selftest: allow NSS_WRAPPER_* vars to be exported to the environment
      s4-dsdb: Remove hooks for non-directory password handling
      s4-dsdb when setting DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OID make it non-critical
      s4-selftest: Test login with a password expired user
      lib/ldb: Print trace messages for modify correctly
      s3-pdb_samba4: Fix time handling, use nt_time_to_unix()
      s3-pdb_samba4: Add support for lastLogon and lastLogoff
      s3-pdbtest: Initialise more elements for testing
      s4-selftest: expand passdb testing
      s3-pdb_samba4: Remove dupliate profilePath handling
      s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers
      librpc/ndr: Initilaise the remainder of struct dom_sid after a pull
      selftest: use a loop rather than declare tests for both dc and s3dc
      selftest: run pdbtest against s3dc as well
      file_server: add [globals] to generated smb.conf
      selftest: Give Samba4 processes a little longer to clean up
      auth/gensec: Remove unused gensec_security parameter
      auth: Remove .get_challenge (only used for security=server)
      s4-dns: Remove dynamic DNS instructions for bind 9.7
      s4-bind: Remove patches now incorporated into bind9
      s4-dns: Remove refernece to BIND 9.7 supporting GSS-TSIG
      WHATSNEW: Update with fix for smbd-fileserver.conf.pid startup failures
      WHATSNEW: Mention Exchange 2010 support
      VERSION: Mark as the beta3 release

Björn Baumbach (13):
      wintest: add working bbaumbach.conf file for use with VirtualBox
      wintest: add option to use ntvfs instead of s3fs
      wintest: set nameserver on a more general place
      wintest: add option to select the dns backend
      wintest: set recursive queries for internal dns
      wintest: check netcats exitstatus instead of output
      wintest: extend get_is_dc function with additional expectations
      wintest: get original nameserver for forwarding on a more general place
      wintest: enable dns forwarding for internal dns
      packaging(RHEL-CTDB): fix build dependencies
      docs-xml: fix typos and format in smb.conf server max protocol man
      s3-libpidfile: some more debug output
      s3-libpidfile: fix check for running process.

Björn Jacke (15):
      s3:test: make shell code more porable by elimnating "local" keyword
      s3:Makefile: use our "$MAKE" instead of "make" in our own Makefile
      s3:test_net_registry_check: eliminate "local" keyword in shell
      s3:test_registry_upgrade: make more portable and eliminate "local" keyword
      Merge suggested fix from bug 7511 and enhance it
      tests: make test_ldb portable, eliminate "local" keyword
      s3:test_net_registry_check.sh: grep -E isn't portable, use egrep
      replace: define INT64_MAX when not defined
      s3: fine tune and clean up statvfs tests
      s3: merge bsd_statvfs and darwin_statvfs
      s3:build: tell linker to use corefoundation on all darwin releases
      s3: fix the logic in bsd_statvfs
      s3:configure: fix numerous compile warnings about implicit declaration of 'exit'
      s3: add sendfile support for Tru64, which is the same as HP-UX's
      s3:waf add sendfile support for Tru64, which is the same as HP-UX's

David Disseldorp (18):
      torture: add test for smbd print job spooling
      s3-printing: store print jobid as part of struct printjob
      s3-printing: remove print_parse_jobid() from print_cups.c
      s3-printing: rename queue->job sysjob
      s3-printing: remove print_parse_jobid() calls from printing.c
      s3-printing: remove redundant variable set
      s3-printing: remove print_parse_jobid()
      s3-spoolss: remove duplicate "." in smbd spooler path
      s3-printing: fix potential print db refcount leak
      s3-printing: clean up print_job_pause/resume interface
      s3-printing: return talloced print jobs
      s3-printing: pass a talloc ctx to unpack_pjob
      s3-printing: remove unused print_job_fname()
      s3-printing: pass lpq command to job_submit
      s3-printing: fill print_generic sysjob id on job submission
      s3-printing: use euid for vlp job tracking
      s3-torture: Use static printer for smbd spooler test
      s3-printing: fix broken print_job_get_name() return

Gregor Beck (17):
      s3:registry: compile reg_create_path() & reg_delete_path()
      s3:registry: silence net_deletekey_recursive
      s3:registry: add functions to conveniently create registry_values
      s3:registry: improve debug output in reg_parse
      s3:registry: fix possible double free in import
      s3:net registry: fix output of dwords with sign bit set
      s3:net registry import: check return values + codecleanup
      s3:registry: add function registry_value_cmp()
      s3:net registry import: add option --precheck
      s3:net registry: fix violation of coding conventions
      s3:lib:dbwrap: fix return value of db_ctdb_traverse[_read] for non-persistent dbs
      s3:conn_tdb: add a function connections_fetch_entry_ext() that also takes the cnum
      s3: add a tool "cclean" to cleanup orphaned entries from connections.tdb
      packaging(RHEL-CTDB): make makespec.sh aware of new location of version.h
      packaging(RHEL-CTDB): package cclean tool
      s3:cclean: fix memory allocation
      s3:cclean avoid segfault in case of ctdb missbehaviour

Günther Deschner (3):
      s4-torture: use torture context for printing debug output.
      s4-torture: fix typo in samlogon test.
      s4-torture: more printf removal from samlogon torture test.

Jelmer Vernooij (2):
      samdb: Accept a list of member variables rather than a comma-separated string.
      Add --disable-ntdb option for building.

Jeremy Allison (14):
      Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process).
      Add missing setresgid() wrapper.
      Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.
      Move back to using per-thread credentials on Linux. Fixes the glibc native AIO lost wakeup problem.
      Fix typo in configure.in check for USE_LINUX_THREAD_CREDENTIALS.
      Try and fix the autoconf build on Solaris/Nexenta/etc.
      Add uint64_t mid field to the files_struct.
      Fix defer_open() fuction in the open code path to cope with a NULL lck parameter.
      Add new bool field async_open to struct deferred_open_record. Not used yet.
      Allow for async opens.
      Make schedule_deferred_open_message_smb2() return an indication of success.
      Make schedule_deferred_open_message_smb() return an indication of success.
      Don't allow asynchronous creates to be canceled in SMB2.
      Disable selections of USE_LINUX_THREAD_CREDENTIALS until we have specific

Matthieu Patou (20):
      s4-dsdb: fix a warning about unused variable
      dsdb-schema: do not reload more often than schema_reload_interval
      s4-dsdb: Try to avoid much of the time a db search for msDS-IntID
      s4-dsdb: support otherWellKnownObjects
      ldb: add the VERIFY_NAME control
      s4-ldap: handle VERIFY_NAME control encoding/decoding
      s4-dsdb-linkedattributes: register the VERIFY_NAME control, handle it when we are a GC
      s4-drsuapi: rework the crackname implementation of functionnal names
      s4-drsuapi: Fix a const warning
      ldb: lay foundation for proper utc/generalized time handling
      s4-schema: generalized time use its own syntax now
      s4-schema: keep track of the timestamp of the most recently changed/created object
      s4-extended: do not try to fix if there is no schema
      s4-dsdb: move schema_load at the top of module stack
      s4-drs: if schema has changed during replication notify other process that they have to reload the schema
      s4-dsdb: Add/Update SCHEMA_SEQ_NUM key in the metadata.tdb after schemaUpdateNow
      s4-dsdb: Check for key SCHEMA_SEQ_NUM in metadata.tdb updates
      s4-schema: improve the documentation of the dsdb_schema structure
      s4-dsdb: operational handle modifyTimeStamp on the CN=aggregate DN
      selftest: schema is not automatically reloaded now so if you modify it you have to reload it

Michael Adam (37):
      script: really sleep in "random-sleep.sh"
      s3:util: also compare the unique_id in procid_equal().
      s3:util: reformat procid_equal() to adhere to coding guidelines
      s3:smbstatus: use procid_equal() instead of equivalent cluster_id_equal()
      s3:util: remove (now) unused cluster_id_equal()
      s3:util: rename procid_equal() to serverid_equal()
      s3:move serverid_equal() to serverid.c
      Add current headers from ctdb master.
      autobuild: rename the "samba4" target to "samba"
      autobuild: rename the "samba4-libs" target to "samba-libs"
      autobuild: add a target "samba-ctdb" that builds samba (waf) with cluster support
      autobuild: add a target "samba3-ctdb" that builds samba3 (autoconf) with cluster support
      autobuild: run "samba-ctdb" by default to catch dbwrap_ctdb regressions
      autobuild: run "samba3-ctdb" by default
      s3:torture:smb2: pass smb2-session-reconnect test (add generosity in error case)
      s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() in exit_server_common()
      s3:smbd: remove now unused conn_close_all()
      s3:registry: make reg_delete_path() delete the path recursively.
      s3:net registry import: move precheck-and-import code to its own function
      s3:net registry import: reduce indentation and untangle assignment from check
      s3:net registry import: untangle nested function calls
      s3:net registry import: improve regdb_open/close layering
      s3:net registry import: fix the return code when transaction commit fails
      s3:net registry import: reduce indentation
      s3:net registry import: add an assert
      s3:net registry import: implement dry-run with "--test"
      s3:registry: use TALLOC_CTX * instead of const void * in reg_import_adapter()
      s3:registry: change reg_import.c according to coding guidelines.
      s3:dbwrap_ctdb: fix fetch/fetch_locked when samba is built against old ctdb
      s3:dbrwap_ctdb: remove commented out legacy code
      s3:dbwrap_ctdb: rename db_ctdb_own_record() -> db_ctdb_can_use_local_copy()
      s3:dbwrap_ctdb: expand the comment for the db_ctdb_can_use_local_copy() function
      s3:dbwrap_ctdb: fix a comment in db_ctdb_fetch()
      s3_dbrwap_ctdb: improve a comment in db_ctdb_can_use_local_record()
      WHATSNEW: prepare for 4.0 beta3
      WHATSNEW: Mention SMB 2.1 support (reauthentication/mulit-credit) and config default
      WHATSNEW: mention initial support for SMB3

Olaf Flebbe (1):
      s3: Correct documentation of case sensitive

Rusty Russell (29):
      ntdb: fix occasional abort in testing.
      ntdb: respect TDB_NO_FSYNC flag for 'make test'
      autobuild: always set TDB_NO_FSYNC.
      ntdb: hand correct error code when alloc_read allocation fails.
      ntdb: don't munmap the database on every close.
      ntdb: enhancement to allow direct access to the ntdb map during expansion.
      ntdb: allow direct access for NTDB_INTERNAL dbs during expansion.
      ntdb: make database read-only during ntdb_parse() callback.
      ntdb: test arbitrary operations during ntdb_parse_record().
      ntdb: take advantage of direct access across expand.
      util: util_ntdb.c
      util: ntdb_new() supports NTDB_CLEAR_IF_FIRST.
      util: util_ntdb.c gains bystring functions.
      util: util_ntdb.c gets NTDB_ERROR => NTSTATUS map.
      util: util_ntdb ntdb_fetch_int32/ntdb_store_int32 and ntdb_add_int32_atomic
      util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.c
      dbwrap: remove get_flags().
      dbwrap: dbwrap_local_open()
      dbwrap: add dbwrap_check() function.
      dbwrap: dbwrap_fetch_locked_timeout().
      dbwrap: dbwrap_transaction_start_nonblock().
      dbwrap: dbwrap_name().
      dbwrap: dbwrap_hash_size().
      tdb: make TDB_NOSYNC merely disable sync.
      tdb: don't use err.h in tests.
      tdb: finish weaning off err.h.
      source4/smbd/pidfile: don't panic if pid file is corrupt.
      ccan: we're subsystems, not a library.
      ccan: make it a grouping library.

Stefan Metzmacher (90):
      Revert "wafsamba/irixcc: add '-c99' option to cc"
      wafsamba/irixcc: next try to inject '-c99' the the build
      s3:include: add START/END_PROFILE_STAMP()
      s3:smbd: fix the build with the --with-profiling-data option
      script/autobuild: don't use make -j for small projects
      script/autobuild: don't use 'make -j 4' for bin/smbtorture4
      script/autobuild: delay start of small projects by 60 to 600 seconds
      s4:torture/smb2: add smb2.durable-open.delete_on_close1
      s3:winbindd: discard the expired gid cache if we're online (bug #9002)
      s3:winbindd: do not expose negative cache idmap entries as valid mappings (bug #9002)
      s3:idmap_cache: also store negative entries for unknown sids
      s4:torture/smb2: rename smb2.durable-open.lock to smb2.durable-open.lock-lease
      selftest: samba3.smb2.durable-open.lock => samba3.smb2.durable-open.lock-lease
      s4:torture/smb2: add smb2.durable-open.lock-oplock
      s4:torture/smb2: run smb2.session.reauth5 in a subdirectory
      s3:serverid: don't ignore the result of dbwrap_parse_record()
      s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support
      s4:torture/raw: add raw.session.expire1
      selftest/knownfail: mark ^samba4.raw.session.expire1 as knownfail
      script/autobuild: fix path to random-sleep.sh
      dbwrap: intialize state.status in dbwrap_fetch_int32()
      dbwrap: don't ignore the result of dbwrap_parse_record in dbwrap_fetch_int32()
      s3:librpc: add smbXsrv.idl
      s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structures
      s3:smbd: add smbXsrv_version_* infrastructure
      s3:smbXsrv.idl: add smbXsrv_session* structures
      s3:smbd: add smbXsrv_session infrastructure
      sq smbXsrv_session_global_store no connection
      s3:smbXsrv.idl: add smbXsrv_tcon* structures
      s3:smbd: add smbXsrv_tcon infrastructure
      s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3
      s3:smb2_sesssetup: make use of the smbXsrv_session infrastructure
      s3:smb2_sesssetup: add support for SMB 2.24/3.00 signing
      s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2
      s3:smbd: make use of smbXsrv_tcon for smb1
      s3:smbd: make use of smbXsrv_session for smb1
      s3:smbd: remove now unused invalidate_all_vuids()
      lib/param: add "SMB3" as alias for PROTOCOL_SMB3_00
      selftest/Samba3: 'server max protocol = SMB3'
      docs-xml: fix reference from "server min protocol" to "server max protocol"
      docs-xml: document "server max protocol" SMB3 and SMB3_00
      s3:smb2_sesssetup: implement dynamic re-authentication and expire sessions
      selftest/knownfail: only reauth5 still fails
      s3:selftest: run smb2.session as ntlm and krb5
      s3:selftest: run smbtorture3 SMB2-SESSION-REAUTH
      s3:smbd/sesssetup: implement dynamic re-authentication and expire session if client supports it
      s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2
      s3:selftest: run raw.session
      s3:smb2_sesssetup: inline most of smbd_smb2_session_setup()
      s3:smb2_sesssetup: make use of gensec_update_send/recv
      s3:smb2_sesssetup: inline gensec_session_info() call
      s3:messaging.idl: define MSG_SMBXSRV_SESSION_CLOSE
      s3:smbXsrv.idl: add smbXsrv_session_close*
      s3:smbXsrv_session: add smb2srv_session_close_previous_send/recv
      s3:smbXsrv_session: react on MSG_SMBXSRV_SESSION_CLOSE
      s3:smb2_sesssetup: make use of smb2srv_session_close_previous_send/recv
      selftest/known: samba3.smb2.session.*reconnect passes now
      s3:selftest: run SMB2-SESSION-RECONNECT
      s3:smbXsrv_session: pass max_sessions explicitly for smbXsrv_session_table_init()
      s3:smbXsrv_tcon: pass max_tcons explicitly for smbXsrv_tcon_table_init()
      s3:wscript: use LOCKING subsystem for smbtorture3
      s3:brlock: add some const to print_lock_struct()
      s3:brlock: s/int/uint64_t for fnum
      s3:smbd/files: fsp->fnum is uint64_t not int!
      s3:smb2_create: add usefull DEBUG() message
      s3:smbd: change nt_open_pipe() to uint16_t pnum/fnum
      s3:smb2_server: start the connection with one credit granted to the client
      s3:smb2_server: call smbd_smb2_request_validate() also in smbd_smb2_first_negprot()
      s3:smb2_server: remove unused and confusing DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR
      s3:smb2_server: fix calculation of the next bitmap_offset
      s3:smb2_server: clear sequence window if we got the lowest sequence id
      s3:smb2_server: split out a smb2_validate_sequence_number() function
      s3:smb2_server: check the credit_charge against the already granted credits
      s3:smb2_server: make sure we don't grant more credits than we allow
      s3:smb2_server: make sure sequence numbers don't wrap at UINT64_MAX
      s3:smb2_server: implement credit granting similar to windows
      s3:smb2_server: grant extra credits for multi-credit requests
      s3:smb2_negprot: support SMB2_CAP_LARGE_MTU on everything but port 139
      s3:smb2_server: simplify smbd_smb2_request_verify_creditcharge() a bit.
      s3:smb2_server: make the logic in smbd_smb2_request_verify_creditcharge() simpler
      lib/param: let "SMB2" select PROTOCOL_SMB2_10
      s3:param: change "server max protocol" to "SMB2" (SMB2_10)
      docs-xml: document "server max protocol" "SMB2" selects PROTOCOL_SMB2_10
      s3:smb2_server: remove max_charge check in smbd_smb2_request_verify_creditcharge()
      lib/util: fix fd leak in anonymous_shared_allocate() if MAP_ANON is not available
      libcli/smb: add SMB2_CAP_DIRECTORY_LEASING to SMB2_CAP_ALL
      lib/ccan: readd execinfo dependency to failtest
      s3:smbXsrv.idl: add smbXsrv_open* structures
      s3:smbd: add smbXsrv_open* infrastructure
      s3:smbd: make use of smbXsrv_open for smb1/2/3

Volker Lendecke (22):
      idmap-hash: Fix Coverity ID 709119 Unused pointer value
      idmap-hash: Adapt mapfile_read_line to README.Coding
      idmap-hash: Fix Coverity 709118 Dereference before null check
      idmap-hash: Fix Coverity ID 709117 Dereference before null check
      idmap-hash: Attempt to fix Coverity ID 709116 Overflowed array index write
      s3: Remove a user of procid_is_me
      s3: Remove a user of procid_is_me
      s3: Fix const warnings
      s3: Use string_term_tdb_data where appropriate
      s3: Remove an unnecessary ()
      dbwrap: Add dbwrap_change_int32_atomic
      dbwrap: Add dbwrap_fetch_int32
      s3: Use dbwrap_util for windows_lock_ref_count
      s3: Make reduce_windows_lock_ref_count static
      s3: Remove reduce_windows_lock_ref_count, used only once
      dbwrap: Convert fetch_int32 to dbwrap_parse_record
      s3: Give machine password changes 10 minutes of time
      s3-vfs_gpfs: Fix bug #9003, posix acl on gpfs
      s3: Avoid a call to server_event_context()
      s3: Fix a typo
      s3: Restore async i/o with the "native" AIO interface
      s3: Fix compilation of pthreadpool_sync.c on platforms without pthread.h


Samba Shared Repository

More information about the samba-cvs mailing list