samba.git
11 years agonsswitch: Add waf tests for solaris special cases
Andrew Bartlett [Wed, 26 Sep 2012 08:09:20 +0000 (18:09 +1000)]
nsswitch: Add waf tests for solaris special cases

These are in configure.in for autoconf.  Found in the config.h comparison on
the smbtorture4 build.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 26 11:50:10 CEST 2012 on sn-devel-104

11 years agobuild: Remove unused --with-sys-quotas option
Andrew Bartlett [Wed, 26 Sep 2012 03:10:17 +0000 (13:10 +1000)]
build: Remove unused --with-sys-quotas option

11 years agobuild: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota backend
Andrew Bartlett [Wed, 26 Sep 2012 02:42:15 +0000 (12:42 +1000)]
build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota backend

11 years agobuild: Remove unused samba_cv_sysquotas_file variable from autoconf configure
Andrew Bartlett [Wed, 26 Sep 2012 02:33:50 +0000 (12:33 +1000)]
build: Remove unused samba_cv_sysquotas_file variable from autoconf configure

11 years agobuild: Add waf configure support for non-linux quotas
Andrew Bartlett [Wed, 26 Sep 2012 02:33:13 +0000 (12:33 +1000)]
build: Add waf configure support for non-linux quotas

11 years agolib/util/charset: We do not use fucntions from wchar.h any more
Andrew Bartlett [Tue, 25 Sep 2012 22:10:29 +0000 (08:10 +1000)]
lib/util/charset: We do not use fucntions from wchar.h any more

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 26 02:13:10 CEST 2012 on sn-devel-104

11 years agolib/util/charset: Try to find iconv on HP-UX
Andrew Bartlett [Tue, 25 Sep 2012 21:41:38 +0000 (07:41 +1000)]
lib/util/charset: Try to find iconv on HP-UX

11 years agobuild: Fix detection of quotas on macos
Andrew Bartlett [Mon, 24 Sep 2012 08:02:01 +0000 (18:02 +1000)]
build: Fix detection of quotas on macos

This is a weird one.  While visually OK, the . in sys/types.h was not
made up of the typical ASCII character, so of course did not find
types.h!

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep 24 12:24:45 CEST 2012 on sn-devel-104

11 years agobuild: Add missing dep on tdb_compat
Andrew Bartlett [Sun, 23 Sep 2012 21:06:53 +0000 (07:06 +1000)]
build: Add missing dep on tdb_compat

11 years agobuild: Remove unused define UNIXWARE
Andrew Bartlett [Sun, 23 Sep 2012 04:37:24 +0000 (14:37 +1000)]
build: Remove unused define UNIXWARE

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Sep 23 08:33:02 CEST 2012 on sn-devel-104

11 years agolib/replace: Remove unused nap and therefore the SCO define
Andrew Bartlett [Sun, 23 Sep 2012 04:35:58 +0000 (14:35 +1000)]
lib/replace: Remove unused nap and therefore the SCO define

In any case, the Samba Team stopped supporting SCO systems a long time ago.

Andrew Bartlett

11 years agobuild: Make waf configure match autoconf for HPUX ACLs
Andrew Bartlett [Sun, 23 Sep 2012 04:30:37 +0000 (14:30 +1000)]
build: Make waf configure match autoconf for HPUX ACLs

11 years agobuild: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 512 as the default
Andrew Bartlett [Sun, 23 Sep 2012 04:30:10 +0000 (14:30 +1000)]
build: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 512 as the default

The autoconf build simply has 512 as the default, without a warning.  Rather than
enumerate every OS ever made, just handle the known exceptions.

Andrew Bartlett

11 years agolib/util: Remove unbuilt file util_getent.c and BROKEN_GETGRNAM
Andrew Bartlett [Sun, 23 Sep 2012 04:25:00 +0000 (14:25 +1000)]
lib/util: Remove unbuilt file util_getent.c and BROKEN_GETGRNAM

Removing this unbuilt file allows removing BROKEN_GETGRNAM which was only
ever defined per-OS, not based on an actual test.

Andrew Bartlett

11 years agobuild: Remove unused IRIX and IRIX6 defines
Andrew Bartlett [Sun, 23 Sep 2012 03:57:44 +0000 (13:57 +1000)]
build: Remove unused IRIX and IRIX6 defines

