sfrench/samba-autobuild/.git
7 years agowintest: Give dcpromo more time
Andrew Bartlett [Tue, 2 Oct 2012 22:22:27 +0000 (08:22 +1000)]
wintest: Give dcpromo more time

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct  3 16:04:44 CEST 2012 on sn-devel-104

7 years agowintest: Give netdom join more time to complete
Andrew Bartlett [Tue, 2 Oct 2012 08:45:39 +0000 (18:45 +1000)]
wintest: Give netdom join more time to complete

7 years agowintest: Add config file for a second host
Andrew Bartlett [Tue, 2 Oct 2012 02:34:10 +0000 (12:34 +1000)]
wintest: Add config file for a second host

7 years agowintest: bump version to 4.1
Andrew Bartlett [Tue, 2 Oct 2012 02:33:48 +0000 (12:33 +1000)]
wintest: bump version to 4.1

7 years agonsswitch: Build nss_winbind on all supported platforms
Andrew Bartlett [Mon, 1 Oct 2012 22:12:16 +0000 (08:12 +1000)]
nsswitch: Build nss_winbind on all supported platforms

This matches what the autoconf build can do.

Andrew Bartlett

7 years agoselftest: Always build a linux-style nss_winbind for nss_wrapper
Andrew Bartlett [Wed, 3 Oct 2012 06:36:34 +0000 (16:36 +1000)]
selftest: Always build a linux-style nss_winbind for nss_wrapper

7 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

7 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

7 years agoFix bug #9222 - smbd ignores the "server signing = no" setting for SMB2.
Jeremy Allison [Tue, 2 Oct 2012 21:10:21 +0000 (14:10 -0700)]
Fix bug #9222 - smbd ignores the "server signing = no" setting for SMB2.

Still sign if client request is signed, just don't negotiate it in
negprot or sessionsetup.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct  3 00:59:42 CEST 2012 on sn-devel-104

7 years agoWhen creating a new file/directory, we need to obey the create mask/directory mask...
Jeremy Allison [Tue, 2 Oct 2012 17:25:14 +0000 (10:25 -0700)]
When creating a new file/directory, we need to obey the create mask/directory mask parameters.

Currently we call FSET_NT_ACL to inherit any ACLs on create. However
FSET_NT_ACL uses the security mask/directory security mask parameters
instead of the create mask/directory mask parameters.

Swap them temporarily when creating to ensure the correct masks
are applied.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct  2 22:27:17 CEST 2012 on sn-devel-104

7 years agoAdd functions to programatically set the security mask and directory security mask...
Jeremy Allison [Tue, 2 Oct 2012 17:22:39 +0000 (10:22 -0700)]
Add functions to programatically set the security mask and directory security mask parameters.

7 years agoWhen setting a non-default ACL, don't forget to apply masks to SMB_ACL_USER and SMB_A...
Jeremy Allison [Tue, 2 Oct 2012 17:15:54 +0000 (10:15 -0700)]
When setting a non-default ACL, don't forget to apply masks to SMB_ACL_USER and SMB_ACL_GROUP entries.

7 years agoOnly apply masks on non-default ACL entries when setting the ACL.
Jeremy Allison [Tue, 2 Oct 2012 17:12:45 +0000 (10:12 -0700)]
Only apply masks on non-default ACL entries when setting the ACL.

7 years agoUse is_default_acl variable in canonicalise_acl().
Jeremy Allison [Tue, 2 Oct 2012 16:55:09 +0000 (09:55 -0700)]
Use is_default_acl variable in canonicalise_acl().

7 years agoReformat spacing to be even.
Jeremy Allison [Tue, 2 Oct 2012 16:21:17 +0000 (09:21 -0700)]
Reformat spacing to be even.

7 years agotdb: Fix a typo
Volker Lendecke [Tue, 2 Oct 2012 10:21:20 +0000 (12:21 +0200)]
tdb: Fix a typo

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Oct  2 19:52:16 CEST 2012 on sn-devel-104

7 years agos3-net: Fix DEBUG() location.
Günther Deschner [Mon, 1 Oct 2012 14:19:28 +0000 (16:19 +0200)]
s3-net: Fix DEBUG() location.

Guenther

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Oct  2 18:06:17 CEST 2012 on sn-devel-104

7 years agos3-net: give more control how to update/register DNS entries.
Günther Deschner [Tue, 25 Sep 2012 09:09:45 +0000 (11:09 +0200)]
s3-net: give more control how to update/register DNS entries.

Guenther

