[SCM] Samba Shared Repository - branch v4-0-test updated

Karolin Seeger kseeger at samba.org
Wed Oct 10 02:42:05 MDT 2012


The branch, v4-0-test has been updated
       via  90021dc Remove obsolete land-remote.py and land.py scripts.
       via  eb84959 script/autobuild.py: set the default for --log-base to the current gitroot
       via  790f615 script/autobuild.py: remove --rebase-master and --push-master options
       via  039396c packaging: Add config for systemd-tmpfiles.
       via  cb2d638 RHEL packaging: Try to fix makerpms.sh on RHEL.
       via  5db52d1 packaging: apply some solaris packaging fixes
       via  637e4b9 docs: Add '-V' to the list of options.
       via  a29f1a3 docs: Add man 8 samba-tool.
       via  d800f9f smb.conf(5): Add basic documentation for 'dcerpc endpoint servers'.
       via  b61b742 smb.conf(5): List 'protocol' as alias for 'server max protocol'.
       via  e116d6d smb.conf(5): Add documentation for 'client max protocol'.
       via  cb4d2e6 smb.conf(5): Add basic documentation for 'client min protocol'.
       via  ae360eb smb.conf(5): Document 'share backend' parameter.
       via  7ca2246 smb.conf(5): Extend 'server min protocol' description.
       via  bb56df0 smb.conf(5): Consistent spelling of parameter names.
       via  7944e1a smb.conf(5): Add basic documentation for 'rpc bigendian'.
       via  bed7930 smb.conf(5): Add basic documentation for 'kpasswd port'.
       via  27bedb5 smb.conf(5): Add basic documentation for 'dgram port'.
       via  69f224c smb.conf(5): Add basic documentation for 'unicode'.
       via  5890e06 smb.conf(5): Add basic documentation for 'web port'.
       via  17b8208 smb.conf(5): Add basic documentation for 'nbt port'.
       via  21a5e02 smb.conf(5): Add basic documentation for 'krb5 port'.
       via  56a5b2b smb.conf(5): 'write ok' is a reverse synonym for 'read only'.
       via  ba0742f smb.conf(5): Distinguish parametric options.
       via  db22a41 find_missing_doc: Convert to python.
       via  d1b0134 find_missing_manpages: convert to python
       via  bb274cc find_missing_manpages: Ignore make variables.
       via  6df7522 smb.conf(5): Remove documentation for removed 'lock spin count' parameter.
       via  7202c3b Remove unused neatquotes script.
       via  8978845 smb.conf.5: Document 'cldap port'.
       via  dae25b8 undocumented: Drop extension from helper scripts.
       via  c06c98e s3-docs: add delete_lost option to vfs_streams_depot.8
       via  c8b5941 docs: Change TOSHARG-VFS to avoid suggesting VFS modules are Linux/IRIX only
       via  aec004e docs: Remove mention of auth methods in TOSHARG-Passdb
       via  9398356 docs: Fix typo in TOSHARG-Passdb
       via  380e635 docs: Update TOSHARG-Install
       via  9873e62 docs: Remove another reference to security=share
       via  a3e01a3 docs: Remove references to specific windows versions, instead mention Home/Professional/Server
       via  b5c9cb0 docs: Remove references to mulitple passdb backends
       via  6ae3b85 docs: Remove references to sysv-style CUPS from TOSHARG-CUPS-printing
       via  92dfd11 docs: Remove very outdated TOSHARG-Other-Clients section
       via  7670903 docs: Remove very outdated TOSHARG-Portability section
       via  87e33c9 docs: Update FastStart: remove security=share, avoid disable spoolss
       via  49090ea docs: Clarify TOSHARG-Bugs for 2012
       via  23878d9 docs: Remove reference to inetd startup, it is not recommended
       via  c1f7a82 docs: Update BDC docs to recognise the AD DC and to exclusivly recommend LDAP
       via  7f25c89 docs: Remove referenece to old Red Hat Linux habits on winbindd
       via  f33fce0 docs: Remove referenece to autogen.sh and document waf build instead
       via  354cbc9 docs: Remove out of date links to pserver.samba.org and old tarballs
       via  9f3525b docs: Remove references to Subversion, replace with wiki link
       via  34649d0 docs: Remove references to old kerberos behaviour
       via  b1849d2 docs: Remove confusing reference to smb signing and client use spnego
       via  a4a6586 docs: update for modern kerberos libs
       via  e185ede docs: remove references to security=server
       via  39698c9 docs: Remove distinction between server and domain accounts
       via  ea9d2b2 docs: Update docs to the modern age of Samba 4.0
       via  e3de980 vfs: check full_audit enum->str mapping on startup
       via  0f9d857 vfs: add missing pwrite ops to full_audit
       via  bdaf167 vfs: fix acl_blob_get* in vfs_full_audit
       via  dbed19b vfs: fix lock logging in vfs_full_audit (cherry picked from commit 47becf6e20a970d273afab8be176d8cbe5ab2b9c)
       via  6644557 samba-tool: Some more unifications...
       via  3817492 samba-tool: skip chown in sysvolreset when it would fail on a GID
       via  3c63021 s4:scripting/python: add '-V' as alias for '--version'
       via  3b465d8 s4:samba-tool: allow 'samba-tool --version'
       via  70561ec s4:samba-tool: use normal option parsing in SuperCommand
       via  f1e5f73 s4:samba-tool: add optional epilog to _create_parser()
       via  e243d33 samba-tool: Unify usage messages.
       via  d2a8b70 samba-tool: Clarify usage of --help.
       via  9650cd9 samba-tool: Fix typo in usage.
       via  cd1f38e s4-join: factorize code, add info (cherry picked from commit 95ea6d765b98d9cbdebaa8e23aad91525d94ad40)
       via  564214c s4-join: add some documentation (cherry picked from commit d57e0d8a6d213543a772a517551cca053cece85e)
       via  9e09cfa devel-crackname: Print if count > 0 (cherry picked from commit e332f989091411602ef7f286ebb2f5b1462550e4)
       via  f2f7953 s4: samba_backup: Fix typos.
       via  2c1723b provision: Use logger rather than print.
       via  54dfa75 s4-provision: do not skip setting the acls on sysvol
       via  475c8d8 sanba.upgradehelpers: Use standard functionality for getting temp dir. (cherry picked from commit 0883e174bfdec22a4ff373041afce396cfe7fd7b)
       via  041ad02 s4-python: Various formatting fixes.
       via  d10f27d samba.tests.source: Check for trailing whitespace in Python files. (cherry picked from commit 6986f7bdda56d693c642945485006f9660053758)
       via  46767ea samba-tool domain provision: DNS forwarder default
       via  f476503 samba-tool: Hide 'samba-tool domain samba3upgrade'.
       via  6dfb2d1 samba_dnsupdate: Safely update/create names for Samba3 targets as well
       via  995cc1e samba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file consistent
       via  1b1a2b7 selftest: Remove invalid security=share and rename secshare to simpleserver
       via  8e1644b s4-python: Override SIGINT handler in scripts only.
       via  905898c samba-tool domain provision: DNS forwarder is not a boolean.
       via  9bdf0ec samba-tool domain-provision: Avoid python2.5-isms. (cherry picked from commit 6641d76562db10e6289c5e819b1296d8f6df37bf)
       via  37528e9 samba-tool domain-provision: Fix docstring. (cherry picked from commit 61ce3e871a1fc1d16202d337d74c2e10f64b2c86)
       via  6b5c78f Correct command help message
       via  5b291e3 s4-python: Formatting fixes, break lines.
       via  2a1e9c8 samba.netcmd: Formatting fixes, break lines. (cherry picked from commit 0ff2ea56d97cd8df7abeea8e819d7ec0bfd5b886)
       via  be235ce samba.provision.common: Fix formatting. (cherry picked from commit ebcb6a744791478bfc4be0b94733ace540ab06bc)
       via  57b4329 samba.provision.sambadns: Fix formatting. (cherry picked from commit cd7dcf4571b321f39eda07c489dd16833d8d4185)
       via  ec4c6b7 samba.provision.backend: Fix formatting. (cherry picked from commit 858135920d54662a06252deac4dbf9191a251018)
       via  1c3bd71 samba.provision: Fix formatting, NameErrors. (cherry picked from commit fdb873a203695f0b208967a561424c0357374e5b)
       via  d57b4b0 replace: Avoid returning value in void setproctitle() replacement.
       via  46b374c Remove compatibility code for setproctitle() now moved to libreplace.
       via  415a0fc replace: Support setproctitle().
      from  a6a95d8 libreplace: Bug 8107, Fix poll replacement to become a msleep replacement

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 90021dcc83f4233a8edae78f324dcafa9b32a840
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 00:47:02 2012 +0200

    Remove obsolete land-remote.py and land.py scripts.
    
    The last 3 patches addres bug #9277 - backport autobuild fixes.
    
    Autobuild-User(v4-0-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-0-test): Wed Oct 10 10:41:42 CEST 2012 on sn-devel-104

commit eb84959aa76a0a61b0d4b2c1a6047013d4adde03
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Sep 24 11:53:22 2012 +0200

    script/autobuild.py: set the default for --log-base to the current gitroot
    
    metze
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Mon Sep 24 15:27:16 CEST 2012 on sn-devel-104