11 years agobuild: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SET
Andrew Bartlett [Sat, 22 Sep 2012 05:27:24 +0000 (22:27 -0700)]
build: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SET

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Sep 22 09:09:17 CEST 2012 on sn-devel-104

11 years agobuild: Try not build with LDAP if we do not have ldap.h
Andrew Bartlett [Sat, 22 Sep 2012 04:57:22 +0000 (21:57 -0700)]
build: Try not build with LDAP if we do not have ldap.h

11 years agowaf: Make samba "ok" with directories for install being symlinks
Ira Cooper [Thu, 20 Sep 2012 19:38:12 +0000 (19:38 +0000)]
waf: Make samba "ok" with directories for install being symlinks

stat -> lstat conversion.  This allows people for whom $PREFIX/var is a
symlink to complete make install.

Autobuild-User(master): Ira Cooper <ira@samba.org>
Autobuild-Date(master): Thu Sep 20 23:26:26 CEST 2012 on sn-devel-104

11 years agolib/replace: Look for special flags needed for c99
Andrew Bartlett [Sun, 23 Sep 2012 20:45:05 +0000 (06:45 +1000)]
lib/replace: Look for special flags needed for c99

This is normally handled by the waf core, but for HP-UX we currently fail.

The autoconf code hard-codes a case for HP-UX, but I want to try testing
it using a generic system first.

Andrew Bartlett
(cherry picked from commit 2e51c386beff808e74c8c1f360a6f4db30fe74b5)

11 years agolib/replace: Improve mkstemp test in autoconf and waf
Andrew Bartlett [Sun, 23 Sep 2012 20:03:31 +0000 (06:03 +1000)]
lib/replace: Improve mkstemp test in autoconf and waf

On the Sernet-solaris8 host, this test passed in the autoconf build,
then failed in the recursive waf build.  This newer test should probe
the behaviour more closely, by checking we get two distinct, secure
files.

Andrew Bartlett
(cherry picked from commit 0727ad73212ff3cfe7e78249504b0209e082d7c4)

11 years agoquota: also log which fs type we found
Björn Jacke [Fri, 14 Sep 2012 18:46:45 +0000 (20:46 +0200)]
quota: also log which fs type we found

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sat Sep 15 02:18:16 CEST 2012 on sn-devel-104

11 years agoautoconf: check for dn_expand also in libinet
Björn Jacke [Fri, 14 Sep 2012 18:32:15 +0000 (20:32 +0200)]
autoconf: check for dn_expand also in libinet

see bug #7472

11 years agowafbuild: check for dn_expand also in libinet
Björn Jacke [Fri, 14 Sep 2012 18:41:08 +0000 (20:41 +0200)]
wafbuild: check for dn_expand also in libinet

see bug #7472