7 years agos3-net: pass down a flags field to DoDNSUpdate().
Günther Deschner [Tue, 25 Sep 2012 09:08:48 +0000 (11:08 +0200)]
s3-net: pass down a flags field to DoDNSUpdate().

Guenther

7 years agos3-net: move out some prototypes to net_dns.h.
Günther Deschner [Wed, 19 Sep 2012 13:35:15 +0000 (15:35 +0200)]
s3-net: move out some prototypes to net_dns.h.

Guenther

7 years agos3-net: pass down struct net_context to the dns update calls.
Günther Deschner [Wed, 19 Sep 2012 13:31:57 +0000 (15:31 +0200)]
s3-net: pass down struct net_context to the dns update calls.

Guenther

7 years agos3-kerberos: add aes enctypes to generated krb5.conf.
Günther Deschner [Mon, 19 Dec 2011 09:52:58 +0000 (10:52 +0100)]
s3-kerberos: add aes enctypes to generated krb5.conf.

Guenther

7 years agos3-krb5: use and request AES keys in kerberos operations.
Günther Deschner [Thu, 15 Dec 2011 17:12:41 +0000 (18:12 +0100)]
s3-krb5: use and request AES keys in kerberos operations.

Guenther

7 years agoFix release script to build full set of documentation
Alexander Bokovoy [Tue, 2 Oct 2012 11:53:38 +0000 (14:53 +0300)]
Fix release script to build full set of documentation

build-docs script was not setting XML catalog properly.

In addition, some time ago pdf versions of images were introduced as
generated dependencies in our books but svg -> pdf rule was not added,
so building books never finished properly.

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Tue Oct  2 16:21:23 CEST 2012 on sn-devel-104

7 years agolibrelease.sh: Move the GPG data to the library section.
Karolin Seeger [Tue, 2 Oct 2012 08:29:16 +0000 (10:29 +0200)]
librelease.sh: Move the GPG data to the library section.

Don't use the Library key for the samba releases.

Karolin

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 7eb1f6ff178cb04a04dcaee88f15be850d239430)

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Oct  2 14:28:10 CEST 2012 on sn-devel-104

7 years agos4-dns: fix a non handled memory out of memory
Matthieu Patou [Tue, 2 Oct 2012 04:43:11 +0000 (21:43 -0700)]
s4-dns: fix a non handled memory out of memory

Signed-off-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Tue Oct  2 09:43:52 CEST 2012 on sn-devel-104

7 years agoAdd samba3.samba3badnameblob test to check regressions in bug #9215.
Jeremy Allison [Fri, 28 Sep 2012 16:39:15 +0000 (09:39 -0700)]
Add samba3.samba3badnameblob test to check regressions in bug #9215.

Bad name in SMB1 openX can cause a crash in iconv inside glibc.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct  1 23:29:25 CEST 2012 on sn-devel-104

7 years agos3fs-smbd: Move housekeeping to the background process.
Andreas Schneider [Thu, 27 Sep 2012 17:01:15 +0000 (19:01 +0200)]
s3fs-smbd: Move housekeeping to the background process.

If you add 200 printers using lpadmin. Then you wait for the printcap
cache to expire. As soon as this expires we notify all deamons that they
should reload the printers. This mean we need to create the default
registry keys for each printer. If you do e.g. a 'smbclient -L' during
that time you will get a lot of timeouts.

This lets the housekeeping function of the printcap cache do the task of
creating the default registry keys in background queue process. When it is done
with the task it will tell all smbd childs to reload the printers and the 200
printers appear.

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Oct  1 20:28:23 CEST 2012 on sn-devel-104

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

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

7 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

7 years agos3: Fix bug 8966, Fix net rpc share allowedusers to work with 2008r2
Jeremy Allison [Mon, 1 Oct 2012 04:16:18 +0000 (06:16 +0200)]
s3: Fix bug 8966, Fix net rpc share allowedusers to work with 2008r2

The RAP NetShareEnum command was removed in 2008r2, so use the RPC
equivalent instead.

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Oct  1 07:59:34 CEST 2012 on sn-devel-104

7 years agos3: Fix libnss_winbind.so's build on Illumos/Solaris
Ira Cooper [Sun, 30 Sep 2012 19:02:13 +0000 (19:02 +0000)]
s3: Fix libnss_winbind.so's build on Illumos/Solaris

Due to not building and linking in the winbind_nss_solaris bits in addition
to the linux bits, nss was broken on Solaris.

Autobuild-User(master): Ira Cooper <ira@samba.org>
Autobuild-Date(master): Sun Sep 30 22:56:30 CEST 2012 on sn-devel-104