commit 790f6151a6304b5931e900f7e708dda5ac2cf8eb
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sun Sep 23 00:50:48 2012 +0200

    script/autobuild.py: remove --rebase-master and --push-master options
    
    You should explicitly pass the urls to --rebase= and --pushto=
    
    metze
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sun Sep 23 02:53:56 CEST 2012 on sn-devel-104

commit 039396c7f9cd4114f6f0ef25121669e30ba6a075
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Tue Oct 9 14:25:29 2012 +0200

    packaging: Add config for systemd-tmpfiles.
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Tue Oct  9 17:10:53 CEST 2012 on sn-devel-104
    (cherry picked from commit 66018ea4fbe290cad6aef54454c1f0703f0dff40)
    
    The last 3 patches address bug #9276 - backport packaging fixes.

commit cb2d638e2be4d19a7e9609254f0d9a02cbb4795e
Author: Karolin Seeger <kseeger at samba.org>
Date:   Tue Sep 18 11:08:17 2012 +0200

    RHEL packaging: Try to fix makerpms.sh on RHEL.
    
    Address bug #9165 - makerpms.sh can't create package fo RHEL.
    
    Karolin
    
    Autobuild-User(master): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(master): Tue Sep 18 12:51:01 CEST 2012 on sn-devel-104

commit 5db52d1ba833146ccf8dd38477f5824841f05e54
Author: Björn Jacke <bj at sernet.de>
Date:   Fri Sep 14 00:25:38 2012 +0200

    packaging: apply some solaris packaging fixes
    
    Actually this might be outdated already. See bug #5670.
    Thanks to Michal Ludvig.
    
    Autobuild-User(master): Björn Jacke <bj at sernet.de>
    Autobuild-Date(master): Fri Sep 14 02:42:53 CEST 2012 on sn-devel-104

commit 637e4b9b51cbf140854b77e123ee0110a5e6e48e
Author: Karolin Seeger <kseeger at samba.org>
Date:   Tue Oct 9 11:56:19 2012 +0200

    docs: Add '-V' to the list of options.
    
    Karolin
    
    Autobuild-User(master): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(master): Tue Oct  9 18:53:12 CEST 2012 on sn-devel-104
    (cherry picked from commit f88ab17993e22a9c368017d54da437c057e371ca)
    
    The last 50 patches address bug #9274 - backport documentation changes.

commit a29f1a3f5030f916d5fcbc8da1c74329831b18a3
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Oct 8 11:57:40 2012 +0200

    docs: Add man 8 samba-tool.
    
    Addresses bug #8802 - Create missing manpages for new binaries.
    
    Please note that it's a very basic version. Please feel free
    to extend.
    
    Karolin

commit d800f9faf7fee94bf20784e5d5152a4f8cad7846
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 18:01:35 2012 -0700

    smb.conf(5): Add basic documentation for 'dcerpc endpoint servers'.

commit b61b742973be866600aade425511fafc5c5b8b51
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 16:06:14 2012 -0700

    smb.conf(5): List 'protocol' as alias for 'server max protocol'.

commit e116d6da2a023b99721e7e5c962acf3ae7dae159
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 16:11:05 2012 -0700

    smb.conf(5): Add documentation for 'client max protocol'.

commit cb4d2e66a9af2afc9576758a41e757ba2d4c74ed
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 16:12:16 2012 -0700

    smb.conf(5): Add basic documentation for 'client min protocol'.

commit ae360eb367b0dd760b9ddfe8d75f5e20aedd0d22
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 15:44:46 2012 -0700

    smb.conf(5): Document 'share backend' parameter.

commit 7ca2246b735f60fdf9d392a0fa84b1966d434d43
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 16:02:40 2012 -0700

    smb.conf(5): Extend 'server min protocol' description.
    
    Conflicts:
    	docs-xml/smbdotconf/protocol/serverminprotocol.xml

commit bb56df0cc647cc61f48ae431a2301ed8a5f9cc76
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 13:20:42 2012 -0700

    smb.conf(5): Consistent spelling of parameter names.
    
    This includes spacing and casing.
    
    Conflicts:
    	source4/scripting/python/samba/tests/docs.py

commit 7944e1a3f22aa5fdbc8d6696fe02ecddacdbb4be
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 13:07:54 2012 -0700

    smb.conf(5): Add basic documentation for 'rpc bigendian'.
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Wed Sep 26 23:51:34 CEST 2012 on sn-devel-104

commit bed7930a65f540528f8184e591c71dbaac20419e
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:59:32 2012 -0700

    smb.conf(5): Add basic documentation for 'kpasswd port'.

commit 27bedb509b5fd97f2e1962e2bfa95de5116b47e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:58:02 2012 -0700

    smb.conf(5): Add basic documentation for 'dgram port'.

commit 69f224c854d8159a4dec9f7ffbdf614aa06cbd3d
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:55:15 2012 -0700

    smb.conf(5): Add basic documentation for 'unicode'.

commit 5890e06a637a6cf0028d51a2f73edd3b4c778105
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:51:41 2012 -0700

    smb.conf(5): Add basic documentation for 'web port'.

commit 17b8208ba5bedd24b0ca4a028751850611dfd287
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:50:34 2012 -0700

    smb.conf(5): Add basic documentation for 'nbt port'.

commit 21a5e02434c2b45d9fc2acd2f228d03ac93476ab
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:46:37 2012 -0700

    smb.conf(5): Add basic documentation for 'krb5 port'.

commit 56a5b2b897ab7ce5e492f68742f0e5a6524c94d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 12:41:20 2012 -0700

    smb.conf(5): 'write ok' is a reverse synonym for 'read only'.

commit ba0742fc675fec105b54a6c40feb08abbabeeb9a
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 18:36:28 2012 +0200

    smb.conf(5): Distinguish parametric options.

commit db22a41b367f4a0bc1df67503a4f8dfffa78c538
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 02:37:01 2012 +0200

    find_missing_doc: Convert to python.

commit d1b0134e582385d963ea1f07183cd92e7fdd5345
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 02:05:39 2012 +0200

    find_missing_manpages: convert to python

commit bb274cc0fc9442f3981255ee39339727d0f5472a
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 01:24:04 2012 +0200

    find_missing_manpages: Ignore make variables.

commit 6df752212e16d8f485748eddde0da46c5b7b33ad
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 02:59:35 2012 +0200

    smb.conf(5): Remove documentation for removed 'lock spin count' parameter.
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Wed Sep 26 09:41:09 CEST 2012 on sn-devel-104

commit 7202c3bc100a71f61d1669e3dd5e6a672fcaa545
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 01:28:17 2012 +0200

    Remove unused neatquotes script.

commit 8978845b16dba9f47aa2ea15a7eca12678e65fd9
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 01:31:26 2012 +0200

    smb.conf.5: Document 'cldap port'.

commit dae25b89793cef0043244d7095314b8024a3cd93
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Sep 26 01:31:37 2012 +0200

    undocumented: Drop extension from helper scripts.

commit c06c98e8e83f9d549a8319c06904977e8564089e
Author: Björn Baumbach <bb at sernet.de>
Date:   Tue Oct 2 11:37:11 2012 +0200

    s3-docs: add delete_lost option to vfs_streams_depot.8
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Wed Oct  3 18:10:14 CEST 2012 on sn-devel-104

commit c8b594143ed343f78b5e11b94d60f7b5b32115ba
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Sep 25 11:05:37 2012 +1000

    docs: Change TOSHARG-VFS to avoid suggesting VFS modules are Linux/IRIX only
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Tue Sep 25 08:27:15 CEST 2012 on sn-devel-104

commit aec004ea1ec2f976f7814e4a8516f93d0151ca35
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Sep 25 11:05:01 2012 +1000

    docs: Remove mention of auth methods in TOSHARG-Passdb
    
    This is not connected to the passdb system, and we should not encourage setting of auth methods
    in any case.
    
    Andrew Bartlett

commit 9398356b59315fe99c62be34d01ccaa1cea3d84a
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Tue Sep 25 11:04:14 2012 +1000

    docs: Fix typo in TOSHARG-Passdb

commit 380e635c05b1103fd43a6f8974a8c14ab9bbf425
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sun Sep 23 03:09:32 2012 +1000

    docs: Update TOSHARG-Install
    
    - winbindd runs as many processes now
    - open_oplock_ipc errors do not happen any more, we do not use UDP messaging any more.
    
    Andrew Bartlett

commit 9873e62e3fdd1ff45ae8cbdc2c30527c60c81a3c
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Sep 17 11:56:28 2012 -0700

    docs: Remove another reference to security=share

commit a3e01a366167a2e3bed4fbc447eaaa71f98e1b14
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Sep 17 11:56:08 2012 -0700

    docs: Remove references to specific windows versions, instead mention Home/Professional/Server
    
    The flavours of windows seem to last longer than the individual products.
    
    Andrew Bartlett

commit b5c9cb0f900d963ebcdc395b792b67a3c51d5dfd
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Sep 17 11:55:12 2012 -0700

    docs: Remove references to mulitple passdb backends
    
    These are long-gone and confusing.
    
    Andrew Bartlett