11 years agos3:winbindd:cache: fix offline logons with cached credentials (bug #9321)
Michael Adam [Thu, 1 Nov 2012 13:41:56 +0000 (14:41 +0100)]
s3:winbindd:cache: fix offline logons with cached credentials (bug #9321)

The removal of consumption of the time field from the centry
as "removal of unused variable" in 21528da9cd12a4f5c3792a482a5d18fe946a6f7a
had the side effect of changing the offset for reading the following
nt password hash, so the read password hash was wrong.

This patch re-installs the consumption of the time,
thereby fixing the bug without changing the disk format of the cache.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit f853c1792967332c4aff52c0fb35f653f614f86d)

11 years agopackaging: Add NetworkManager dispatcher script for winbind.
Andreas Schneider [Fri, 26 Oct 2012 10:46:21 +0000 (12:46 +0200)]
packaging: Add NetworkManager dispatcher script for winbind.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
https://bugzilla.samba.org/show_bug.cgi?id=9336
Add NetworkManager dispatcher script for winbind (systemd) (edit)

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Wed Oct 31 11:36:42 CET 2012 on sn-devel-104

11 years agoBUG 9326: Fix net ads join message for the dns domain.
Andreas Schneider [Tue, 23 Oct 2012 15:12:59 +0000 (17:12 +0200)]
BUG 9326: Fix net ads join message for the dns domain.

We don't get a realm back from the server which is useable as a realm on
Unix. On Unix they are case sensitive and on Windows they aren't. This
confuses uses and if we write realm they try to use it as it came back
in lowercase.

Signed-off-by: Andreas Schneider <asn@samba.org>
11 years agolib/replace: Return size of xattr if size argument is 0
Andrew Bartlett [Sat, 27 Oct 2012 08:15:58 +0000 (19:15 +1100)]
lib/replace: Return size of xattr if size argument is 0

This makes rep_{f,}getxattr a more complete replacement for the linux function.

Andrew Bartlett

https://bugzilla.samba.org/show_bug.cgi?id=9338
libreplace does not replace getxattr correctly for 0 length semantics

11 years agos3: vfs_streams_depot: add delete_lost option (bug #9300)
Björn Baumbach [Thu, 27 Sep 2012 10:40:47 +0000 (12:40 +0200)]
s3: vfs_streams_depot: add delete_lost option (bug #9300)

With this option lost stream directories will be removed
instead of renamed.

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Oct  1 18:47:30 CEST 2012 on sn-devel-104
(cherry picked from commit 8da8a2289ea51d4fcdf6b5352a46c14d36d8f072)

11 years agos3: make recursive_rmdir function non-static
Björn Baumbach [Mon, 1 Oct 2012 07:55:28 +0000 (09:55 +0200)]
s3: make recursive_rmdir function non-static

Part of fix for bug #9300.

(cherry picked from commit 7a76762c688f4fc7519dbd204b036963c460e093)

11 years agoWHATSNEW: Correct list of changed parameters.
Karolin Seeger [Tue, 30 Oct 2012 10:31:08 +0000 (11:31 +0100)]
WHATSNEW: Correct list of changed parameters.

These synonyms do still exist.
Thanks to Björn Baumbach for noticing!

Karolin

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Tue Oct 30 13:13:46 CET 2012 on sn-devel-104

11 years agoVERSION: Bump version number up to 4.0.0rc5
Karolin Seeger [Tue, 30 Oct 2012 08:58:41 +0000 (09:58 +0100)]
VERSION: Bump version number up to 4.0.0rc5

and re-enable GIT snapshots.

Karolin

11 years agoVERSION: Disable GIT snapshot to prepare rc4 release. samba-4.0.0rc4
Karolin Seeger [Tue, 30 Oct 2012 08:57:37 +0000 (09:57 +0100)]
VERSION: Disable GIT snapshot to prepare rc4 release.

Karolin

11 years agoWHATSNEW: Update changes since rc3.
Karolin Seeger [Mon, 29 Oct 2012 20:48:02 +0000 (21:48 +0100)]
WHATSNEW: Update changes since rc3.

Karolin

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Mon Oct 29 22:27:53 CET 2012 on sn-devel-104

11 years agosource3.selftest: Move last variables to selftesthelpers.
Jelmer Vernooij [Sat, 27 Oct 2012 13:31:06 +0000 (05:31 -0800)]
source3.selftest: Move last variables to selftesthelpers.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
(cherry picked from commit a7b8d0260a55959c72614251db880fed04a48316)

The last 62 patches address bug #9274 - backport documentation changes.

11 years agosource3.selftest: Move more variables to be in common. (cherry picked from commit...
Jelmer Vernooij [Sat, 27 Oct 2012 13:23:57 +0000 (05:23 -0800)]
source3.selftest: Move more variables to be in common. (cherry picked from commit 66980989e5b28490cd7b04b576cf39d26f183b90)

11 years agoselftesthelpers: Fix detection of tap2subunit.
Jelmer Vernooij [Sat, 27 Oct 2012 01:31:40 +0000 (17:31 -0800)]
selftesthelpers: Fix detection of tap2subunit.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
(cherry picked from commit 13269923585888912e2433c15c0ca010a9897595)

11 years agoselftest: Add --random-order option. (cherry picked from commit 67dd28f3605db4cbdc5fe...
Jelmer Vernooij [Fri, 26 Oct 2012 23:53:57 +0000 (15:53 -0800)]
selftest: Add --random-order option. (cherry picked from commit 67dd28f3605db4cbdc5feacc1121ec3d7dd075a6)

11 years agosource4.selftest.tests: Add FIXME about database verification. (cherry picked from...
Jelmer Vernooij [Fri, 26 Oct 2012 22:40:09 +0000 (14:40 -0800)]
source4.selftest.tests: Add FIXME about database verification. (cherry picked from commit 1190f385f72f68f22277c8b380f2d4c461c413a4)

11 years agoselftesthelpers: Simplify detection of tap2subunit. (cherry picked from commit 05dc5a...
Jelmer Vernooij [Fri, 26 Oct 2012 22:14:42 +0000 (14:14 -0800)]
selftesthelpers: Simplify detection of tap2subunit. (cherry picked from commit 05dc5a39a6ad4b1ffafc904faea3e8e40f6f5cde)

11 years agosource3.selftests.tests: Use common plansmbtorture4testsuite() function. (cherry...
Jelmer Vernooij [Fri, 26 Oct 2012 22:06:47 +0000 (14:06 -0800)]
source3.selftests.tests: Use common plansmbtorture4testsuite() function. (cherry picked from commit fd607e0a9eefb79130941e244435980afbbb4bf7)

11 years agosource3.selftest.tests: Add suffix for smbclient3/ntlm_auth3. (cherry picked from...
Jelmer Vernooij [Fri, 26 Oct 2012 22:00:07 +0000 (14:00 -0800)]
source3.selftest.tests: Add suffix for smbclient3/ntlm_auth3. (cherry picked from commit efb27e29dadf58d2dec651ca3a0c108b4cf515ae)

11 years agosource3.selftest.tests: Remove tabs. (cherry picked from commit a841f0fced7abfb0f6d98...
Jelmer Vernooij [Fri, 26 Oct 2012 21:56:30 +0000 (13:56 -0800)]
source3.selftest.tests: Remove tabs. (cherry picked from commit a841f0fced7abfb0f6d98390c07becdf49a91af5)

11 years agosource4.selftest.tests: Add suffix for smbclient4/nmblookup4. (cherry picked from...
Jelmer Vernooij [Fri, 26 Oct 2012 21:52:55 +0000 (13:52 -0800)]
source4.selftest.tests: Add suffix for smbclient4/nmblookup4. (cherry picked from commit ea5e2b56c14072eeaa785d05f1da4d439667e8b6)

11 years agoselftesthelpers: Add function for printing smbtorture4 version. (cherry picked from...
Jelmer Vernooij [Fri, 26 Oct 2012 21:51:54 +0000 (13:51 -0800)]
selftesthelpers: Add function for printing smbtorture4 version. (cherry picked from commit 58345820c078f79fe7f67b8e6f947691f7237641)

11 years agoselftest: Move determining of smbtorture4 options to selftesthelpers. (cherry picked...
Jelmer Vernooij [Fri, 26 Oct 2012 21:38:32 +0000 (13:38 -0800)]
selftest: Move determining of smbtorture4 options to selftesthelpers. (cherry picked from commit 8237e2727da0d04b82cb3cf644dd337a4c77fe34)

11 years agoselftest/selftesthelpers: Share environment handling for extra smbtorture options...
Jelmer Vernooij [Fri, 26 Oct 2012 21:12:54 +0000 (13:12 -0800)]
selftest/selftesthelpers: Share environment handling for extra smbtorture options. (cherry picked from commit fcb7926ce544a8d4b0e5aa6577fe21712b38bb53)

11 years agoselftest/selftesthelpers.py: Share configuration variable, strip whitespace. (cherry...
Jelmer Vernooij [Fri, 26 Oct 2012 21:09:45 +0000 (13:09 -0800)]
selftest/selftesthelpers.py: Share configuration variable, strip whitespace. (cherry picked from commit 6bcb25673bdc249f5a49ded912d90bc84b13809d)

11 years agoselftesthelpers: Share code for listing smbtorture4 tests. (cherry picked from commit...
Jelmer Vernooij [Fri, 26 Oct 2012 21:03:32 +0000 (13:03 -0800)]
selftesthelpers: Share code for listing smbtorture4 tests. (cherry picked from commit 4c4d3c86f0430d38f78d16dcb5d365b577ef4227)

11 years agosource4.selftest.tests: Rename plansmbtorturesuite() to plansmbtorture4suite(). ...
Jelmer Vernooij [Fri, 26 Oct 2012 19:51:19 +0000 (11:51 -0800)]
source4.selftest.tests: Rename plansmbtorturesuite() to plansmbtorture4suite(). (cherry picked from commit 868c8c058306b66fb3baa4a36bfe91d6461805d5)

11 years agosource4.selftest.tests: Consistent naming of smbtorture binary. (cherry picked from...
Jelmer Vernooij [Fri, 26 Oct 2012 19:50:41 +0000 (11:50 -0800)]
source4.selftest.tests: Consistent naming of smbtorture binary. (cherry picked from commit 55507d0612ecf2db34867eb6065fc5038ea81aa0)

11 years agosamba.tests.docs: Ignore removed parameters. (cherry picked from commit 364ed82d22bbc...
Jelmer Vernooij [Fri, 19 Oct 2012 07:21:01 +0000 (09:21 +0200)]
samba.tests.docs: Ignore removed parameters. (cherry picked from commit 364ed82d22bbcd69ae237098ba8d6946969bd390)

11 years agosmb.conf(5): Mark four removed parameters as such. (cherry picked from commit 4b4e8e2...
Jelmer Vernooij [Fri, 19 Oct 2012 07:20:44 +0000 (09:20 +0200)]
smb.conf(5): Mark four removed parameters as such. (cherry picked from commit 4b4e8e21235615af94788fa0ebfa0b0bc09f14fd)

11 years agosamba.tests.docs: Assume docs are generated by waf. (cherry picked from commit ed37b8...
Jelmer Vernooij [Fri, 19 Oct 2012 07:16:55 +0000 (09:16 +0200)]
samba.tests.docs: Assume docs are generated by waf. (cherry picked from commit ed37b8ad14d496114654017d394fa18d63456aee)

11 years agosamba.tests.docs: Write error output from xsltproc to standard out. (cherry picked...
Jelmer Vernooij [Sat, 29 Sep 2012 04:40:32 +0000 (21:40 -0700)]
samba.tests.docs: Write error output from xsltproc to standard out. (cherry picked from commit cfa72bcc5e93a840fc07f5d419216443ef8f7599)

11 years agosamba.tests.docs: Skip tests if xsltproc is not present. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 16:52:41 +0000 (09:52 -0700)]
samba.tests.docs: Skip tests if xsltproc is not present. (cherry picked from commit 8412b57f5ce40901a0a4e2e66c5f9bcbdcb4b46e)

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.
(cherry picked from commit 2a31f0b50976dc5b6770639b60184a8ef9158b8b)

11 years agosamba.tests.docs: Support spaces before synonyms. (cherry picked from commit 32fad2b9...
Jelmer Vernooij [Wed, 26 Sep 2012 20:09:01 +0000 (13:09 -0700)]
samba.tests.docs: Support spaces before synonyms. (cherry picked from commit 32fad2b910a9e4f9b753b43cb818c72829236a88)

11 years agosamba.tests.docs: Support synonyms. (cherry picked from commit be4dea45daca51a817a7c3...
Jelmer Vernooij [Wed, 26 Sep 2012 19:40:00 +0000 (12:40 -0700)]
samba.tests.docs: Support synonyms. (cherry picked from commit be4dea45daca51a817a7c383a4092bf69650c6cd)

11 years agosamba.tests.docs: Distinguish between unknown and undocumened parameters. (cherry...
Jelmer Vernooij [Wed, 26 Sep 2012 16:41:19 +0000 (18:41 +0200)]
samba.tests.docs: Distinguish between unknown and undocumened parameters. (cherry picked from commit d0e644e0c83636b4e4c6b52ce0f861ffe38cedeb)

11 years agotests: Convert find_missing_doc into a unit test. (cherry picked from commit d2f8fe85...
Jelmer Vernooij [Wed, 26 Sep 2012 00:57:16 +0000 (02:57 +0200)]
tests: Convert find_missing_doc into a unit test. (cherry picked from commit d2f8fe855d0705faf216714cf147038563c0ba7e)

11 years agosmb.conf(5): Fix mixing of tabs and spaces. (cherry picked from commit 47902702b3e639...
Jelmer Vernooij [Fri, 19 Oct 2012 06:33:31 +0000 (08:33 +0200)]
smb.conf(5): Fix mixing of tabs and spaces. (cherry picked from commit 47902702b3e6390de05f8fca2bc457936af9f5c1)

11 years agosmb.conf(5): Add basic documentation for 'nsupdate command'. (cherry picked from...
Jelmer Vernooij [Sat, 29 Sep 2012 04:25:50 +0000 (21:25 -0700)]
smb.conf(5): Add basic documentation for 'nsupdate command'. (cherry picked from commit aad30c062fd176fa15994a44a0178d51764cdbf7)

11 years agosmb.conf(5): Add basic documentation for 'afs token lifetime'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 20:05:07 +0000 (13:05 -0700)]
smb.conf(5): Add basic documentation for 'afs token lifetime'. (cherry picked from commit 0cea6daffe42f5b9b6ee61eb430da3f86bea31df)

11 years agosmb.conf(5): Add 'ldap password sync' as synonym for 'ldap passwd sync'. (cherry...
Jelmer Vernooij [Fri, 28 Sep 2012 20:01:39 +0000 (13:01 -0700)]
smb.conf(5): Add 'ldap password sync' as synonym for 'ldap passwd sync'. (cherry picked from commit 695df863eddd6ee323229fe29a4a40712f3553b4)

11 years agosmb.conf(5): Add 'socket address' as alias for 'nbt client socket address'. (cherry...
Jelmer Vernooij [Fri, 28 Sep 2012 18:20:09 +0000 (11:20 -0700)]
smb.conf(5): Add 'socket address' as alias for 'nbt client socket address'. (cherry picked from commit 6c160e3892eea219c50bbb2d1113460817bfad08)

11 years agosmb.conf(5): Add basic documentation for 'tls dh params file'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 18:13:13 +0000 (11:13 -0700)]
smb.conf(5): Add basic documentation for 'tls dh params file'. (cherry picked from commit 03b48e2bdbea30afad9b414fbab5dae67e57b5cf)

11 years agosmb.conf(5): Add basic documentation for 'tls enabled'. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 18:08:49 +0000 (11:08 -0700)]
smb.conf(5): Add basic documentation for 'tls enabled'. (cherry picked from commit 946a873e470ed4309bf56dae574b8f48a4dc629f)

11 years agosmb.conf(5): Add basic documentation for 'tls crlfile'. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 18:05:47 +0000 (11:05 -0700)]
smb.conf(5): Add basic documentation for 'tls crlfile'. (cherry picked from commit 2e4f054e16aa9f67ec6bfb8ec7af6ebbba26db1d)

11 years agosmb.conf(5): Add basic documentation for 'tls certfile'. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 18:00:09 +0000 (11:00 -0700)]
smb.conf(5): Add basic documentation for 'tls certfile'. (cherry picked from commit 008dfb9a2167603c65fb4db56c8bd62cdd2447d0)

11 years agosmb.conf(5): Add basic documentation for 'tls keyfile'. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 17:58:45 +0000 (10:58 -0700)]
smb.conf(5): Add basic documentation for 'tls keyfile'. (cherry picked from commit 0f5e45b84c9b54909294fc0ea48f7b6fb3ca2878)

11 years agosmb.conf(5): Add basic documentation for 'tls cafile'. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 17:56:44 +0000 (10:56 -0700)]
smb.conf(5): Add basic documentation for 'tls cafile'. (cherry picked from commit 4e1a06dc238c31a3b2343fcf4983c78fdc52f758)

11 years agosmb.conf(5): Add basic documentation for 'log nt token command'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 17:52:13 +0000 (10:52 -0700)]
smb.conf(5): Add basic documentation for 'log nt token command'. (cherry picked from commit e27e8f4f88dac6c938272ced6ca4b0fd3b20f8e0)

11 years agosmb.conf(5): Add basic documentation for 'ntp signd socket directory'. (cherry picked...
Jelmer Vernooij [Fri, 28 Sep 2012 17:42:55 +0000 (10:42 -0700)]
smb.conf(5): Add basic documentation for 'ntp signd socket directory'. (cherry picked from commit 7341dcac105baad0d06d112578fa3f12826bd4ef)

11 years agosmb.conf(5): Add basic documentation for 'spn update command'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 17:37:23 +0000 (10:37 -0700)]
smb.conf(5): Add basic documentation for 'spn update command'. (cherry picked from commit 6f36bde82f4a6329b97b400564e69928dffa0173)

11 years agosmb.conf(5): Add basic documentation for 'allow dns updates'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 17:35:06 +0000 (10:35 -0700)]
smb.conf(5): Add basic documentation for 'allow dns updates'. (cherry picked from commit 68fdcaa6b7f69c622df958413ee3809e56861c04)

11 years agosmb.conf(5): Add basic documentation for 'rndc command'. (cherry picked from commit...
Jelmer Vernooij [Fri, 28 Sep 2012 17:31:08 +0000 (10:31 -0700)]
smb.conf(5): Add basic documentation for 'rndc command'. (cherry picked from commit b0b0266aa70721ebfea8dbc2602e81984a3b6023)

11 years agosmb.conf(5): Add basic documentation for 'dns update command'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 17:16:08 +0000 (10:16 -0700)]
smb.conf(5): Add basic documentation for 'dns update command'. (cherry picked from commit 4ccea7f86796070ae6dbf404aa93ad4e5a7ae66e)

11 years agosmb.conf(5): Add basic documentation for 'server services'. (cherry picked from commi...
Jelmer Vernooij [Fri, 28 Sep 2012 17:09:41 +0000 (10:09 -0700)]
smb.conf(5): Add basic documentation for 'server services'. (cherry picked from commit 3cc61af7ff3b90026fdc6fc84ad905041154bfaf)

11 years agosmb.conf(5): Add basic documentation for 'samba kcc command'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 17:03:46 +0000 (10:03 -0700)]
smb.conf(5): Add basic documentation for 'samba kcc command'. (cherry picked from commit a63d6a909406c2d0e04f6142f9614c3543ae2d1b)

11 years agosamba-tool user: Fix typos, improve messages. (cherry picked from commit d09f15163843...
Jelmer Vernooij [Fri, 28 Sep 2012 01:44:43 +0000 (18:44 -0700)]
samba-tool user: Fix typos, improve messages. (cherry picked from commit d09f15163843c5a027476e9087ae96700f6de003)

11 years agosmb.conf(5): Add basic documentation 'winbind sealed pipes'. (cherry picked from...
Jelmer Vernooij [Fri, 28 Sep 2012 00:57:54 +0000 (17:57 -0700)]
smb.conf(5): Add basic documentation 'winbind sealed pipes'. (cherry picked from commit e7c8fcaea5b06897603abb6f4f38ce39b400c9a7)

11 years agosmb.conf(5): Add basic documentation for 'dns forwarder'. (cherry picked from commit...
Jelmer Vernooij [Thu, 27 Sep 2012 20:38:31 +0000 (13:38 -0700)]
smb.conf(5): Add basic documentation for 'dns forwarder'. (cherry picked from commit e9d91cd4a133d7acb377341282230f99f5e10a12)

11 years agosmb.conf(5): Add basic documentation for 'ntvfs handler'. (cherry picked from commit...
Jelmer Vernooij [Thu, 27 Sep 2012 20:28:23 +0000 (13:28 -0700)]
smb.conf(5): Add basic documentation for 'ntvfs handler'. (cherry picked from commit 394258ad4c3413388e800800b2b1b941de037fa3)

11 years agosmb.conf(5): Add : to idmap config description to mark it as parametric. (cherry...
Jelmer Vernooij [Thu, 27 Sep 2012 19:30:07 +0000 (12:30 -0700)]
smb.conf(5): Add : to idmap config description to mark it as parametric. (cherry picked from commit c6ba8575ea7fe8b0fdc49d4f823ca441ae99070a)

11 years agosmb.conf(5): Add basic documentation for 'winbindd privileged socket directory'....
Jelmer Vernooij [Thu, 27 Sep 2012 19:28:16 +0000 (12:28 -0700)]
smb.conf(5): Add basic documentation for 'winbindd privileged socket directory'. (cherry picked from commit 3cea6257a9e4a3e1dc46e6c555d57992a73d6e6c)

11 years agosmb.conf(5): Add basic documentation for 'winbindd socket directory'. (cherry picked...
Jelmer Vernooij [Thu, 27 Sep 2012 19:24:15 +0000 (12:24 -0700)]
smb.conf(5): Add basic documentation for 'winbindd socket directory'. (cherry picked from commit d0b38752471dd870ad640fd39076bc51f84c57d1)

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

11 years agosamba-tool user test: Fix expected output.
Jelmer Vernooij [Fri, 19 Oct 2012 07:53:02 +0000 (09:53 +0200)]
samba-tool user test: Fix expected output.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 19 11:37:44 CEST 2012 on sn-devel-104
(cherry picked from commit e3a48bb5f65bf9f5b77df010dcb75fcc9721cf3b)

11 years agoselftest: Move more tests to common list script.
Jelmer Vernooij [Fri, 5 Oct 2012 09:51:37 +0000 (11:51 +0200)]
selftest: Move more tests to common list script.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
(cherry picked from commit ff82afb1f8ad3cf950277487aff05d442d03c969)

11 years agosamba.join: Fix multiple spaces.
Jelmer Vernooij [Thu, 11 Oct 2012 15:23:13 +0000 (17:23 +0200)]
samba.join: Fix multiple spaces.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Thu Oct 11 20:30:43 CEST 2012 on sn-devel-104
(cherry picked from commit 21b58b5eacb67b4dee6e7efe90bd529bbfd6ef77)

11 years agoselftest: Move some tests to common test script. (cherry picked from commit 1aa291c33...
Jelmer Vernooij [Fri, 5 Oct 2012 09:46:25 +0000 (11:46 +0200)]
selftest: Move some tests to common test script. (cherry picked from commit 1aa291c331c29c2f5ee4572b660c4c2061755856)

11 years agoselftests.tests: Remove reference to Samba 4. (cherry picked from commit 1080b6c2caf1...
Jelmer Vernooij [Fri, 5 Oct 2012 09:39:34 +0000 (11:39 +0200)]
selftests.tests: Remove reference to Samba 4. (cherry picked from commit 1080b6c2caf1191fd896f3caf38e576a00b01982)

11 years agosamba4-tests: Move 'samba.tests.source' up.
Jelmer Vernooij [Thu, 27 Sep 2012 16:41:32 +0000 (09:41 -0700)]
samba4-tests: Move 'samba.tests.source' up.

We would like to run this as early as possible so we get a quick
failure when there is trailing whitespace.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Thu Sep 27 20:26:27 CEST 2012 on sn-devel-104
(cherry picked from commit b7822a55c40c5c42356b263c3d7bc1998fb1a7d3)

11 years agosamba.provision.sambadns: Use == to compare strings, not 'is'. (cherry picked from...
Jelmer Vernooij [Thu, 11 Oct 2012 15:11:44 +0000 (17:11 +0200)]
samba.provision.sambadns: Use == to compare strings, not 'is'. (cherry picked from commit 2adf27a99b999a4fd0329d9fa398a9208b60e367)

11 years agowafsamba: Ignore some more symbols when checking for dupes. (cherry picked from commi...
Jelmer Vernooij [Thu, 11 Oct 2012 12:39:50 +0000 (14:39 +0200)]
wafsamba: Ignore some more symbols when checking for dupes. (cherry picked from commit 276460cf8afb4894fe1e980c7a75e866c14ba144)

11 years agoFix bug #9329 - Directory listing with SeBackup can crash smbd.
Jeremy Allison [Fri, 26 Oct 2012 00:07:29 +0000 (17:07 -0700)]
Fix bug #9329 - Directory listing with SeBackup can crash smbd.

When we do a become_root()/unbecome_root() pair to temporarily
raise privilege, this NULLs out the NT token. If we're within
a become_root()/unbecome_root() pair then return the previous
token on the stack as our NT token. This is what we should be
using to check against NT ACLs in the file server. This copes
with security context changing when removing a file on close
under the context of another user (when 2 users have a file
open, one sets delete on close and then the other user has
to actually do the delete).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
11 years agoWHATSNEW: Update changes since rc3.
Karolin Seeger [Mon, 29 Oct 2012 11:43:43 +0000 (12:43 +0100)]
WHATSNEW: Update changes since rc3.

Karolin

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Mon Oct 29 15:06:00 CET 2012 on sn-devel-104

11 years agodocs-xml:smbd.8: document new smbXsrv_*_global.tdb files
Stefan Metzmacher [Thu, 18 Oct 2012 13:35:39 +0000 (15:35 +0200)]
docs-xml:smbd.8: document new smbXsrv_*_global.tdb files

metze

Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Oct 19 14:00:39 CEST 2012 on sn-devel-104
(cherry picked from commit 81d0b8aebf8e7dee73907fabf408f0b2c3145207)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
The last 39 patches address bug 9304 - remove unused sessionid.tdb and
connections.tdb related code.

11 years agos3:lib: remove unused connections_fetch_entry*() and connections_init()
Stefan Metzmacher [Fri, 5 Oct 2012 17:05:32 +0000 (19:05 +0200)]
s3:lib: remove unused connections_fetch_entry*() and connections_init()

metze

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a144911958d7bcd291a8f42a40832ffc0187279a)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agos3:smbd: remove unused claim_connection/yield_connection
Stefan Metzmacher [Fri, 5 Oct 2012 17:13:39 +0000 (19:13 +0200)]
s3:smbd: remove unused claim_connection/yield_connection

metze

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit d4f369c470ec1c8c7986a73e4ee6e18a97edd834)

Signed-off-by: Stefan Metzmacher <metze@samba.org>