gd/samba-autobuild/.git
11 years agolibtorture: factor out simple ui backend
Gregor Beck [Tue, 18 Oct 2011 11:15:22 +0000 (13:15 +0200)]
libtorture: factor out simple ui backend

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agos3:dbwrap: remove unused args from db_open_file()
Gregor Beck [Tue, 25 Oct 2011 12:51:23 +0000 (14:51 +0200)]
s3:dbwrap: remove unused args from db_open_file()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agos3:dbwrap: let dbwrap_fetch_uint32 distinguish between "not found" and "wrong format"
Gregor Beck [Tue, 25 Oct 2011 07:33:05 +0000 (09:33 +0200)]
s3:dbwrap: let dbwrap_fetch_uint32 distinguish between "not found" and "wrong format"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agodynconfig/config.m4: disallow --prefix=/usr and --prefix=/usr/local without --enable-fhs
Stefan Metzmacher [Wed, 18 Jan 2012 07:33:37 +0000 (08:33 +0100)]
dynconfig/config.m4: disallow --prefix=/usr and --prefix=/usr/local without --enable-fhs

This matches the waf configure behavior and catches the case where old build
scripts try '--with-fhs' instead of '--enable-fhs'.

metze

11 years agolibwbclient: bump ABI to 0.11 as wbcAuthenticateUserEx now provides PAC parsing
Andrew Bartlett [Fri, 21 Sep 2012 02:46:31 +0000 (19:46 -0700)]
libwbclient: bump ABI to 0.11 as wbcAuthenticateUserEx now provides PAC parsing

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 21 06:37:15 CEST 2012 on sn-devel-104

11 years agos4-torture: Complete test for winbindd PAC parsing
Christof Schmitt [Fri, 21 Sep 2012 01:30:07 +0000 (18:30 -0700)]
s4-torture: Complete test for winbindd PAC parsing

Decode the PAC through the wbcAuthenticateUserEx call, also decode it
locally and compare the result.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
11 years agoauth/kerberos: Adjust log level for failed PAC signature verification
Christof Schmitt [Mon, 30 Jul 2012 18:03:54 +0000 (11:03 -0700)]
auth/kerberos: Adjust log level for failed PAC signature verification

With winbindd trying to verify the signature of an application provided
PAC, this message can be easily triggered. Adjust the debug level to
avoid filling up the logs.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
11 years agowinbind: Extend wbcAuthenticateUserEx to provide PAC
Christof Schmitt [Wed, 18 Jul 2012 21:38:47 +0000 (14:38 -0700)]
winbind: Extend wbcAuthenticateUserEx to provide PAC

With this new interface, external applications that have authenticated
to an ADS can pass the PAC from the Kerberos ticket to
wbcAuthenticateUserEx. winbindd decodes and extracts the info3
information for the external application. If winbindd can verify the PAC
signature, the info3 from the PACis also added to the netsamlogon_cache.

The info3 data can be used by the external application to get the uid
and primary gid. The data in netsamlogon_cache allows to retrieve the
complete group list through the NSS function getgrouplist.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
11 years agoauth: Fix some nonempty blank lines
Volker Lendecke [Tue, 18 Sep 2012 17:34:48 +0000 (10:34 -0700)]
auth: Fix some nonempty blank lines

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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 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

11 years agovfs: fix lock logging in vfs_full_audit
David Disseldorp [Thu, 20 Sep 2012 06:20:57 +0000 (08:20 +0200)]
vfs: fix lock logging in vfs_full_audit

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

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

11 years agos3:smb2_server: fix usage of invalid memory in smb2_signing_check_pdu()
Stefan Metzmacher [Wed, 19 Sep 2012 22:42:02 +0000 (00:42 +0200)]
s3:smb2_server: fix usage of invalid memory in smb2_signing_check_pdu()

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Sep 20 07:18:31 CEST 2012 on sn-devel-104

11 years agos3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if"
Michael Adam [Wed, 19 Sep 2012 00:57:37 +0000 (02:57 +0200)]
s3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if"

in idmap_tdb_common_sids_to_unixids()

11 years agos3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if"
Michael Adam [Wed, 19 Sep 2012 00:57:37 +0000 (02:57 +0200)]
s3:winbind:idmap_tdb_common: improve readability of assignment by adding an "if"