commit 6ae3b85daac2e5a1d21948ad26785d833da4de1a
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Sep 17 11:54:25 2012 -0700

    docs: Remove references to sysv-style CUPS from TOSHARG-CUPS-printing
    
    This also simplifies the cups config by not duplicating the printcap name parameter
    that is already set by default when printing=cups is set.
    
    Andrew Bartlett

commit 92dfd11148aeb41222b8c52391efa20af1c592d8
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Sep 15 15:55:55 2012 -0700

    docs: Remove very outdated TOSHARG-Other-Clients section

commit 76709039461619c68f311f045c7ec4cccbeac325
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Sep 15 15:52:47 2012 -0700

    docs: Remove very outdated TOSHARG-Portability section

commit 87e33c98e18abf31f130adb283bdd81c37da2490
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Sat Sep 15 12:53:37 2012 -0700

    docs: Update FastStart: remove security=share, avoid disable spoolss
    
    As I understand it, all printing is via spoolss, so do not disable it!
    
    Andrew Bartlett

commit 49090ea382b7433882002244bbcf2fae4d82c70e
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 23:13:33 2012 -0700

    docs: Clarify TOSHARG-Bugs for 2012

commit 23878d991dc501c6e633b5f952f7a80e11e8cc8d
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 23:08:53 2012 -0700

    docs: Remove reference to inetd startup, it is not recommended

commit c1f7a82eb74a6ddc2906cc1f2669849936e833d2
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 23:06:59 2012 -0700

    docs: Update BDC docs to recognise the AD DC and to exclusivly recommend LDAP
    
    The confusing references to the not-recommended techniques and
    outdated steps (like net rpc getsid, replaced by simply having the SID
    just be in LDAP) just detract from the clarity of this document.
    
    Andrew Bartlett

commit 7f25c897770e56b98a3f2fb7c9d5608e9bfad455
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 22:30:06 2012 -0700

    docs: Remove referenece to old Red Hat Linux habits on winbindd

commit f33fce0bb026c8740b1cf3d2ad146e6dadb56fcc
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 22:29:39 2012 -0700

    docs: Remove referenece to autogen.sh and document waf build instead

commit 354cbc94bff1e2970bc35ae1ba8820929d22f3a0
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 22:29:05 2012 -0700

    docs: Remove out of date links to pserver.samba.org and old tarballs

commit 9f3525bafd3e970484a8d97a0a68cb17868c92c3
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 22:28:19 2012 -0700

    docs: Remove references to Subversion, replace with wiki link

commit 34649d09c9c11f42a45ff570c3a9a890735195d2
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 12:06:40 2012 -0700

    docs: Remove references to old kerberos behaviour
    
    I have not seen any issues using the SRV records with windows, and this certainly
    does not apply to current versions.  Similarly, the need to change the admin password
    does not apply now we require a krb5 lib with arcfour-hmac-md5 support.
    
    Andrew Bartlett

commit b1849d20abb37dd92cf34df3c3c2f4f9c53190d5
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 12:04:00 2012 -0700

    docs: Remove confusing reference to smb signing and client use spnego
    
    This section is more confusing than helpful, as client support for both is on by default.
    
    Andrew Bartlett

commit a4a6586cec7b72ba809ff34aec71bdc0f2fa1ff7
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 11:57:38 2012 -0700

    docs: update for modern kerberos libs

commit e185ede313ece4a1c3c947b865a6cd1f6c98043d
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 11:57:05 2012 -0700

    docs: remove references to security=server

commit 39698c99e11a72975f350c022e8f06c81569edab
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 09:29:51 2012 -0700

    docs: Remove distinction between server and domain accounts
    
    Accounts on a server become accounts on the DC when upgraded.  If they do not
    then this is simply a bug (in say tdbsam), not a feature to be documented.
    
    Andrew Bartlett

commit ea9d2b2cf11e71f4f5a2103d16188805fbe1a0fb
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 14 09:28:06 2012 -0700

    docs: Update docs to the modern age of Samba 4.0
    
    This removes references to security=share, security=server and other outdated things.
    
    It also updates to a world where encrypted passwords are the norm.
    
    Andrew Bartlett

commit e3de9801652ef1f4e6f52c41bc97637e50de4892
Author: David Disseldorp <ddiss at samba.org>
Date:   Thu Sep 27 12:34:53 2012 +0200

    vfs: check full_audit enum->str mapping on startup
    
    Signed-off-by: Jim McDonough <jmcd at samba.org>
    
    Autobuild-User(master): David Disseldorp <ddiss at samba.org>
    Autobuild-Date(master): Fri Sep 28 19:28:49 CEST 2012 on sn-devel-104
    (cherry picked from commit 0d7a2af9084c376ad4f664389bb8a59dd6887ab7)
    
    The last 4 patches address bug #9269 - samba4 64bit-portability-issue.

commit 0f9d8576302692932a9962b97017eddb174b35bd
Author: David Disseldorp <ddiss at samba.org>
Date:   Thu Sep 27 11:50:22 2012 +0200

    vfs: add missing pwrite ops to full_audit
    
    The op enum is used by audit_opname() as an index into the vfs_op_names
    array, so any decrepencies cause bogus audit log entries.
    
    Signed-off-by: Jim McDonough <jmcd at samba.org>
    (cherry picked from commit e8e91fbbab16c7bcaa9665839d86c7d169e89fff)

commit bdaf167034f67d767d21a44cc3e6e79f0c373c2e
Author: David Disseldorp <ddiss at samba.org>
Date:   Thu Sep 20 08:35:27 2012 +0200

    vfs: fix acl_blob_get* in vfs_full_audit
    
    Plumb-in functions and use correct return types.
    
    Autobuild-User(master): David Disseldorp <ddiss at samba.org>
    Autobuild-Date(master): Thu Sep 20 20:42:09 CEST 2012 on sn-devel-104
    (cherry picked from commit a125ea7419142dfb86c4f32b1d46896f3bf40704)

commit dbed19b853d729658f2502f4579451405a74f780
Author: David Disseldorp <ddiss at samba.org>
Date:   Thu Sep 20 08:20:57 2012 +0200

    vfs: fix lock logging in vfs_full_audit (cherry picked from commit 47becf6e20a970d273afab8be176d8cbe5ab2b9c)

commit 6644557ee422472a17471c58f39b98ee7a2f67a9
Author: Karolin Seeger <kseeger at samba.org>
Date:   Tue Oct 9 11:53:21 2012 +0200

    samba-tool: Some more unifications...
    
    in the usage message.
    
    Karolin
    (cherry picked from commit f9a4a9bfe11c1551b490a0bd12fb6904b4a6542b)
    
    The last 34 patches address bug #9271 - backport samba-tool fixes from master.

commit 3817492ee59fd18448d498f2b84c6f5b871ba78d
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Oct 5 10:19:17 2012 +1000

    samba-tool: skip chown in sysvolreset when it would fail on a GID
    
    This skips the chown of the files if (for example) the domain Admins group
    were to own the file and not be able to because the group maps only to a GID.
    
    This essentially papers over the problem, but may be enough to get us past
    the Samba 4.0 release.
    
    Andrew Bartlett
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Tue Oct  9 15:24:44 CEST 2012 on sn-devel-104
    (cherry picked from commit 2f0753b456c4d9b4eb52f128a83c8ba19adde160)

commit 3c63021abd1ca401021f4c529aa74a6a86e7d9e9
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Oct 8 12:50:52 2012 +0200

    s4:scripting/python: add '-V' as alias for '--version'
    
    metze
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Mon Oct  8 17:52:52 CEST 2012 on sn-devel-104
    (cherry picked from commit 8746faf846fb4f4552e648f4e4e05510b8bd1ef4)

commit 3b465d866fd02063d90cfd81d2c483f28eb9c1fe
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Oct 8 12:50:33 2012 +0200

    s4:samba-tool: allow 'samba-tool --version'
    
    metze
    (cherry picked from commit 309434a77396680b5a40985157da44aaddb5ca71)

commit 70561ec9f5974ae0241e7b42aac949027c5308c5
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Oct 8 12:47:47 2012 +0200

    s4:samba-tool: use normal option parsing in SuperCommand
    
    We use the epilog to print the subcommands.
    
    metze
    (cherry picked from commit 2fce71c89af66c1467f0a18b97e237b307387620)

commit f1e5f73aac723f1d6eb4784596b822f2c669db96
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Oct 8 12:45:20 2012 +0200

    s4:samba-tool: add optional epilog to _create_parser()
    
    metze
    (cherry picked from commit 8d4943dcf943dc83b9b663d3d025fb1a8dbcba86)

commit e243d33783ab3911e457ce9c7aa9d0f8c290f165
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Oct 8 12:32:58 2012 +0200

    samba-tool: Unify usage messages.
    
    Karolin
    
    Autobuild-User(master): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(master): Mon Oct  8 14:26:52 CEST 2012 on sn-devel-104
    (cherry picked from commit acea51cc37ff9171c9e18ff0c21b825080aa4b8e)