7 years agos4 dns: Fix return code for deleted records
Kai Blin [Sun, 30 Sep 2012 09:26:24 +0000 (11:26 +0200)]
s4 dns: Fix return code for deleted records

This fixes bug #9225. We already had a test for this scenario, but the test wasn't
correct. This patch fixes the test, and also fixes the bug.

Signed-off-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Sun Sep 30 13:09:14 CEST 2012 on sn-devel-104

7 years agos4 dns: Get rid of deprecated allocation result check
Kai Blin [Sun, 30 Sep 2012 08:44:03 +0000 (10:44 +0200)]
s4 dns: Get rid of deprecated allocation result check

7 years agoselftest: use an array when starting testenv with system()
Andrew Bartlett [Sat, 29 Sep 2012 10:40:13 +0000 (20:40 +1000)]
selftest: use an array when starting testenv with system()

By reduing the need for escapes and forcing the use of bash, this
seems to allow 'make testenv' to start on FreeBSD

Andrew Bartlett

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

7 years agos3: Fix opening a file under kernel oplocks
Volker Lendecke [Tue, 25 Sep 2012 18:37:33 +0000 (11:37 -0700)]
s3: Fix opening a file under kernel oplocks

With the prior code we assumed that we do not have kernel oplocks around
when we open a file because we handled samba-internal oplock breaks
before the open attempt.

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Sep 29 19:29:36 CEST 2012 on sn-devel-104

7 years agos3: Remove a SMB_ASSERT
Volker Lendecke [Thu, 13 Sep 2012 13:51:44 +0000 (15:51 +0200)]
s3: Remove a SMB_ASSERT

With the simplified logic this became unnecessary

7 years agos3: Close the now opened file descriptor in error paths
Volker Lendecke [Wed, 26 Sep 2012 20:20:57 +0000 (22:20 +0200)]
s3: Close the now opened file descriptor in error paths

7 years agos3: No code change, just re-indent
Volker Lendecke [Wed, 26 Sep 2012 17:52:14 +0000 (10:52 -0700)]
s3: No code change, just re-indent

Look at this with "git diff -b" if you don't believe me :-)

7 years agos3: Remove share mode handling before we open the file
Volker Lendecke [Thu, 13 Sep 2012 13:40:17 +0000 (15:40 +0200)]
s3: Remove share mode handling before we open the file

This is a significant behaviour change: We do not open the file under
the share mode lock anymore. This might lead to more open calls in case
of oplock breaks or sharing violations, but those are slow error paths
and as such might be not too performance sensitive. The benefit of this
patch is a significant reduction of complexity of open_file_ntcreate()

7 years agos3: Fix fcb_or_dos_open after logic change
Volker Lendecke [Thu, 13 Sep 2012 13:45:49 +0000 (15:45 +0200)]
s3: Fix fcb_or_dos_open after logic change

With the new behaviour, we call fcb_or_dos_open after open_file(). It
is open_file() that sets up the fsp so that fcb_or_dos_open can find it
in the list of fsps. Avoid finding the fsp we are just setting up.

7 years agos3: Copy share mode handling from before to after open_file
Volker Lendecke [Wed, 26 Sep 2012 17:39:42 +0000 (10:39 -0700)]
s3: Copy share mode handling from before to after open_file

This is a 1:1 copy&paste of the oplock/sharemode code that we do before
an existing file is opened. It is a prerequiste for a patch that removes
all of that handling before we open the file.

7 years agos3:libsmb: use smbXcli_conn_remote_name() in smb2_tcon_send()
Stefan Metzmacher [Fri, 28 Sep 2012 17:11:14 +0000 (19:11 +0200)]
s3:libsmb: use smbXcli_conn_remote_name() in smb2_tcon_send()

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Sep 29 11:52:43 CEST 2012 on sn-devel-104

7 years agos3:libsmb: make cli_echo* protocol independent
Stefan Metzmacher [Fri, 28 Sep 2012 18:00:21 +0000 (20:00 +0200)]
s3:libsmb: make cli_echo* protocol independent

metze

7 years agolibcli/smb: add smb1cli_echo*
Stefan Metzmacher [Fri, 28 Sep 2012 17:53:16 +0000 (19:53 +0200)]
libcli/smb: add smb1cli_echo*

metze

7 years agolibcli/smb: add smb2cli_echo*
Stefan Metzmacher [Fri, 28 Sep 2012 17:18:37 +0000 (19:18 +0200)]
libcli/smb: add smb2cli_echo*

