samba.git
11 years agodocs: Add very basic samba manpage.
Karolin Seeger [Wed, 10 Oct 2012 08:43:02 +0000 (10:43 +0200)]
docs: Add very basic samba manpage.

Please feel free to extend.

Karolin

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Oct 11 11:40:37 CEST 2012 on sn-devel-104
(cherry picked from commit a11595bd2e6895f734e621c69c1ad0ee3e1a685a)

Addresses bug #8802 - Create missing manpages for new binaries.

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Fri Oct 12 11:12:32 CEST 2012 on sn-devel-104

11 years agos3-printing: Increase debug level for info that the db is empty.
Andreas Schneider [Thu, 20 Sep 2012 08:20:31 +0000 (10:20 +0200)]
s3-printing: Increase debug level for info that the db is empty.

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Sep 20 12:01:48 CEST 2012 on sn-devel-104
(cherry picked from commit d52d7efba31e3f1e63ed365900aba0a8cb960930)

See bug #9112 - smbd.log is flooded by 'printer_list_get_printer: Failed to
fetch record!' for details.

11 years agopackaging: Add support for reloading systemd services.
Andreas Schneider [Wed, 10 Oct 2012 09:30:15 +0000 (11:30 +0200)]
packaging: Add support for reloading systemd services.

Signed-off-by: Andreas Schneider <asn@samba.org>
Fix bug #9280 - Add support for reloading the daemons using systemctl reload.

11 years agos4:torture/smb2: improve the smb2.create.blob test
Stefan Metzmacher [Wed, 19 Sep 2012 19:18:46 +0000 (21:18 +0200)]
s4:torture/smb2: improve the smb2.create.blob test

metze
(cherry picked from commit e6c600aa2c751e694917322378417816c3e58eb6)

(See bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash for
details.)

11 years agoautoconf: fix --with(out)-sendfile-support option handling
Björn Jacke [Thu, 13 Sep 2012 22:02:22 +0000 (00:02 +0200)]
autoconf: fix --with(out)-sendfile-support option handling

this fixes bug #8344
(cherry picked from commit 70bc93650f86a76c6f1617139cb71539c76abf42)

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Wed Oct 10 12:36:03 CEST 2012 on sn-devel-104