commit d2a8b704e04116edd5f38486e2c9f8cb2f0f536f
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Oct 8 11:47:22 2012 +0200

    samba-tool: Clarify usage of --help.
    
    Karolin
    (cherry picked from commit a2f3ec0577e275604d15b4bb853705ed18cdd963)

commit 9650cd976e74234470865f13c8d6722f9ca6df70
Author: Karolin Seeger <kseeger at samba.org>
Date:   Mon Oct 8 09:47:37 2012 +0200

    samba-tool: Fix typo in usage.
    
    Karolin
    (cherry picked from commit 171bf9827bffdb25cee0b0ddd0ddc20cc056fdd0)

commit cd1f38ecf633b5bd590465bcfe913b91c242ea85
Author: Matthieu Patou <mat at matws.net>
Date:   Sat Sep 29 10:15:05 2012 -0700

    s4-join: factorize code, add info (cherry picked from commit 95ea6d765b98d9cbdebaa8e23aad91525d94ad40)

commit 564214cd8a80d893ca20fa4c7492e4793db23d2b
Author: Matthieu Patou <mat at matws.net>
Date:   Sun Oct 7 21:52:25 2012 -0700

    s4-join: add some documentation (cherry picked from commit d57e0d8a6d213543a772a517551cca053cece85e)

commit 9e09cfa76cb30b5161ebce2532345f0d4f40f304
Author: Matthieu Patou <mat at matws.net>
Date:   Tue Sep 25 02:00:23 2012 -0700

    devel-crackname: Print if count > 0 (cherry picked from commit e332f989091411602ef7f286ebb2f5b1462550e4)

commit f2f795305cc7d2ad789ced3ed9cbdc975dd9cde9
Author: Björn Baumbach <bb at sernet.de>
Date:   Wed Sep 19 12:03:21 2012 +0200

    s4: samba_backup: Fix typos.
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    (cherry picked from commit 9a6f648122c274cc93fd8edff8616c9ffffeb6aa)

commit 2c1723be32ef57ec498cd021b5c38d4afababc76
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Oct 3 10:26:55 2012 +0200

    provision: Use logger rather than print.
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Wed Oct  3 14:24:09 CEST 2012 on sn-devel-104
    (cherry picked from commit df23b17fa99409f680bbda3abcbb6d8eb7c498b0)

commit 54dfa75b3e241fdc00041fb65b110da7d2c192ce
Author: Matthieu Patou <mat at matws.net>
Date:   Tue Oct 2 14:30:25 2012 -0700

    s4-provision: do not skip setting the acls on sysvol
    
    Autobuild-User(master): Matthieu Patou <mat at samba.org>
    Autobuild-Date(master): Wed Oct  3 10:26:06 CEST 2012 on sn-devel-104
    (cherry picked from commit c1677e3b2fe42de309459fd8f8b3bea48bca5055)

commit 475c8d83551ba7c877c818207b64efa1e27155c0
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu Sep 27 09:34:36 2012 -0700

    sanba.upgradehelpers: Use standard functionality for getting temp dir. (cherry picked from commit 0883e174bfdec22a4ff373041afce396cfe7fd7b)

commit 041ad02e90b03c9e2fbea0f4f0fa8b49a94e9604
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu Sep 27 09:30:47 2012 -0700

    s4-python: Various formatting fixes.
    
    * Trailing whitespace
    * use of "==" where "is" should be used
    * double spaces
    (cherry picked from commit 2a797f29aa12f6847844af504026be52db659fbb)

commit d10f27dc0af82f4d8b788b3f2231ebe2de0d8617
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu Sep 27 09:30:26 2012 -0700

    samba.tests.source: Check for trailing whitespace in Python files. (cherry picked from commit 6986f7bdda56d693c642945485006f9660053758)

commit 46767ea883b56e091b6ffdf805f4ef8df681620c
Author: Ricky Nance <ricky.nance at weaubleau.k12.mo.us>
Date:   Wed Sep 26 17:24:40 2012 -0700

    samba-tool domain provision: DNS forwarder default
    
    Provision would break with an exception if there was no value given for the DNS forwarder, this simply sets a default to "none".
    
    Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Thu Sep 27 04:35:33 CEST 2012 on sn-devel-104
    (cherry picked from commit ee0012de1af1a3899856bcdb80033d1a82d5b174)

commit f476503086b2b72384c4e8d18117c4aa9904ecf0
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Sep 25 22:34:36 2012 +0200

    samba-tool: Hide 'samba-tool domain samba3upgrade'.
    
    This subcommand is provided for backwards compatibility only; new use of
    it should be discouraged. Its new name is 'samba-tool domain
    classicupgrade'.
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=9047
    (cherry picked from commit c5e83ee9a57d2d6648941e064f7c1156e52419a9)

commit 6dfb2d11d093abc38f76ca00811a0289d45b04c9
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Sep 26 10:02:43 2012 +1000

    samba_dnsupdate: Safely update/create names for Samba3 targets as well
    
    This avoids unlocked writes to the dns_hosts_file, and may fix some of our
    issues on the build farm where large numbers of tests fail due to failed name resolution.
    
    Andrew Bartlett
    
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
    (cherry picked from commit 3c4d0ce46995f82921f538757783fa7a678a7fc1)

commit 995cc1eee05b45c5e05db7733c192ca223d5665b
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Sep 26 09:48:48 2012 +1000

    samba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file consistent
    
    This may be the cause of some of the large failure modes on the build farm.
    
    Andrew Bartlett
    (cherry picked from commit 6d7c651f2f61b481c1e1ade1e2e0e756ccef2210)

commit 1b1a2b7fdc3c64284ad60c45aebcb4073a01a654
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Wed Sep 26 10:40:17 2012 +1000

    selftest: Remove invalid security=share and rename secshare to simpleserver
    
    This avoids the loadparm code failing due to the invalid smb.conf entry, and removes
    the very last hint of security=share!
    
    Andrew Bartlett
    (cherry picked from commit b320e7f93b5905558efa879992c125af66f0043c)

commit 8e1644b9e1415b57945c37eb3aa26cb71f4a5ef8
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Sep 25 20:49:22 2012 +0200

    s4-python: Override SIGINT handler in scripts only.
    
    Override the SIGINT handler in a few select cases only, rather than
    doing so in one of the samba Python modules. I've done this where it
    matters most; we can add this code to other scripts too if necessary.
    
    This means that importing the 'samba' module from a third party
    application does not have side-effects on the state of the signal
    handlers.
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=9068
    (cherry picked from commit fa332b71dc71d23f1475ed6c25a6376934ab652a)

commit 905898c858daa456ff1e7410d98ffe57f68e5488
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Sep 24 23:02:05 2012 +0200

    samba-tool domain provision: DNS forwarder is not a boolean.
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104
    (cherry picked from commit f44ad3671876802a42846597be901257633e8ca3)

commit 9bdf0ecacd3ecef64d26cd221cc9c2ef5c73c5ba
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Sep 24 08:26:12 2012 +0200

    samba-tool domain-provision: Avoid python2.5-isms. (cherry picked from commit 6641d76562db10e6289c5e819b1296d8f6df37bf)

commit 37528e91807d2a508cc8008bef8d22a9caef1e94
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Sep 24 08:21:27 2012 +0200

    samba-tool domain-provision: Fix docstring. (cherry picked from commit 61ce3e871a1fc1d16202d337d74c2e10f64b2c86)

commit 6b5c78f8100ee6a2853493672f14bd111d4762c2
Author: Daniele Dario <d.dario76 at gmail.com>
Date:   Thu Sep 20 15:05:13 2012 +0200

    Correct command help message
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Thu Sep 20 16:55:17 CEST 2012 on sn-devel-104
    (cherry picked from commit 48e6da64fd6cdd055008c7d3e42e8245435f422e)

commit 5b291e374156608754f0e7b79f661cc87bd04f4d
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Sep 16 14:18:51 2012 +0200

    s4-python: Formatting fixes, break lines.
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Sun Sep 16 15:58:04 CEST 2012 on sn-devel-104
    (cherry picked from commit c0d4f2462f75e0bc0545402b76984b4e6fcb13f1)

commit 2a1e9c811b774c56b3bc687c71596cd4e0fe7703
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Sep 16 14:18:39 2012 +0200

    samba.netcmd: Formatting fixes, break lines. (cherry picked from commit 0ff2ea56d97cd8df7abeea8e819d7ec0bfd5b886)

commit be235cedb95f8ff02278e188f6eec69241373a96
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Sep 16 00:34:14 2012 +0200

    samba.provision.common: Fix formatting. (cherry picked from commit ebcb6a744791478bfc4be0b94733ace540ab06bc)

commit 57b43299de0667d94ae3fca426d507eb5b94f654
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Sep 16 00:34:00 2012 +0200

    samba.provision.sambadns: Fix formatting. (cherry picked from commit cd7dcf4571b321f39eda07c489dd16833d8d4185)

commit ec4c6b72e80792991ca690b57898766d1153cf4b
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Sep 16 00:33:09 2012 +0200

    samba.provision.backend: Fix formatting. (cherry picked from commit 858135920d54662a06252deac4dbf9191a251018)

commit 1c3bd717426c2238037b76c26460b140e1b6a232
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Sep 16 00:32:52 2012 +0200

    samba.provision: Fix formatting, NameErrors. (cherry picked from commit fdb873a203695f0b208967a561424c0357374e5b)