metze

7 years agolibcli/smb: use an explicit TALLOC_FREE(subreq) in smb2cli_*
Stefan Metzmacher [Fri, 28 Sep 2012 17:48:26 +0000 (19:48 +0200)]
libcli/smb: use an explicit TALLOC_FREE(subreq) in smb2cli_*

metze

7 years agobuild: Remove duplicate check for struct getquota_rslt member getquota_rslt_u
Andrew Bartlett [Sat, 29 Sep 2012 04:31:28 +0000 (14:31 +1000)]
build: Remove duplicate check for struct getquota_rslt member getquota_rslt_u

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Sep 29 08:51:03 CEST 2012 on sn-devel-104

7 years agobuild: Fix quota tests, including move of sysquotas.c to the top level
Andrew Bartlett [Sat, 29 Sep 2012 04:28:57 +0000 (14:28 +1000)]
build: Fix quota tests, including move of sysquotas.c to the top level

This correctly detects quotas on FreeBSD

Andrew Bartlett

7 years agolib/replace: Add test for what flag we need for -Werror behaviour
Andrew Bartlett [Sat, 29 Sep 2012 04:36:41 +0000 (14:36 +1000)]
lib/replace: Add test for what flag we need for -Werror behaviour

7 years agos3-winbindd: Adjust error code loop logic in rpc_trusted_domains().
Günther Deschner [Fri, 28 Sep 2012 16:04:07 +0000 (18:04 +0200)]
s3-winbindd: Adjust error code loop logic in rpc_trusted_domains().

Guenther

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Sat Sep 29 00:34:04 CEST 2012 on sn-devel-104

7 years agos3-lsa: Flesh out the returned info in _lsa_EnumTrustedDomainsEx().
Günther Deschner [Fri, 28 Sep 2012 16:03:25 +0000 (18:03 +0200)]
s3-lsa: Flesh out the returned info in _lsa_EnumTrustedDomainsEx().

Guenther

7 years agos3-winbindd: Allow DNS resolution of trusted domains if DNS name is avaliable
Sumit Bose [Tue, 11 Sep 2012 11:28:35 +0000 (13:28 +0200)]
s3-winbindd: Allow DNS resolution of trusted domains if DNS name is avaliable

Signed-off-by: Günther Deschner <gd@samba.org>
7 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

7 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>
7 years agoWHATSNEW: Add changed parameters.
Karolin Seeger [Fri, 28 Sep 2012 10:40:14 +0000 (12:40 +0200)]
WHATSNEW: Add changed parameters.

Needs to be double-checked.

Karolin

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Fri Sep 28 14:22:52 CEST 2012 on sn-devel-104

7 years agoWHATSNEW: Start release notes for Samba 4.0.0rc2.
Karolin Seeger [Fri, 28 Sep 2012 09:30:06 +0000 (11:30 +0200)]
WHATSNEW: Start release notes for Samba 4.0.0rc2.

To be continued...

Karolin

7 years agoSupport UPN_DNS_INFO in the PAC
Simo Sorce [Thu, 27 Sep 2012 18:12:06 +0000 (14:12 -0400)]
Support UPN_DNS_INFO in the PAC

Previously marked as UNKNOWN_12 the UPN_DNS_INFO is defined in MS-PAC

Autobuild-User(master): Simo Sorce <idra@samba.org>
Autobuild-Date(master): Fri Sep 28 01:13:44 CEST 2012 on sn-devel-104

7 years agoFix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.
Jeremy Allison [Wed, 26 Sep 2012 23:58:58 +0000 (16:58 -0700)]
Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.

Ensure we correctly protect against blobs with data_offset==0
and data_length != 0.

Jeremy.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 27 22:07:02 CEST 2012 on sn-devel-104

7 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

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

7 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

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

7 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'.

7 years agos3: Fix some blank line endings
Volker Lendecke [Wed, 26 Sep 2012 23:53:48 +0000 (16:53 -0700)]
s3: Fix some blank line endings

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Sep 27 07:57:03 CEST 2012 on sn-devel-104

7 years agoRevert "smb.conf(5): Remove 'idmap config' documentation - the parameter has"
Christian Ambach [Thu, 27 Sep 2012 01:30:37 +0000 (18:30 -0700)]
Revert "smb.conf(5): Remove 'idmap config' documentation - the parameter has"

This reverts commit e809abf55f6a2e6d93bcb5678142f56c49aea397.

This parameter still exists, it is just only used as parametric option
in the code and not easy to spot when looking out for lp_xxx

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Thu Sep 27 06:18:38 CEST 2012 on sn-devel-104