11 years agoRemove obsolete land-remote.py and land.py scripts.
Jelmer Vernooij [Tue, 25 Sep 2012 22:47:02 +0000 (00:47 +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@samba.org>
Autobuild-Date(v4-0-test): Wed Oct 10 10:41:42 CEST 2012 on sn-devel-104

11 years agoscript/autobuild.py: set the default for --log-base to the current gitroot
Stefan Metzmacher [Mon, 24 Sep 2012 09:53:22 +0000 (11:53 +0200)]
script/autobuild.py: set the default for --log-base to the current gitroot

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Sep 24 15:27:16 CEST 2012 on sn-devel-104

11 years agoscript/autobuild.py: remove --rebase-master and --push-master options
Stefan Metzmacher [Sat, 22 Sep 2012 22:50:48 +0000 (00:50 +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@samba.org>
Autobuild-Date(master): Sun Sep 23 02:53:56 CEST 2012 on sn-devel-104

11 years agopackaging: Add config for systemd-tmpfiles.
Andreas Schneider [Tue, 9 Oct 2012 12:25:29 +0000 (14:25 +0200)]
packaging: Add config for systemd-tmpfiles.

Autobuild-User(master): Andreas Schneider <asn@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.

11 years agoRHEL packaging: Try to fix makerpms.sh on RHEL.
Karolin Seeger [Tue, 18 Sep 2012 09:08:17 +0000 (11:08 +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@samba.org>
Autobuild-Date(master): Tue Sep 18 12:51:01 CEST 2012 on sn-devel-104

11 years agopackaging: apply some solaris packaging fixes
Björn Jacke [Thu, 13 Sep 2012 22:25:38 +0000 (00:25 +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@sernet.de>
Autobuild-Date(master): Fri Sep 14 02:42:53 CEST 2012 on sn-devel-104

11 years agodocs: Add '-V' to the list of options.
Karolin Seeger [Tue, 9 Oct 2012 09:56:19 +0000 (11:56 +0200)]
docs: Add '-V' to the list of options.

Karolin

Autobuild-User(master): Karolin Seeger <kseeger@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.

11 years agodocs: Add man 8 samba-tool.
Karolin Seeger [Mon, 8 Oct 2012 09:57:40 +0000 (11:57 +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

11 years agosmb.conf(5): Add basic documentation for 'dcerpc endpoint servers'.
Jelmer Vernooij [Thu, 27 Sep 2012 01:01:35 +0000 (18:01 -0700)]
smb.conf(5): Add basic documentation for 'dcerpc endpoint servers'.

11 years agosmb.conf(5): List 'protocol' as alias for 'server max protocol'.
Jelmer Vernooij [Wed, 26 Sep 2012 23:06:14 +0000 (16:06 -0700)]
smb.conf(5): List 'protocol' as alias for 'server max protocol'.

11 years agosmb.conf(5): Add documentation for 'client max protocol'.
Jelmer Vernooij [Wed, 26 Sep 2012 23:11:05 +0000 (16:11 -0700)]
smb.conf(5): Add documentation for 'client max protocol'.

11 years agosmb.conf(5): Add basic documentation for 'client min protocol'.
Jelmer Vernooij [Wed, 26 Sep 2012 23:12:16 +0000 (16:12 -0700)]
smb.conf(5): Add basic documentation for 'client min protocol'.

11 years agosmb.conf(5): Document 'share backend' parameter.
Jelmer Vernooij [Wed, 26 Sep 2012 22:44:46 +0000 (15:44 -0700)]
smb.conf(5): Document 'share backend' parameter.

11 years agosmb.conf(5): Extend 'server min protocol' description.
Jelmer Vernooij [Wed, 26 Sep 2012 23:02:40 +0000 (16:02 -0700)]
smb.conf(5): Extend 'server min protocol' description.

Conflicts:
docs-xml/smbdotconf/protocol/serverminprotocol.xml

11 years agosmb.conf(5): Consistent spelling of parameter names.
Jelmer Vernooij [Wed, 26 Sep 2012 20:20:42 +0000 (13:20 -0700)]
smb.conf(5): Consistent spelling of parameter names.

This includes spacing and casing.

Conflicts:
source4/scripting/python/samba/tests/docs.py

11 years agosmb.conf(5): Add basic documentation for 'rpc bigendian'.
Jelmer Vernooij [Wed, 26 Sep 2012 20:07:54 +0000 (13:07 -0700)]
smb.conf(5): Add basic documentation for 'rpc bigendian'.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Wed Sep 26 23:51:34 CEST 2012 on sn-devel-104

11 years agosmb.conf(5): Add basic documentation for 'kpasswd port'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:59:32 +0000 (12:59 -0700)]
smb.conf(5): Add basic documentation for 'kpasswd port'.

11 years agosmb.conf(5): Add basic documentation for 'dgram port'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:58:02 +0000 (12:58 -0700)]
smb.conf(5): Add basic documentation for 'dgram port'.

11 years agosmb.conf(5): Add basic documentation for 'unicode'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:55:15 +0000 (12:55 -0700)]
smb.conf(5): Add basic documentation for 'unicode'.

11 years agosmb.conf(5): Add basic documentation for 'web port'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:51:41 +0000 (12:51 -0700)]
smb.conf(5): Add basic documentation for 'web port'.

11 years agosmb.conf(5): Add basic documentation for 'nbt port'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:50:34 +0000 (12:50 -0700)]
smb.conf(5): Add basic documentation for 'nbt port'.

11 years agosmb.conf(5): Add basic documentation for 'krb5 port'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:46:37 +0000 (12:46 -0700)]
smb.conf(5): Add basic documentation for 'krb5 port'.

11 years agosmb.conf(5): 'write ok' is a reverse synonym for 'read only'.
Jelmer Vernooij [Wed, 26 Sep 2012 19:41:20 +0000 (12:41 -0700)]
smb.conf(5): 'write ok' is a reverse synonym for 'read only'.

11 years agosmb.conf(5): Distinguish parametric options.
Jelmer Vernooij [Wed, 26 Sep 2012 16:36:28 +0000 (18:36 +0200)]
smb.conf(5): Distinguish parametric options.

11 years agofind_missing_doc: Convert to python.
Jelmer Vernooij [Wed, 26 Sep 2012 00:37:01 +0000 (02:37 +0200)]
find_missing_doc: Convert to python.

11 years agofind_missing_manpages: convert to python
Jelmer Vernooij [Wed, 26 Sep 2012 00:05:39 +0000 (02:05 +0200)]
find_missing_manpages: convert to python

11 years agofind_missing_manpages: Ignore make variables.
Jelmer Vernooij [Tue, 25 Sep 2012 23:24:04 +0000 (01:24 +0200)]
find_missing_manpages: Ignore make variables.

11 years agosmb.conf(5): Remove documentation for removed 'lock spin count' parameter.
Jelmer Vernooij [Wed, 26 Sep 2012 00:59:35 +0000 (02:59 +0200)]
smb.conf(5): Remove documentation for removed 'lock spin count' parameter.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Wed Sep 26 09:41:09 CEST 2012 on sn-devel-104

11 years agoRemove unused neatquotes script.
Jelmer Vernooij [Tue, 25 Sep 2012 23:28:17 +0000 (01:28 +0200)]
Remove unused neatquotes script.

11 years agosmb.conf.5: Document 'cldap port'.
Jelmer Vernooij [Tue, 25 Sep 2012 23:31:26 +0000 (01:31 +0200)]
smb.conf.5: Document 'cldap port'.

11 years agoundocumented: Drop extension from helper scripts.
Jelmer Vernooij [Tue, 25 Sep 2012 23:31:37 +0000 (01:31 +0200)]
undocumented: Drop extension from helper scripts.

11 years agos3-docs: add delete_lost option to vfs_streams_depot.8
Björn Baumbach [Tue, 2 Oct 2012 09:37:11 +0000 (11:37 +0200)]
s3-docs: add delete_lost option to vfs_streams_depot.8

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct  3 18:10:14 CEST 2012 on sn-devel-104

11 years agodocs: Change TOSHARG-VFS to avoid suggesting VFS modules are Linux/IRIX only
Andrew Bartlett [Tue, 25 Sep 2012 01:05:37 +0000 (11:05 +1000)]
docs: Change TOSHARG-VFS to avoid suggesting VFS modules are Linux/IRIX only

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Sep 25 08:27:15 CEST 2012 on sn-devel-104

11 years agodocs: Remove mention of auth methods in TOSHARG-Passdb
Andrew Bartlett [Tue, 25 Sep 2012 01:05:01 +0000 (11:05 +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

11 years agodocs: Fix typo in TOSHARG-Passdb
Andrew Bartlett [Tue, 25 Sep 2012 01:04:14 +0000 (11:04 +1000)]
docs: Fix typo in TOSHARG-Passdb

11 years agodocs: Update TOSHARG-Install
Andrew Bartlett [Sat, 22 Sep 2012 17:09:32 +0000 (03:09 +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

11 years agodocs: Remove another reference to security=share
Andrew Bartlett [Mon, 17 Sep 2012 18:56:28 +0000 (11:56 -0700)]
docs: Remove another reference to security=share

11 years agodocs: Remove references to specific windows versions, instead mention Home/Profession...
Andrew Bartlett [Mon, 17 Sep 2012 18:56:08 +0000 (11:56 -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

11 years agodocs: Remove references to mulitple passdb backends
Andrew Bartlett [Mon, 17 Sep 2012 18:55:12 +0000 (11:55 -0700)]
docs: Remove references to mulitple passdb backends

These are long-gone and confusing.

Andrew Bartlett

11 years agodocs: Remove references to sysv-style CUPS from TOSHARG-CUPS-printing
Andrew Bartlett [Mon, 17 Sep 2012 18:54:25 +0000 (11:54 -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

11 years agodocs: Remove very outdated TOSHARG-Other-Clients section
Andrew Bartlett [Sat, 15 Sep 2012 22:55:55 +0000 (15:55 -0700)]
docs: Remove very outdated TOSHARG-Other-Clients section

11 years agodocs: Remove very outdated TOSHARG-Portability section
Andrew Bartlett [Sat, 15 Sep 2012 22:52:47 +0000 (15:52 -0700)]
docs: Remove very outdated TOSHARG-Portability section

11 years agodocs: Update FastStart: remove security=share, avoid disable spoolss
Andrew Bartlett [Sat, 15 Sep 2012 19:53:37 +0000 (12:53 -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

11 years agodocs: Clarify TOSHARG-Bugs for 2012
Andrew Bartlett [Sat, 15 Sep 2012 06:13:33 +0000 (23:13 -0700)]
docs: Clarify TOSHARG-Bugs for 2012

11 years agodocs: Remove reference to inetd startup, it is not recommended
Andrew Bartlett [Sat, 15 Sep 2012 06:08:53 +0000 (23:08 -0700)]
docs: Remove reference to inetd startup, it is not recommended

11 years agodocs: Update BDC docs to recognise the AD DC and to exclusivly recommend LDAP
Andrew Bartlett [Sat, 15 Sep 2012 06:06:59 +0000 (23:06 -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

11 years agodocs: Remove referenece to old Red Hat Linux habits on winbindd
Andrew Bartlett [Sat, 15 Sep 2012 05:30:06 +0000 (22:30 -0700)]
docs: Remove referenece to old Red Hat Linux habits on winbindd

11 years agodocs: Remove referenece to autogen.sh and document waf build instead
Andrew Bartlett [Sat, 15 Sep 2012 05:29:39 +0000 (22:29 -0700)]
docs: Remove referenece to autogen.sh and document waf build instead

11 years agodocs: Remove out of date links to pserver.samba.org and old tarballs
Andrew Bartlett [Sat, 15 Sep 2012 05:29:05 +0000 (22:29 -0700)]
docs: Remove out of date links to pserver.samba.org and old tarballs

11 years agodocs: Remove references to Subversion, replace with wiki link
Andrew Bartlett [Sat, 15 Sep 2012 05:28:19 +0000 (22:28 -0700)]
docs: Remove references to Subversion, replace with wiki link

11 years agodocs: Remove references to old kerberos behaviour
Andrew Bartlett [Fri, 14 Sep 2012 19:06:40 +0000 (12:06 -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

11 years agodocs: Remove confusing reference to smb signing and client use spnego
Andrew Bartlett [Fri, 14 Sep 2012 19:04:00 +0000 (12:04 -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

11 years agodocs: update for modern kerberos libs
Andrew Bartlett [Fri, 14 Sep 2012 18:57:38 +0000 (11:57 -0700)]
docs: update for modern kerberos libs

11 years agodocs: remove references to security=server
Andrew Bartlett [Fri, 14 Sep 2012 18:57:05 +0000 (11:57 -0700)]
docs: remove references to security=server

11 years agodocs: Remove distinction between server and domain accounts
Andrew Bartlett [Fri, 14 Sep 2012 16:29:51 +0000 (09:29 -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

11 years agodocs: Update docs to the modern age of Samba 4.0
Andrew Bartlett [Fri, 14 Sep 2012 16:28:06 +0000 (09:28 -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

11 years agovfs: check full_audit enum->str mapping on startup
David Disseldorp [Thu, 27 Sep 2012 10:34:53 +0000 (12:34 +0200)]
vfs: check full_audit enum->str mapping on startup

Signed-off-by: Jim McDonough <jmcd@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@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.

11 years agovfs: add missing pwrite ops to full_audit
David Disseldorp [Thu, 27 Sep 2012 09:50:22 +0000 (11:50 +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@samba.org>
(cherry picked from commit e8e91fbbab16c7bcaa9665839d86c7d169e89fff)

11 years agovfs: fix acl_blob_get* in vfs_full_audit
David Disseldorp [Thu, 20 Sep 2012 06:35:27 +0000 (08:35 +0200)]
vfs: fix acl_blob_get* in vfs_full_audit

Plumb-in functions and use correct return types.

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Sep 20 20:42:09 CEST 2012 on sn-devel-104
(cherry picked from commit a125ea7419142dfb86c4f32b1d46896f3bf40704)

11 years agovfs: fix lock logging in vfs_full_audit (cherry picked from commit 47becf6e20a970d273...
David Disseldorp [Thu, 20 Sep 2012 06:20:57 +0000 (08:20 +0200)]
vfs: fix lock logging in vfs_full_audit (cherry picked from commit 47becf6e20a970d273afab8be176d8cbe5ab2b9c)

11 years agosamba-tool: Some more unifications...
Karolin Seeger [Tue, 9 Oct 2012 09:53:21 +0000 (11:53 +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.

11 years agosamba-tool: skip chown in sysvolreset when it would fail on a GID
Andrew Bartlett [Fri, 5 Oct 2012 00:19:17 +0000 (10:19 +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@samba.org>
Autobuild-Date(master): Tue Oct  9 15:24:44 CEST 2012 on sn-devel-104
(cherry picked from commit 2f0753b456c4d9b4eb52f128a83c8ba19adde160)

11 years agos4:scripting/python: add '-V' as alias for '--version'
Stefan Metzmacher [Mon, 8 Oct 2012 10:50:52 +0000 (12:50 +0200)]
s4:scripting/python: add '-V' as alias for '--version'

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Oct  8 17:52:52 CEST 2012 on sn-devel-104
(cherry picked from commit 8746faf846fb4f4552e648f4e4e05510b8bd1ef4)

11 years agos4:samba-tool: allow 'samba-tool --version'
Stefan Metzmacher [Mon, 8 Oct 2012 10:50:33 +0000 (12:50 +0200)]
s4:samba-tool: allow 'samba-tool --version'

metze
(cherry picked from commit 309434a77396680b5a40985157da44aaddb5ca71)

11 years agos4:samba-tool: use normal option parsing in SuperCommand
Stefan Metzmacher [Mon, 8 Oct 2012 10:47:47 +0000 (12:47 +0200)]
s4:samba-tool: use normal option parsing in SuperCommand

We use the epilog to print the subcommands.

metze
(cherry picked from commit 2fce71c89af66c1467f0a18b97e237b307387620)

11 years agos4:samba-tool: add optional epilog to _create_parser()
Stefan Metzmacher [Mon, 8 Oct 2012 10:45:20 +0000 (12:45 +0200)]
s4:samba-tool: add optional epilog to _create_parser()

metze
(cherry picked from commit 8d4943dcf943dc83b9b663d3d025fb1a8dbcba86)

11 years agosamba-tool: Unify usage messages.
Karolin Seeger [Mon, 8 Oct 2012 10:32:58 +0000 (12:32 +0200)]
samba-tool: Unify usage messages.

Karolin

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

11 years agosamba-tool: Clarify usage of --help.
Karolin Seeger [Mon, 8 Oct 2012 09:47:22 +0000 (11:47 +0200)]
samba-tool: Clarify usage of --help.

Karolin
(cherry picked from commit a2f3ec0577e275604d15b4bb853705ed18cdd963)

11 years agosamba-tool: Fix typo in usage.
Karolin Seeger [Mon, 8 Oct 2012 07:47:37 +0000 (09:47 +0200)]
samba-tool: Fix typo in usage.

Karolin
(cherry picked from commit 171bf9827bffdb25cee0b0ddd0ddc20cc056fdd0)

11 years agos4-join: factorize code, add info (cherry picked from commit 95ea6d765b98d9cbdebaa8e2...
Matthieu Patou [Sat, 29 Sep 2012 17:15:05 +0000 (10:15 -0700)]
s4-join: factorize code, add info (cherry picked from commit 95ea6d765b98d9cbdebaa8e23aad91525d94ad40)

11 years agos4-join: add some documentation (cherry picked from commit d57e0d8a6d213543a772a51755...
Matthieu Patou [Mon, 8 Oct 2012 04:52:25 +0000 (21:52 -0700)]
s4-join: add some documentation (cherry picked from commit d57e0d8a6d213543a772a517551cca053cece85e)

11 years agodevel-crackname: Print if count > 0 (cherry picked from commit e332f989091411602ef7f2...
Matthieu Patou [Tue, 25 Sep 2012 09:00:23 +0000 (02:00 -0700)]
devel-crackname: Print if count > 0 (cherry picked from commit e332f989091411602ef7f286ebb2f5b1462550e4)

11 years agos4: samba_backup: Fix typos.
Björn Baumbach [Wed, 19 Sep 2012 10:03:21 +0000 (12:03 +0200)]
s4: samba_backup: Fix typos.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 9a6f648122c274cc93fd8edff8616c9ffffeb6aa)

11 years agoprovision: Use logger rather than print.
Jelmer Vernooij [Wed, 3 Oct 2012 08:26:55 +0000 (10:26 +0200)]
provision: Use logger rather than print.

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

11 years agos4-provision: do not skip setting the acls on sysvol
Matthieu Patou [Tue, 2 Oct 2012 21:30:25 +0000 (14:30 -0700)]
s4-provision: do not skip setting the acls on sysvol

Autobuild-User(master): Matthieu Patou <mat@samba.org>
Autobuild-Date(master): Wed Oct  3 10:26:06 CEST 2012 on sn-devel-104
(cherry picked from commit c1677e3b2fe42de309459fd8f8b3bea48bca5055)

11 years agosanba.upgradehelpers: Use standard functionality for getting temp dir. (cherry picked...
Jelmer Vernooij [Thu, 27 Sep 2012 16:34:36 +0000 (09:34 -0700)]
sanba.upgradehelpers: Use standard functionality for getting temp dir. (cherry picked from commit 0883e174bfdec22a4ff373041afce396cfe7fd7b)

11 years agos4-python: Various formatting fixes.
Jelmer Vernooij [Thu, 27 Sep 2012 16:30:47 +0000 (09:30 -0700)]
s4-python: Various formatting fixes.

* Trailing whitespace
* use of "==" where "is" should be used
* double spaces
(cherry picked from commit 2a797f29aa12f6847844af504026be52db659fbb)

11 years agosamba.tests.source: Check for trailing whitespace in Python files. (cherry picked...
Jelmer Vernooij [Thu, 27 Sep 2012 16:30:26 +0000 (09:30 -0700)]
samba.tests.source: Check for trailing whitespace in Python files. (cherry picked from commit 6986f7bdda56d693c642945485006f9660053758)

11 years agosamba-tool domain provision: DNS forwarder default
Ricky Nance [Thu, 27 Sep 2012 00:24:40 +0000 (17:24 -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@samba.org>
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Thu Sep 27 04:35:33 CEST 2012 on sn-devel-104
(cherry picked from commit ee0012de1af1a3899856bcdb80033d1a82d5b174)

11 years agosamba-tool: Hide 'samba-tool domain samba3upgrade'.
Jelmer Vernooij [Tue, 25 Sep 2012 20:34:36 +0000 (22:34 +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)

11 years agosamba_dnsupdate: Safely update/create names for Samba3 targets as well
Andrew Bartlett [Wed, 26 Sep 2012 00:02:43 +0000 (10:02 +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@samba.org>
Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
(cherry picked from commit 3c4d0ce46995f82921f538757783fa7a678a7fc1)

11 years agosamba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file consistent
Andrew Bartlett [Tue, 25 Sep 2012 23:48:48 +0000 (09:48 +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)

11 years agoselftest: Remove invalid security=share and rename secshare to simpleserver
Andrew Bartlett [Wed, 26 Sep 2012 00:40:17 +0000 (10:40 +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)

11 years agos4-python: Override SIGINT handler in scripts only.
Jelmer Vernooij [Tue, 25 Sep 2012 18:49:22 +0000 (20:49 +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)

11 years agosamba-tool domain provision: DNS forwarder is not a boolean.
Jelmer Vernooij [Mon, 24 Sep 2012 21:02:05 +0000 (23:02 +0200)]
samba-tool domain provision: DNS forwarder is not a boolean.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104
(cherry picked from commit f44ad3671876802a42846597be901257633e8ca3)

11 years agosamba-tool domain-provision: Avoid python2.5-isms. (cherry picked from commit 6641d76...
Jelmer Vernooij [Mon, 24 Sep 2012 06:26:12 +0000 (08:26 +0200)]
samba-tool domain-provision: Avoid python2.5-isms. (cherry picked from commit 6641d76562db10e6289c5e819b1296d8f6df37bf)

11 years agosamba-tool domain-provision: Fix docstring. (cherry picked from commit 61ce3e871a1fc1...
Jelmer Vernooij [Mon, 24 Sep 2012 06:21:27 +0000 (08:21 +0200)]
samba-tool domain-provision: Fix docstring. (cherry picked from commit 61ce3e871a1fc1d16202d337d74c2e10f64b2c86)

11 years agoCorrect command help message
Daniele Dario [Thu, 20 Sep 2012 13:05:13 +0000 (15:05 +0200)]
Correct command help message

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

11 years agos4-python: Formatting fixes, break lines.
Jelmer Vernooij [Sun, 16 Sep 2012 12:18:51 +0000 (14:18 +0200)]
s4-python: Formatting fixes, break lines.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sun Sep 16 15:58:04 CEST 2012 on sn-devel-104
(cherry picked from commit c0d4f2462f75e0bc0545402b76984b4e6fcb13f1)

11 years agosamba.netcmd: Formatting fixes, break lines. (cherry picked from commit 0ff2ea56d97cd...
Jelmer Vernooij [Sun, 16 Sep 2012 12:18:39 +0000 (14:18 +0200)]
samba.netcmd: Formatting fixes, break lines. (cherry picked from commit 0ff2ea56d97cd8df7abeea8e819d7ec0bfd5b886)

11 years agosamba.provision.common: Fix formatting. (cherry picked from commit ebcb6a744791478bfc...
Jelmer Vernooij [Sat, 15 Sep 2012 22:34:14 +0000 (00:34 +0200)]
samba.provision.common: Fix formatting. (cherry picked from commit ebcb6a744791478bfc4be0b94733ace540ab06bc)

11 years agosamba.provision.sambadns: Fix formatting. (cherry picked from commit cd7dcf4571b321f3...
Jelmer Vernooij [Sat, 15 Sep 2012 22:34:00 +0000 (00:34 +0200)]
samba.provision.sambadns: Fix formatting. (cherry picked from commit cd7dcf4571b321f39eda07c489dd16833d8d4185)

11 years agosamba.provision.backend: Fix formatting. (cherry picked from commit 858135920d54662a0...
Jelmer Vernooij [Sat, 15 Sep 2012 22:33:09 +0000 (00:33 +0200)]
samba.provision.backend: Fix formatting. (cherry picked from commit 858135920d54662a06252deac4dbf9191a251018)

11 years agosamba.provision: Fix formatting, NameErrors. (cherry picked from commit fdb873a203695...
Jelmer Vernooij [Sat, 15 Sep 2012 22:32:52 +0000 (00:32 +0200)]
samba.provision: Fix formatting, NameErrors. (cherry picked from commit fdb873a203695f0b208967a561424c0357374e5b)

11 years agoreplace: Avoid returning value in void setproctitle() replacement.
Jelmer Vernooij [Mon, 24 Sep 2012 23:22:56 +0000 (01:22 +0200)]
replace: Avoid returning value in void setproctitle() replacement.

Autobuild-User(master): Jelmer Vernooij <jelmer@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.