commit d57b4b0dade7b405e170302febdafb5ab076079f
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Sep 25 01:22:56 2012 +0200

    replace: Avoid returning value in void setproctitle() replacement.
    
    Autobuild-User(master): Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date(master): Tue Sep 25 06:38:40 CEST 2012 on sn-devel-104
    (cherry picked from commit 6749cfb418cd8e21df626c7144f1f4db3b6770e7)
    
    The last 3 patches are part of a fix for bug #9121 - provide and use
    setproctitle replacement function for samba4 processes on linux.

commit 46b374cfd9dc73a22f8d8bad2188c9652eefd116
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Sep 24 09:42:15 2012 +0200

    Remove compatibility code for setproctitle() now moved to libreplace.

commit 415a0fc351d09e32b8a808ee0491968360e926a3
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Mon Sep 24 09:20:46 2012 +0200

    replace: Support setproctitle().
    
    This uses the setproctitle() from libc, libsetproctitle or libbsd.
    If none is available it provides a dummy implementation.
    (cherry picked from commit fd8d4ec34785e71de3f8458222d196d454d0e723)

-----------------------------------------------------------------------

Summary of changes:
 buildtools/wafsamba/nothreads.py                   |    6 +-
 buildtools/wafsamba/samba_abi.py                   |    2 +-
 buildtools/wafsamba/samba_autoconf.py              |   10 +-
 buildtools/wafsamba/samba_bundled.py               |    2 +-
 buildtools/wafsamba/samba_deps.py                  |    8 +-
 buildtools/wafsamba/samba_dist.py                  |    4 +-
 buildtools/wafsamba/samba_headers.py               |    1 -
 buildtools/wafsamba/samba_optimisation.py          |    2 +-
 buildtools/wafsamba/samba_patterns.py              |    2 +-
 buildtools/wafsamba/samba_utils.py                 |   10 +-
 buildtools/wafsamba/samba_version.py               |    2 +-
 buildtools/wafsamba/stale_files.py                 |    2 +-
 buildtools/wafsamba/wafsamba.py                    |    4 +-
 docs-xml/Makefile                                  |    6 +-
 docs-xml/Samba3-HOWTO/TOSHARG-BDC.xml              |  179 +-----
 docs-xml/Samba3-HOWTO/TOSHARG-Bugs.xml             |   11 +-
 docs-xml/Samba3-HOWTO/TOSHARG-CUPS-printing.xml    |   75 +--
 docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml        |  272 +-------
 docs-xml/Samba3-HOWTO/TOSHARG-Diagnosis.xml        |   40 +-
 docs-xml/Samba3-HOWTO/TOSHARG-DomainMember.xml     |  158 +----
 docs-xml/Samba3-HOWTO/TOSHARG-FastStart.xml        |   22 +-
 docs-xml/Samba3-HOWTO/TOSHARG-Install.xml          |   20 +-
 docs-xml/Samba3-HOWTO/TOSHARG-Other-Clients.xml    |  351 ---------
 docs-xml/Samba3-HOWTO/TOSHARG-Passdb.xml           |   52 +--
 docs-xml/Samba3-HOWTO/TOSHARG-Portability.xml      |  270 -------
 docs-xml/Samba3-HOWTO/TOSHARG-ServerType.xml       |  272 +-------
 docs-xml/Samba3-HOWTO/TOSHARG-VFS.xml              |    3 +-
 docs-xml/Samba3-HOWTO/index.xml                    |    4 -
 docs-xml/manpages/samba-tool.8.xml                 |  613 ++++++++++++++++
 docs-xml/manpages/vfs_streams_depot.8.xml          |   19 +
 docs-xml/scripts/find_missing_doc                  |   83 +++
 docs-xml/scripts/find_missing_doc.pl               |   62 --
 docs-xml/scripts/find_missing_manpages             |   71 ++
 docs-xml/scripts/find_missing_manpages.pl          |   39 -
 docs-xml/scripts/neatquotes.pl                     |   12 -
 docs-xml/smbdotconf/base/sharebackend.xml          |   18 +
 docs-xml/smbdotconf/locking/lockspincount.xml      |   12 -
 docs-xml/smbdotconf/misc/nishomedir.xml            |    2 +-
 docs-xml/smbdotconf/misc/rpcdaemon.xml             |    2 +-
 docs-xml/smbdotconf/misc/rpcserver.xml             |    2 +-
 docs-xml/smbdotconf/printing/addportcommand.xml    |    2 +-
 docs-xml/smbdotconf/protocol/cldapport.xml         |   13 +
 docs-xml/smbdotconf/protocol/clientmaxprotocol.xml |   78 ++
 docs-xml/smbdotconf/protocol/clientminprotocol.xml |   19 +
 .../smbdotconf/protocol/dcerpcendpointservers.xml  |   12 +
 docs-xml/smbdotconf/protocol/dgramport.xml         |   11 +
 docs-xml/smbdotconf/protocol/nbtport.xml           |   12 +
 docs-xml/smbdotconf/protocol/rpcbigendian.xml      |   16 +
 docs-xml/smbdotconf/protocol/servermaxprotocol.xml |    1 +
 docs-xml/smbdotconf/protocol/serverminprotocol.xml |    6 +-
 docs-xml/smbdotconf/protocol/unicode.xml           |   13 +
 docs-xml/smbdotconf/protocol/webport.xml           |   12 +
 docs-xml/smbdotconf/security/clientntlmv2auth.xml  |    2 +-
 docs-xml/smbdotconf/security/kpasswdport.xml       |   12 +
 docs-xml/smbdotconf/security/krb5port.xml          |   11 +
 docs-xml/smbdotconf/security/readonly.xml          |    1 +
 lib/replace/README                                 |    1 +
 lib/replace/replace.c                              |    6 +
 lib/replace/replace.h                              |    9 +
 lib/replace/wscript                                |    2 +
 packaging/RHEL/samba.spec.tmpl                     |    2 +-
 packaging/Solaris/README                           |   10 +-
 packaging/Solaris/makepkg.sh                       |   24 +-
 packaging/systemd/README                           |   14 +
 packaging/systemd/samba.conf.tmp                   |    1 +
 script/autobuild.py                                |   35 +-
 script/land-remote.py                              |  113 ---
 script/land.py                                     |  741 --------------------
 selftest/target/Samba3.pm                          |   24 +-
 source3/Makefile.in                                |    2 +-
 source3/modules/vfs_full_audit.c                   |   37 +-
 source3/selftest/tests.py                          |    6 +-
 source4/scripting/bin/samba-tool                   |    7 +
 source4/scripting/bin/samba_backup                 |    4 +-
 source4/scripting/bin/samba_dnsupdate              |   44 +-
 source4/scripting/bin/samba_kcc                    |  117 ++--
 source4/scripting/bin/samba_upgradeprovision       |   22 +-
 source4/scripting/bin/smbstatus                    |    8 +-
 source4/scripting/bin/subunitrun                   |    6 +
 source4/scripting/devel/crackname                  |    7 +-
 source4/scripting/python/pyglue.c                  |    7 -
 source4/scripting/python/samba/__init__.py         |    2 +-
 source4/scripting/python/samba/dbchecker.py        |    8 +-
 source4/scripting/python/samba/drs_utils.py        |    2 +-
 source4/scripting/python/samba/getopt.py           |    2 +-
 source4/scripting/python/samba/idmap.py            |    2 -
 source4/scripting/python/samba/join.py             |   77 ++-
 source4/scripting/python/samba/kcc_utils.py        |   46 +-
 source4/scripting/python/samba/ms_schema.py        |   34 +-
 source4/scripting/python/samba/netcmd/__init__.py  |   43 +-
 source4/scripting/python/samba/netcmd/dbcheck.py   |    2 +-
 .../scripting/python/samba/netcmd/delegation.py    |   32 +-
 source4/scripting/python/samba/netcmd/dns.py       |  151 ++--
 source4/scripting/python/samba/netcmd/domain.py    |  241 ++++---
 source4/scripting/python/samba/netcmd/drs.py       |   12 +-
 source4/scripting/python/samba/netcmd/dsacl.py     |    4 +-
 source4/scripting/python/samba/netcmd/fsmo.py      |   10 +-
 source4/scripting/python/samba/netcmd/gpo.py       |   30 +-
 source4/scripting/python/samba/netcmd/group.py     |   14 +-
 source4/scripting/python/samba/netcmd/ldapcmp.py   |    9 +-
 source4/scripting/python/samba/netcmd/main.py      |    6 +
 source4/scripting/python/samba/netcmd/ntacl.py     |   28 +-
 source4/scripting/python/samba/netcmd/rodc.py      |    4 +-
 source4/scripting/python/samba/netcmd/sites.py     |   11 +-
 source4/scripting/python/samba/netcmd/spn.py       |   47 +-
 source4/scripting/python/samba/netcmd/testparm.py  |   20 +-
 source4/scripting/python/samba/netcmd/time.py      |    5 +-
 source4/scripting/python/samba/netcmd/user.py      |   41 +-
 source4/scripting/python/samba/netcmd/vampire.py   |    2 +-
 source4/scripting/python/samba/ntacls.py           |   55 ++-
 .../scripting/python/samba/provision/__init__.py   |  174 +++---
 .../scripting/python/samba/provision/backend.py    |    3 +-
 source4/scripting/python/samba/provision/common.py |    2 -
 .../scripting/python/samba/provision/sambadns.py   |  183 ++++--
 source4/scripting/python/samba/samba3/__init__.py  |    5 +
 source4/scripting/python/samba/samdb.py            |    1 -
 source4/scripting/python/samba/schema.py           |    8 +-
 source4/scripting/python/samba/sd_utils.py         |    9 +-
 source4/scripting/python/samba/tests/auth.py       |    4 +-
 source4/scripting/python/samba/tests/core.py       |    4 +-
 .../scripting/python/samba/tests/credentials.py    |    6 +-
 .../scripting/python/samba/tests/dcerpc/bare.py    |   12 +-
 .../python/samba/tests/dcerpc/registry.py          |    2 +-
 .../scripting/python/samba/tests/dcerpc/unix.py    |    2 +-
 source4/scripting/python/samba/tests/dns.py        |    9 +-
 source4/scripting/python/samba/tests/gensec.py     |   10 +-
 source4/scripting/python/samba/tests/hostconfig.py |    4 +-
 source4/scripting/python/samba/tests/messaging.py  |    2 +-
 source4/scripting/python/samba/tests/posixacl.py   |    6 +-
 source4/scripting/python/samba/tests/provision.py  |   14 +-
 source4/scripting/python/samba/tests/registry.py   |    2 +-
 source4/scripting/python/samba/tests/samba3.py     |    5 +-
 source4/scripting/python/samba/tests/samba3sam.py  |  132 ++--
 .../python/samba/tests/samba_tool/ntacl.py         |    8 +-
 source4/scripting/python/samba/tests/samdb.py      |   10 +-
 source4/scripting/python/samba/tests/source.py     |   17 +-
 .../python/samba/tests/upgradeprovision.py         |    2 +-
 source4/scripting/python/samba/tests/xattr.py      |    2 +-
 source4/scripting/python/samba/upgrade.py          |   23 +-
 source4/scripting/python/samba/upgradehelpers.py   |   13 +-
 source4/smbd/process_onefork.c                     |   13 -
 source4/smbd/process_prefork.c                     |   13 -
 source4/smbd/process_standard.c                    |   13 -
 143 files changed, 2271 insertions(+), 3577 deletions(-)
 delete mode 100644 docs-xml/Samba3-HOWTO/TOSHARG-Other-Clients.xml
 delete mode 100644 docs-xml/Samba3-HOWTO/TOSHARG-Portability.xml
 create mode 100644 docs-xml/manpages/samba-tool.8.xml
 create mode 100755 docs-xml/scripts/find_missing_doc
 delete mode 100755 docs-xml/scripts/find_missing_doc.pl
 create mode 100755 docs-xml/scripts/find_missing_manpages
 delete mode 100755 docs-xml/scripts/find_missing_manpages.pl
 delete mode 100755 docs-xml/scripts/neatquotes.pl
 create mode 100644 docs-xml/smbdotconf/base/sharebackend.xml
 delete mode 100644 docs-xml/smbdotconf/locking/lockspincount.xml
 create mode 100644 docs-xml/smbdotconf/protocol/cldapport.xml
 create mode 100644 docs-xml/smbdotconf/protocol/clientmaxprotocol.xml
 create mode 100644 docs-xml/smbdotconf/protocol/clientminprotocol.xml
 create mode 100644 docs-xml/smbdotconf/protocol/dcerpcendpointservers.xml
 create mode 100644 docs-xml/smbdotconf/protocol/dgramport.xml
 create mode 100644 docs-xml/smbdotconf/protocol/nbtport.xml
 create mode 100644 docs-xml/smbdotconf/protocol/rpcbigendian.xml
 create mode 100644 docs-xml/smbdotconf/protocol/unicode.xml
 create mode 100644 docs-xml/smbdotconf/protocol/webport.xml
 create mode 100644 docs-xml/smbdotconf/security/kpasswdport.xml
 create mode 100644 docs-xml/smbdotconf/security/krb5port.xml
 create mode 100644 packaging/systemd/README
 create mode 100644 packaging/systemd/samba.conf.tmp
 delete mode 100755 script/land-remote.py
 delete mode 100755 script/land.py