in idmap_tdb_common_unixids_to_sids()

11 years agos3: Fix idmap_hash
Volker Lendecke [Tue, 18 Sep 2012 22:31:26 +0000 (15:31 -0700)]
s3: Fix idmap_hash

Calling be_init with NULL safely crashes, because we dereference NULL. We
don't need to call it here, this is called in all workers anyway. Thanks
to Jiri Sasek <jiri.sasek@oracle.com> for finding this.

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

11 years agoselftest: we currently fail smb2.durable-v2-open.app-instance
Michael Adam [Fri, 7 Sep 2012 14:42:37 +0000 (16:42 +0200)]
selftest: we currently fail smb2.durable-v2-open.app-instance

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 19 23:05:43 CEST 2012 on sn-devel-104

11 years agos4:torture:smb2: add a new test durable-v2-open.app-instance
Michael Adam [Fri, 7 Sep 2012 12:30:07 +0000 (14:30 +0200)]
s4:torture:smb2: add a new test durable-v2-open.app-instance

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

11 years agos4:libci: add a SMB2_CREATE_APP_INSTANCE_ID blob to the request if the in.app_instanc...
Michael Adam [Fri, 7 Sep 2012 10:06:36 +0000 (12:06 +0200)]
s4:libci: add a SMB2_CREATE_APP_INSTANCE_ID blob to the request if the in.app_instance_id is present

11 years agos4:libcli: add a app_instance_id member to the smb2_create input struct
Michael Adam [Fri, 7 Sep 2012 10:06:05 +0000 (12:06 +0200)]
s4:libcli: add a app_instance_id member to the smb2_create input struct

11 years agolibcli: add a define for the APP_INSTANCE_ID smb2 create context
Michael Adam [Fri, 7 Sep 2012 10:05:24 +0000 (12:05 +0200)]
libcli: add a define for the APP_INSTANCE_ID smb2 create context

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

11 years agolibcli/smb: fix padding in smb2_create_blob*
Stefan Metzmacher [Wed, 19 Sep 2012 06:11:23 +0000 (08:11 +0200)]
libcli/smb: fix padding in smb2_create_blob*

metze

11 years agopam_winbind: match more return codes when wbcGetPwnam has failed.
Günther Deschner [Wed, 19 Sep 2012 08:59:50 +0000 (10:59 +0200)]
pam_winbind: match more return codes when wbcGetPwnam has failed.

This is required to properly return PAM_USER_UNKNOWN in case winbind had a
problem.

Guenther

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Sep 19 15:06:10 CEST 2012 on sn-devel-104

11 years agos3: Use SBVAL in put_long_date_timespec
Volker Lendecke [Tue, 18 Sep 2012 21:35:39 +0000 (14:35 -0700)]
s3: Use SBVAL in put_long_date_timespec

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104

11 years agos3: Fix some nonempty line endings
Volker Lendecke [Tue, 18 Sep 2012 18:56:03 +0000 (11:56 -0700)]
s3: Fix some nonempty line endings

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Sep 18 22:39:07 CEST 2012 on sn-devel-104

11 years agoreplace: fix 520c9b0b0ae33
Björn Jacke [Tue, 18 Sep 2012 12:04:06 +0000 (14:04 +0200)]
replace: fix 520c9b0b0ae33

fix typo in ifdef. Thanks to Joachim Schmitz for spotting this!

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

11 years agoquota: add supprt for gfs2
Björn Jacke [Tue, 18 Sep 2012 11:57:30 +0000 (13:57 +0200)]
quota: add supprt for gfs2

gfs2 uses the same generic quota interface as xfs and it has the same base
block/quota block size ratio and seems to work nice with the xfs quota module.