7 years agos3:nfs4acls filter away inheritance flags on files
Christian Ambach [Tue, 25 Sep 2012 01:25:36 +0000 (03:25 +0200)]
s3:nfs4acls filter away inheritance flags on files

While it is possible to define inheritance flags on files on Windows, this will
be denied by GPFS and UFS (and potentially others).

So it will be better to strip of these bits when being set for files instead of
failing to set the ACL completely (this is current behavior).

Users that want to retain the full SD will have to use acl_xattr (acl_tdb), as
other pieces of the SD are also lost when translating to NFSv4. So this should
not be a too intrusive change, but allow users to migrate data with such flags
instead of failing to migrate the ACL completely.

7 years agos3:nfs4acls pass down fsp instead of just the filename
Christian Ambach [Mon, 24 Sep 2012 23:34:04 +0000 (01:34 +0200)]
s3:nfs4acls pass down fsp instead of just the filename

7 years agos3:passdb formatting changes
Christian Ambach [Mon, 24 Sep 2012 01:03:26 +0000 (03:03 +0200)]
s3:passdb formatting changes

fix some trailing whitespace and a typo

7 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

7 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'.

7 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'.

7 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'.

7 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.

7 years agosmb.conf(5): Add basic documentation for 'server min protocol'.
Jelmer Vernooij [Wed, 26 Sep 2012 22:55:04 +0000 (15:55 -0700)]
smb.conf(5): Add basic documentation for 'server min protocol'.

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

7 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

7 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

7 years agos3: For read-only shares, filter out write bits from conn->access_mask
Volker Lendecke [Wed, 26 Sep 2012 22:26:35 +0000 (15:26 -0700)]
s3: For read-only shares, filter out write bits from conn->access_mask

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 27 02:51:42 CEST 2012 on sn-devel-104

7 years agos3: Fix rejecting mkdir on read-only shares
Volker Lendecke [Wed, 26 Sep 2012 21:53:59 +0000 (14:53 -0700)]
s3: Fix rejecting mkdir on read-only shares

Signed-off-by: Jeremy Allison <jra@samba.org>
7 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

7 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'.

7 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'.

7 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'.

7 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'.

7 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'.

7 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'.

7 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'.

7 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.

7 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.

7 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

7 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.

7 years agonetlogon: Per MS-NRPC, don't send unknown workstation flags back to the
Jelmer Vernooij [Wed, 26 Sep 2012 17:47:56 +0000 (19:47 +0200)]
netlogon: Per MS-NRPC, don't send unknown workstation flags back to the
client.

7 years agos4: Fix a -Wunused-value warning
Volker Lendecke [Wed, 26 Sep 2012 17:07:32 +0000 (10:07 -0700)]
s4: Fix a -Wunused-value warning

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 26 21:52:00 CEST 2012 on sn-devel-104

7 years agos3-spoolss: Fix builtin forms order to match Windows again.
Andreas Schneider [Wed, 26 Sep 2012 16:21:55 +0000 (18:21 +0200)]
s3-spoolss: Fix builtin forms order to match Windows again.

Thanks to mamachine@gmail.com.

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 26 20:07:44 CEST 2012 on sn-devel-104

7 years agos3: Slightly simplify open_file()
Volker Lendecke [Tue, 4 Sep 2012 08:36:47 +0000 (10:36 +0200)]
s3: Slightly simplify open_file()

The "else" is not necessary. In the if-branch we just returned.

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 26 18:08:03 CEST 2012 on sn-devel-104

7 years agoCoding: Add comment disproving control-flow changing macros
Volker Lendecke [Wed, 30 May 2012 08:14:51 +0000 (10:14 +0200)]
Coding: Add comment disproving control-flow changing macros

7 years agos3: Slightly simplify calculate_open_access_flags
Volker Lendecke [Tue, 4 Sep 2012 07:28:26 +0000 (09:28 +0200)]
s3: Slightly simplify calculate_open_access_flags

7 years agos3: Slightly simplify calculate_open_access_flags
Volker Lendecke [Tue, 4 Sep 2012 07:26:28 +0000 (09:26 +0200)]
s3: Slightly simplify calculate_open_access_flags

7 years agos3-smbd: Don't segfault if user specified ports out for range.
Andreas Schneider [Tue, 25 Sep 2012 12:28:22 +0000 (14:28 +0200)]
s3-smbd: Don't segfault if user specified ports out for range.

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 26 16:28:44 CEST 2012 on sn-devel-104

7 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