Changeset truncated at 500 lines:

diff --git a/buildtools/wafsamba/nothreads.py b/buildtools/wafsamba/nothreads.py
index 90babf4..075dcd3 100644
--- a/buildtools/wafsamba/nothreads.py
+++ b/buildtools/wafsamba/nothreads.py
@@ -132,8 +132,10 @@ class Parallel(object):
                 self.frozen = []
             elif not self.count:
                 (jobs, tmp) = self.manager.get_next_set()
-                if jobs != None: self.maxjobs = jobs
-                if tmp: self.outstanding += tmp
+                if jobs is not None:
+                    self.maxjobs = jobs
+                if tmp:
+                    self.outstanding += tmp
                 break
 
     def get_out(self):
diff --git a/buildtools/wafsamba/samba_abi.py b/buildtools/wafsamba/samba_abi.py
index f5cac8a..ed977ba 100644
--- a/buildtools/wafsamba/samba_abi.py
+++ b/buildtools/wafsamba/samba_abi.py
@@ -154,7 +154,7 @@ def abi_process_file(fname, version, symmap):
 
 def abi_write_vscript(vscript, libname, current_version, versions, symmap, abi_match):
     '''write a vscript file for a library in --version-script format
-    
+
     :param vscript: Path to the vscript file
     :param libname: Name of the library, uppercased
     :param current_version: Current version
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 50039fc..5d3cc5a 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -62,9 +62,9 @@ def COMPOUND_END(conf, result):
     conf.check_message_1 = conf.saved_check_message_1
     conf.check_message_2 = conf.saved_check_message_2
     p = conf.check_message_2
-    if result == True:
+    if result:
         p('ok ')
-    elif result == False:
+    elif not result:
         p('not found', 'YELLOW')
     else:
         p(result)
@@ -241,7 +241,7 @@ def CHECK_FUNC(conf, f, link=True, lib=None, headers=None):
 
     conf.COMPOUND_START('Checking for %s' % f)
 
-    if link is None or link == True:
+    if link is None or link:
         ret = CHECK_CODE(conf,
                          # this is based on the autoconf strategy
                          '''
@@ -284,7 +284,7 @@ def CHECK_FUNC(conf, f, link=True, lib=None, headers=None):
                              headers=headers,
                              msg='Checking for macro %s' % f)
 