(People using gfs should be aware that quota reporting is lagging quite a bit
on gfs.  If you copy a file on a gfs volume the quota values are being updated
with a delay of 30s here with kernel 3.5. This reporting can lead to data
corruption if a client thinks he can write but actually he suddently can't.)

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 agopanic action is defined as GLOBAL_VAR(szPanicAction) not GLOBAL_VAR(panic_action)
Matthieu Patou [Mon, 17 Sep 2012 23:51:02 +0000 (16:51 -0700)]
panic action is defined as GLOBAL_VAR(szPanicAction) not GLOBAL_VAR(panic_action)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep 18 06:12:00 CEST 2012 on sn-devel-104

11 years agopackaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and "BUILD_GPFS=no makerpms.sh"
Stefan Metzmacher [Mon, 17 Sep 2012 16:15:03 +0000 (18:15 +0200)]
packaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and "BUILD_GPFS=no makerpms.sh"

metze

11 years agopackaging/RHEL-CTDB: try harder to set $RPMVER
Stefan Metzmacher [Mon, 17 Sep 2012 16:15:03 +0000 (18:15 +0200)]
packaging/RHEL-CTDB: try harder to set $RPMVER

metze

11 years agopackaging/RHEL-CTDB: fix the build
Stefan Metzmacher [Mon, 17 Sep 2012 16:15:03 +0000 (18:15 +0200)]
packaging/RHEL-CTDB: fix the build

metze

11 years agosource3/script: fix installman.sh after the last build-manpages-nogit change
Michael Adam [Tue, 18 Sep 2012 00:30:27 +0000 (20:30 -0400)]
source3/script: fix installman.sh after the last build-manpages-nogit change

    commit cfdab79729e8507a7504b0224c60454d3bc40ffc
    Author: Michael Adam <obnox@samba.org>
    Date:   Wed Sep 12 15:46:35 2012 +0200

        release-scripts: let build-manpages-nogit store generated docs under ./bin/docs

        not under ./docs

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agoFix service control for non-internal services.
Vladimir Marek [Mon, 17 Sep 2012 20:50:55 +0000 (13:50 -0700)]
Fix service control for non-internal services.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 18 01:42:23 CEST 2012 on sn-devel-104

11 years agolibreplace: Bug 8107, Fix poll replacement to become a msleep replacement
Joachim Schmitz [Mon, 17 Sep 2012 12:26:31 +0000 (05:26 -0700)]
libreplace: Bug 8107, Fix poll replacement to become a msleep replacement

Signed-off-by: Jeremy Allison <jra@samba.org>
11 years agoldb: bump version to 1.1.13 so the 4.0 release can get the isprint fix ldb-1.1.13
Andrew Bartlett [Mon, 17 Sep 2012 18:57:33 +0000 (11:57 -0700)]
ldb: bump version to 1.1.13 so the 4.0 release can get the isprint fix

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep 17 23:47:57 CEST 2012 on sn-devel-104

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 agos3:libsmb fix a double free error
Christian Ambach [Mon, 17 Sep 2012 04:45:56 +0000 (21:45 -0700)]
s3:libsmb fix a double free error

t refers to self->thread_state that is freed a few lines below

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104

11 years agodocs-xml: fix build of winbindd- and krb5 locator-related manpages
Alexander Bokovoy [Mon, 17 Sep 2012 16:09:35 +0000 (19:09 +0300)]
docs-xml: fix build of winbindd- and krb5 locator-related manpages

These manpages depend on docs-xml infrastructure (samba DTDs)

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Mon Sep 17 19:52:53 CEST 2012 on sn-devel-104

11 years agodocs-xml: convert smb.conf.5 build to waf
Alexander Bokovoy [Mon, 17 Sep 2012 10:07:26 +0000 (13:07 +0300)]
docs-xml: convert smb.conf.5 build to waf

smb.conf(5) is different from other manpages because before it is
built, it gets merged together from a number of smaller files, one
per parameter. So we first create a parameters.all.xml file that
references all these files and then include it into master smb.conf.5.xml

One small issue is how to handle generated files in WAF build
from xi:include perspective as the files are generated in bin/default/docs-xml
rather than in docs-xml. We solve this by further expanding use of XML catalogs
and rewriting virtual path http://www.samba.org/samba/smbdotconf/ to proper
location.

Both docs-xml autoconf and waf builds work correctly now.

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Mon Sep 17 14:18:31 CEST 2012 on sn-devel-104

11 years agos3:libsmb fix a potential crash
Christian Ambach [Sat, 15 Sep 2012 22:15:21 +0000 (00:15 +0200)]
s3:libsmb fix a potential crash

Signed-off-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Sun Sep 16 22:31:38 CEST 2012 on sn-devel-104

11 years agos3:vfs_gpfs: fix build
Christian Ambach [Sat, 15 Sep 2012 20:57:51 +0000 (22:57 +0200)]
s3:vfs_gpfs: fix build
after recent VFS changes

11 years agos3:auth fix a compiler warning
Christian Ambach [Sat, 15 Sep 2012 20:47:06 +0000 (22:47 +0200)]
s3:auth fix a compiler warning

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

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

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

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

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

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

11 years agoreplace: add some includes for poll.h
Björn Jacke [Sun, 16 Sep 2012 00:21:39 +0000 (02:21 +0200)]
replace: add some includes for poll.h

See bug #8107

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Sep 16 04:05:08 CEST 2012 on sn-devel-104

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 agoAdd 'bool use_privs' to smbd_calculate_access_mask().
Jeremy Allison [Fri, 14 Sep 2012 00:12:24 +0000 (17:12 -0700)]
Add 'bool use_privs' to smbd_calculate_access_mask().

Replaces blanket root allow if set. Set to 'false' for
all current callers.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 15 00:37:49 CEST 2012 on sn-devel-104

11 years agoFix bad string in debug message (remove it).
Jeremy Allison [Fri, 14 Sep 2012 00:08:43 +0000 (17:08 -0700)]
Fix bad string in debug message (remove it).

11 years agoAdd bool use_privs parameter to smbd_check_access_rights()
Jeremy Allison [Thu, 13 Sep 2012 23:11:31 +0000 (16:11 -0700)]
Add bool use_privs parameter to smbd_check_access_rights()

If this is set we should use it in preference to blindly assuming
root can do anything. Currently set to 'false' in (most) callers.

11 years agoAdd "backup_intent" bool.
Jeremy Allison [Thu, 13 Sep 2012 22:35:21 +0000 (15:35 -0700)]
Add "backup_intent" bool.

11 years agoDon't call can_write_to_file() if we already have 'fsp->can_write' set.
Jeremy Allison [Thu, 13 Sep 2012 21:36:57 +0000 (14:36 -0700)]
Don't call can_write_to_file() if we already have 'fsp->can_write' set.

11 years agobuild: Fix build on systems without ldap development headers
Andrew Bartlett [Fri, 14 Sep 2012 18:58:02 +0000 (11:58 -0700)]
build: Fix build on systems without ldap development headers

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 14 22:53:30 CEST 2012 on sn-devel-104

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 agos4:torture: fix error reporting in the raw.oplock-brl3 test
Michael Adam [Thu, 13 Sep 2012 12:06:40 +0000 (14:06 +0200)]
s4:torture: fix error reporting in the raw.oplock-brl3 test

Error was assigned to a variable that was not returned.

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Sep 14 14:05:20 CEST 2012 on sn-devel-104

11 years agos3: fix the hpux acl module
Björn Jacke [Fri, 14 Sep 2012 08:01:33 +0000 (10:01 +0200)]
s3: fix the hpux acl module

This was not adopted to the recent VFS acl structure changes.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Sep 14 12:23:23 CEST 2012 on sn-devel-104

11 years agos3: fix the tru64 acl module
Björn Jacke [Fri, 14 Sep 2012 07:40:07 +0000 (09:40 +0200)]
s3: fix the tru64 acl module

This was not adopted to the recent VFS acl structure changes.

11 years agos3: fix the aix acl module
Björn Jacke [Fri, 14 Sep 2012 07:35:53 +0000 (09:35 +0200)]
s3: fix the aix acl module

This was not adopted to the recent VFS acl structure changes.

11 years agoWHATSNEW: Fix some issues in the release notes.
Karolin Seeger [Fri, 14 Sep 2012 06:57:25 +0000 (08:57 +0200)]
WHATSNEW: Fix some issues in the release notes.

Karolin

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

11 years agos3: Fix the vfs_solarisacl module to compile.
Ira Cooper [Fri, 14 Sep 2012 01:32:45 +0000 (01:32 +0000)]
s3: Fix the vfs_solarisacl module to compile.

This got broken with the recent VFS acl structure changes.

Autobuild-User(master): Ira Cooper <ira@samba.org>
Autobuild-Date(master): Fri Sep 14 05:21:29 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 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

11 years agos3: make smbldaphelper subsystem an internal library
Alexander Bokovoy [Thu, 13 Sep 2012 17:29:25 +0000 (20:29 +0300)]
s3: make smbldaphelper subsystem an internal library

Break pdb_ldap -> smbldaphelper -> pdb -> pdb_ldap loop by
making smbldaphelp intentionally underlinked internal library.

It means that libsmbldaphelp is not usable unless its user is
also linked to libpdb (that is the case for both its users,
idmap_ldap and pdb_ldap, already) but gives us a break of
the circular dependency in case pdb_ldap statically linked
into pdb (default).

This should solve case when idmap_ldap and pdb_ldap are dynamically
loaded modules

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Fri Sep 14 01:02:21 CEST 2012 on sn-devel-104

11 years agoSigh :-(. Removing optimization prematurely is the root of all evil :-(.
Jeremy Allison [Thu, 13 Sep 2012 17:13:21 +0000 (10:13 -0700)]
Sigh :-(. Removing optimization prematurely is the root of all evil :-(.

Sorry for the mistake, but the LastDir singleton cache in vfs_ChDir()
actually plays an important role. When we're processing a stream of
SMB1/SMB2/SMB3 requests we don't want to add a chdir()/getcwd()
system call pair on every request if they're all on the same connection
and dealing with the same base path.

I did some testing with a program that times 1,000,000 chdir()
requests vs. 1,000,000 strcmp requests and it's a penalty of 10x
doing the system calls.

Just because it's old code, doesn't mean it's bad :-(.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 13 21:31:42 CEST 2012 on sn-devel-104

11 years agodocs: Fix generating idmap manpages.
Andreas Schneider [Thu, 13 Sep 2012 15:52:13 +0000 (17:52 +0200)]
docs: Fix generating idmap manpages.

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Sep 13 19:52:53 CEST 2012 on sn-devel-104

11 years agos3: make ldapsam-related functions a smbldaphelper subsystem
Alexander Bokovoy [Thu, 13 Sep 2012 12:40:31 +0000 (15:40 +0300)]
s3: make ldapsam-related functions a smbldaphelper subsystem

Since these functions are used in pdb_ldap and idmap_ldap, and
pdb_ldap might be statically linked to libpdb (default), it is
better to keep them as separate subsystem to avoid polluting libpdb
namespace.

This is first step in refactoring libpdb. Right now I cannot move
these functions into proper libsmbldaphelper as it uses more of
libpdb-included functions and linking pdb_ldap against libsmbldaphelper
library would have created a loop if pdb_ldap is included into libpdb.

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Thu Sep 13 17:36:07 CEST 2012 on sn-devel-104

11 years agoVERSION: Bump version up to 4.1.0pre1
Michael Adam [Wed, 12 Sep 2012 13:34:29 +0000 (15:34 +0200)]
VERSION: Bump version up to 4.1.0pre1

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Sep 13 01:35:33 CEST 2012 on sn-devel-104

11 years agoVERSION: Release Samba 4.0.0rc1 samba-4.0.0rc1
Michael Adam [Wed, 12 Sep 2012 13:30:24 +0000 (15:30 +0200)]
VERSION: Release Samba 4.0.0rc1

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

11 years agoWHATSNEW: prepare release notes for 4.0.0rc1
Michael Adam [Wed, 12 Sep 2012 13:27:48 +0000 (15:27 +0200)]
WHATSNEW: prepare release notes for 4.0.0rc1

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

11 years agobuild:dist: call source3/autogen.sh and packaged generated files
Michael Adam [Wed, 12 Sep 2012 15:11:28 +0000 (17:11 +0200)]
build:dist: call source3/autogen.sh and packaged generated files

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agobuild:dist: call build-manpages-nogit for make dist and package generated files
Michael Adam [Wed, 12 Sep 2012 15:10:31 +0000 (17:10 +0200)]
build:dist: call build-manpages-nogit for make dist and package generated files

so that we always have generated manpages under docs/manpages in the release
tarball

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agobuild:dist: extend meaning of DIST_FILES to also recurse into directories
Michael Adam [Wed, 12 Sep 2012 15:06:23 +0000 (17:06 +0200)]
build:dist: extend meaning of DIST_FILES to also recurse into directories

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

11 years agobuild:dist: make use of file / distfile more obvious in handling of DIST_FILES in...
Michael Adam [Wed, 12 Sep 2012 21:45:50 +0000 (23:45 +0200)]
build:dist: make use of file / distfile more obvious in handling of DIST_FILES in "make dist"

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