-    if not ret and (link is None or link == False):
+    if not ret and (link is None or not link):
         ret = CHECK_VARIABLE(conf, f,
                              define=define,
                              headers=headers,
@@ -470,7 +470,7 @@ def CONFIG_SET(conf, option):
     if option not in conf.env:
         return False
     v = conf.env[option]
-    if v == None:
+    if v is None:
         return False
     if v == []:
         return False
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py
index 1a5d565..b8a4101 100644
--- a/buildtools/wafsamba/samba_bundled.py
+++ b/buildtools/wafsamba/samba_bundled.py
@@ -78,7 +78,7 @@ def LIB_MAY_BE_BUNDLED(conf, libname):
 
 @conf
 def LIB_MUST_BE_BUNDLED(conf, libname):
-    return ('ALL' in conf.env.BUNDLED_LIBS or 
+    return ('ALL' in conf.env.BUNDLED_LIBS or
             libname in conf.env.BUNDLED_LIBS)
 
 @conf
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index f073e41..3220f35 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -136,7 +136,7 @@ def build_includes(self):
     includes = []
 
     # maybe add local includes
-    if getattr(self, 'local_include', True) == True and getattr(self, 'local_include_first', True):
+    if getattr(self, 'local_include', True) and getattr(self, 'local_include_first', True):
         includes.append('.')
 
     includes.extend(self.samba_includes_extended)
@@ -153,7 +153,7 @@ def build_includes(self):
         t = bld.name_to_obj(d, bld.env)
         bld.ASSERT(t is not None, "Unable to find dependency %s for %s" % (d, self.sname))
         inclist = getattr(t, 'samba_includes_extended', [])[:]
-        if getattr(t, 'local_include', True) == True:
+        if getattr(t, 'local_include', True):
             inclist.append('.')
         if inclist == []:
             continue
@@ -169,7 +169,7 @@ def build_includes(self):
         relpath = os_path_relpath(inc, mypath)
         includes.append(relpath)
 
-    if getattr(self, 'local_include', True) == True and not getattr(self, 'local_include_first', True):
+    if getattr(self, 'local_include', True) and not getattr(self, 'local_include_first', True):
         includes.append('.')
 
     # now transform the includes list to be relative to the top directory
@@ -306,7 +306,7 @@ def check_orphaned_targets(bld, tgt_list):
     debug('deps: checking for orphaned targets')
 
     for t in tgt_list:
-        if getattr(t, 'samba_used', False) == True:
+        if getattr(t, 'samba_used', False):
             continue
         type = target_dict[t.sname]
         if not type in ['BINARY', 'LIBRARY', 'MODULE', 'ET', 'PYTHON']:
diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py
index 82492e1..fae2759 100644
--- a/buildtools/wafsamba/samba_dist.py
+++ b/buildtools/wafsamba/samba_dist.py
@@ -98,10 +98,10 @@ def vcs_dir_contents(path):
     return Utils.cmd_output(ls_files_cmd, cwd=cwd, env=env).split()
 
 
-def dist(appname='',version=''):
+def dist(appname='', version=''):
 
     def add_files_to_tarball(tar, srcdir, srcsubdir, dstdir, dstsubdir, blacklist, files):
-        if blacklist == None:
+        if blacklist is None:
             blacklist = []
         for f in files:
             abspath = os.path.join(srcdir, f)
diff --git a/buildtools/wafsamba/samba_headers.py b/buildtools/wafsamba/samba_headers.py
index cca6420..50ccad7 100644
--- a/buildtools/wafsamba/samba_headers.py
+++ b/buildtools/wafsamba/samba_headers.py
@@ -119,7 +119,6 @@ def public_headers_simple(bld, public_headers, header_path=None, public_headers_
             h_name =  h
             inst_name = os.path.basename(h)
         bld.INSTALL_FILES('${INCLUDEDIR}', h_name, destname=inst_name)
-        
 
 
 def PUBLIC_HEADERS(bld, public_headers, header_path=None, public_headers_install=True):
diff --git a/buildtools/wafsamba/samba_optimisation.py b/buildtools/wafsamba/samba_optimisation.py
index 2436e9b..f0f430d 100644
--- a/buildtools/wafsamba/samba_optimisation.py
+++ b/buildtools/wafsamba/samba_optimisation.py
@@ -31,7 +31,7 @@ def apply_incpaths(self):
 
     for path in self.to_list(self.includes):
         if not path in lst:
-            if preproc.go_absolute or path[0] != '/': #os.path.isabs(path):
+            if preproc.go_absolute or path[0] != '/':  # os.path.isabs(path):
                 lst.append(path)
             else:
                 self.env.prepend_value('CPPPATH', path)
diff --git a/buildtools/wafsamba/samba_patterns.py b/buildtools/wafsamba/samba_patterns.py
index dc988c5..615d918 100644
--- a/buildtools/wafsamba/samba_patterns.py
+++ b/buildtools/wafsamba/samba_patterns.py
@@ -21,7 +21,7 @@ def write_version_header(task):
 
 def SAMBA_MKVERSION(bld, target):
     '''generate the version.h header for Samba'''
-    t = bld.SAMBA_GENERATOR('VERSION', 
+    t = bld.SAMBA_GENERATOR('VERSION',
                             rule=write_version_header,
                             source= 'VERSION',
                             target=target,
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index c252663..c1869df 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -256,7 +256,7 @@ def ENFORCE_GROUP_ORDERING(bld):
         @feature('*')
         @before('exec_rule', 'apply_core', 'collect')
         def force_previous_groups(self):
-            if getattr(self.bld, 'enforced_group_ordering', False) == True:
+            if getattr(self.bld, 'enforced_group_ordering', False):
                 return
             self.bld.enforced_group_ordering = True
 
@@ -274,7 +274,7 @@ def ENFORCE_GROUP_ORDERING(bld):
                         debug('group: Forcing up to group %s for target %s',
                               group_name(g), self.name or self.target)
                         break
-                if stop != None:
+                if stop is not None:
                     break
             if stop is None:
                 return
@@ -502,15 +502,15 @@ def CHECK_MAKEFLAGS(bld):
                 if v == 'j':
                     jobs_set = True
                 elif v == 'k':
-                    Options.options.keep = True                
+                    Options.options.keep = True
         elif opt == '-j':
             jobs_set = True
         elif opt == '-k':
-            Options.options.keep = True                
+            Options.options.keep = True
     if not jobs_set:
         # default to one job
         Options.options.jobs = 1
-            
+
 Build.BuildContext.CHECK_MAKEFLAGS = CHECK_MAKEFLAGS
 
 option_groups = {}
diff --git a/buildtools/wafsamba/samba_version.py b/buildtools/wafsamba/samba_version.py
index e82fd47..67ff232 100644
--- a/buildtools/wafsamba/samba_version.py
+++ b/buildtools/wafsamba/samba_version.py
@@ -132,7 +132,7 @@ class SambaVersion(object):
     def __init__(self, version_dict, path, env=None, is_install=True):
         '''Determine the version number of samba
 
-See VERSION for the format.  Entries on that file are 
+See VERSION for the format.  Entries on that file are
 also accepted as dictionary entries here
         '''
 
diff --git a/buildtools/wafsamba/stale_files.py b/buildtools/wafsamba/stale_files.py
index 5a91367..2dd08e1 100644
--- a/buildtools/wafsamba/stale_files.py
+++ b/buildtools/wafsamba/stale_files.py
@@ -47,7 +47,7 @@ def replace_refill_task_list(self):
     # paranoia
     if bin_base[-4:] != '/bin':
         raise Utils.WafError("Invalid bin base: %s" % bin_base)
-    
+
     # obtain the expected list of files
     expected = []
     for i in range(len(bld.task_manager.groups)):
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 50bd4fa..59d3a2c 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -285,7 +285,7 @@ def SAMBA_LIBRARY(bld, libname, source,
     if pc_files is not None and not private_library:
         bld.PKG_CONFIG_FILES(pc_files, vnum=vnum)
 
-    if (manpages is not None and 'XSLTPROC_MANPAGES' in bld.env and 
+    if (manpages is not None and 'XSLTPROC_MANPAGES' in bld.env and
         bld.env['XSLTPROC_MANPAGES']):
         bld.MANPAGES(manpages)
 
@@ -670,7 +670,7 @@ def SAMBA_SCRIPT(bld, name, pattern, installdir, installname=None):
     bld.SET_BUILD_GROUP('build_source')
     for s in TO_LIST(source):
         iname = s
-        if installname != None:
+        if installname is not None:
             iname = installname
         target = os.path.join(installdir, iname)
         tgtdir = os.path.dirname(os.path.join(bld.srcnode.abspath(bld.env), '..', target))
diff --git a/docs-xml/Makefile b/docs-xml/Makefile
index 0feab24..0b4e880 100644
--- a/docs-xml/Makefile
+++ b/docs-xml/Makefile
@@ -260,9 +260,9 @@ $(PEARSONDIR)/%.report.html: $(PEARSONDIR)/%.xml
 	cd $(<D) && $(XMLLINT) --xinclude --noent --postvalid --noout $(<F)
 
 # Find undocumented parameters
-undocumented: $(SMBDOTCONFDOC)/parameters.all.xml scripts/find_missing_doc.pl scripts/find_missing_manpages.pl
-	$(PERL) scripts/find_missing_doc.pl $(SRCDIR)
-	$(PERL) scripts/find_missing_manpages.pl $(SRCDIR)/source3
+undocumented: $(SMBDOTCONFDOC)/parameters.all.xml scripts/find_missing_doc scripts/find_missing_manpages
+	$(PERL) scripts/find_missing_doc $(SRCDIR)
+	$(PERL) scripts/find_missing_manpages $(SRCDIR)/source3
 
 samples: $(DOCBOOKDIR)/Samba3-HOWTO.xml xslt/extract-examples.xsl scripts/indent-smb.conf.pl
 	@mkdir -p examples
diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-BDC.xml b/docs-xml/Samba3-HOWTO/TOSHARG-BDC.xml
index 5aabb8b..9b69368 100644
--- a/docs-xml/Samba3-HOWTO/TOSHARG-BDC.xml
+++ b/docs-xml/Samba3-HOWTO/TOSHARG-BDC.xml
@@ -47,96 +47,12 @@ you will have stability and operational problems.
 <indexterm><primary>replication</primary><secondary>SAM</secondary></indexterm>
 <indexterm><primary>non-LDAP</primary><secondary>backend</secondary></indexterm>
 <indexterm><primary>propagate</primary></indexterm>
-While it is possible to run a Samba-3 BDC with a non-LDAP backend, that backend must allow some form of
+It is not possible to run a Samba-3 BDC with a non-LDAP backend, as that backend must allow some form of
 "two-way" propagation of changes from the BDC to the master.  At this time only LDAP delivers the capability
 to propagate identity database changes from the BDC to the PDC. The BDC can use a slave LDAP server, while it
 is preferable for the PDC to use as its primary an LDAP master server.
 </para>
 
-<para>
-<indexterm><primary>non-LDAP</primary><secondary>backend</secondary></indexterm>
-<indexterm><primary>SAM backend</primary><secondary>non-LDAP</secondary></indexterm>
-<indexterm><primary>domain</primary><secondary>member</secondary><tertiary>server</tertiary></indexterm>
-<indexterm><primary>BDC</primary></indexterm>
-<indexterm><primary>PDC</primary></indexterm>
-<indexterm><primary>trust account password</primary></indexterm>
-<indexterm><primary>domain trust</primary></indexterm>
-The use of a non-LDAP backend SAM database is particularly problematic because domain member
-servers and workstations periodically change the Machine Trust Account password. The new
-password is then stored only locally. This means that in the absence of a centrally stored
-accounts database (such as that provided with an LDAP-based solution) if Samba-3 is running
-as a BDC, the BDC instance of the domain member trust account password will not reach the
-PDC (master) copy of the SAM. If the PDC SAM is then replicated to BDCs, this results in 
-overwriting the SAM that contains the updated (changed) trust account password with resulting
-breakage of the domain trust.
-</para>
-
-<para>
-<indexterm><primary>net</primary><secondary>rpc</secondary></indexterm>
-<indexterm><primary>SAM backend</primary><secondary>ldapsam</secondary></indexterm>
-<indexterm><primary>SAM backend</primary><secondary>tdbsam</secondary></indexterm>
-<indexterm><primary>replication</primary><secondary>SAM</secondary></indexterm>
-Considering the number of comments and questions raised concerning how to configure a BDC,
-let's consider each possible option and look at the pros and cons for each possible solution.
-<link linkend="pdc-bdc-table">The Domain Backend Account Distribution Options table below</link> lists 
-possible design configurations for a PDC/BDC infrastructure.
-</para>
-
-<table frame="all" id="pdc-bdc-table"><title>Domain Backend Account Distribution Options</title>
-<tgroup cols="3">
-        <colspec align="center" colwidth="1*"/>
-        <colspec align="center" colwidth="1*"/>
-        <colspec align="left" colwidth="3*"/>
-
-        <thead>
-        <row><entry>PDC Backend</entry><entry>BDC Backend</entry><entry>Notes/Discussion</entry></row>
-        </thead>
-        <tbody>
-        <row>
-        <entry><para>Master LDAP Server</para></entry>
-        <entry><para>Slave LDAP Server</para></entry>
-        <entry><para>The optimal solution that provides high integrity. The SAM will be
-		replicated to a common master LDAP server.</para></entry>
-        </row>
-        <row>
-        <entry><para>Single Central LDAP Server</para></entry>
-        <entry><para>Single Central LDAP Server</para></entry>
-	<entry><para>
-	A workable solution without failover ability. This is a usable solution, but not optimal. 
-	</para></entry>
-        </row>
-        <row>
-        <entry><para>tdbsam</para></entry>
-        <entry><para>tdbsam + <command>net rpc vampire</command></para></entry>
-        <entry><para>
-	Does not work with Samba-3.0; Samba does not implement the
-        server-side protocols required.
-	</para></entry>
-        </row>
-        <row>
-        <entry><para>tdbsam</para></entry>
-        <entry><para>tdbsam + <command>rsync</command></para></entry>
-        <entry><para>
-	Do not use this configuration.
-	Does not work because the TDB files are live and data may not
-        have been flushed to disk.  Furthermore, this will cause
-        domain trust breakdown.
-	</para></entry>
-        </row>
-        <row>
-        <entry><para>smbpasswd file</para></entry>
-        <entry><para>smbpasswd file</para></entry>
-        <entry><para>
-	Do not use this configuration.
-	Not an elegant solution due to the delays in synchronization
-        and also suffers
-        from the issue of domain trust breakdown.
-	</para></entry>
-        </row>
-        </tbody>
-</tgroup>
-</table>
-
 </sect1>
 
 <sect1>
@@ -453,9 +369,12 @@ Servers in &smb.conf; example</link>.
 <indexterm><primary>domain controller</primary></indexterm>
 As of the release of MS Windows 2000 and Active Directory, this information is now stored
 in a directory that can be replicated and for which partial or full administrative control
-can be delegated. Samba-3 is not able to be a domain controller within an Active Directory
-tree, and it cannot be an Active Directory server. This means that Samba-3 also cannot
-act as a BDC to an Active Directory domain controller.
+can be delegated. Samba-4.0 is able to be a domain controller within an Active Directory
+tree, and it can be an Active Directory server.  The details for how
+this can be done are documented in the <ulink
+url="https://wiki.samba.org/index.php/Samba4/HOWTO">Samba 4.0 as an
+AD DC HOWTO</ulink>
+
 </para>
 
 </sect2>
@@ -554,35 +473,6 @@ The creation of a BDC requires some steps to prepare the Samba server before
 
 <itemizedlist>
 	<listitem><para>
-	<indexterm><primary>SID</primary></indexterm>
-	<indexterm><primary>PDC</primary></indexterm>
-	<indexterm><primary>BDC</primary></indexterm>
-	<indexterm><primary>private/secrets.tdb</primary></indexterm>
-	<indexterm><primary>private/MACHINE.SID</primary></indexterm>
-	<indexterm><primary>domain SID</primary></indexterm>
-	The domain SID has to be the same on the PDC and the BDC. In Samba versions pre-2.2.5, the domain SID was
-	stored in the file <filename>private/MACHINE.SID</filename>.  For all versions of Samba released since 2.2.5
-	the domain SID is stored in the file <filename>private/secrets.tdb</filename>. This file is unique to each
-	server and cannot be copied from a PDC to a BDC; the BDC will generate a new SID at startup. It will overwrite
-	the PDC domain SID with the newly created BDC SID.  There is a procedure that will allow the BDC to acquire the
-	domain SID. This is described here.
-	</para>
-
-	<para>
-	<indexterm><primary>domain SID</primary></indexterm>
-	<indexterm><primary>PDC</primary></indexterm>
-	<indexterm><primary>BDC</primary></indexterm>
-	<indexterm><primary>secrets.tdb</primary></indexterm>
-	<indexterm><primary>net</primary><secondary>rpc</secondary><tertiary>getsid</tertiary></indexterm>
-	To retrieve the domain SID from the PDC or an existing BDC and store it in the
-	<filename>secrets.tdb</filename>, execute:
-	</para>
-<screen>
-&rootprompt;<userinput>net rpc getsid</userinput>
-</screen>
-	</listitem>
-
-	<listitem><para>
 	<indexterm><primary>secrets.tdb</primary></indexterm>
 	<indexterm><primary>smbpasswd</primary></indexterm>
 	<indexterm><primary>LDAP administration password</primary></indexterm>
@@ -623,9 +513,7 @@ The creation of a BDC requires some steps to prepare the Samba server before
 	<indexterm><primary>ssh</primary></indexterm>
 	<indexterm><primary>LDAP</primary></indexterm>
 	The Samba password database must be replicated from the PDC to the BDC.
-	Although it is possible to synchronize the <filename>smbpasswd</filename>
-	file with <command>rsync</command> and <command>ssh</command>, this method
-	is broken and flawed, and is therefore not recommended. A better solution
+        The solution
 	is to set up slave LDAP servers for each BDC and a master LDAP server for the PDC.
 	The use of rsync is inherently flawed by the fact that the data will be replicated
 	at timed intervals. There is no guarantee that the BDC will be operating at all
@@ -804,7 +692,10 @@ No. The native NT4 SAM replication protocols have not yet been fully implemented
 <indexterm><primary>BDC</primary></indexterm>
 <indexterm><primary>PDC</primary></indexterm>
 <indexterm><primary>logon requests</primary></indexterm>
-Can I get the benefits of a BDC with Samba?  Yes, but only to a Samba PDC.The
+Can I get the benefits of a BDC with Samba?  Yes, but only to a Samba
+PDC or as a <ulink
+url="https://wiki.samba.org/index.php/Samba4/HOWTO">Samba 4.0 Active
+Directory domain controller.</ulink>  The
 main reason for implementing a BDC is availability. If the PDC is a Samba
 machine, a second Samba machine can be set up to service logon requests whenever
 the PDC is down.
@@ -812,51 +703,5 @@ the PDC is down.
 
 </sect2>
 
-<sect2>
-<title>How Do I Replicate the smbpasswd File?</title>
-
-<para>
-<indexterm><primary>replication</primary><secondary>SAM</secondary></indexterm>
-<indexterm><primary>smbpasswd</primary></indexterm>
-<indexterm><primary>SAM</primary></indexterm>
-Replication of the smbpasswd file is sensitive. It has to be done whenever changes
-to the SAM are made. Every user's password change is done in the smbpasswd file and
-has to be replicated to the BDC. So replicating the smbpasswd file very often is necessary.
-</para>
-
-<para>
-<indexterm><primary>plaintext password</primary></indexterm>
-<indexterm><primary>ssh</primary></indexterm>
-<indexterm><primary>rsync</primary></indexterm>
-As the smbpasswd file contains plaintext password equivalents, it must not be
-sent unencrypted over the wire. The best way to set up smbpasswd replication from
-the PDC to the BDC is to use the utility rsync. rsync can use ssh as a transport.
-<command>ssh</command> itself can be set up to accept <emphasis>only</emphasis>
-<command>rsync</command> transfer without requiring the user to type a password.
-</para>
-
-<para>
-<indexterm><primary>machine trust accounts</primary></indexterm>
-<indexterm><primary>LDAP</primary></indexterm>
-As said a few times before, use of this method is broken and flawed. Machine trust 
-accounts will go out of sync, resulting in a broken domain. This method is
-<emphasis>not</emphasis> recommended. Try using LDAP instead.
-</para>
-
-</sect2>


-- 
Samba Shared Repository


More information about the samba-cvs mailing list