obnox/samba/samba-obnox.git
14 years agos3-waf: fix linking of eventlogadm by adding cap as dependency s3-waf-wip
Michael Adam [Wed, 12 May 2010 21:48:10 +0000 (23:48 +0200)]
s3-waf: fix linking of eventlogadm by adding cap as dependency

14 years agos3-waf: fix linking of swat by adding cap as dependency
Michael Adam [Wed, 12 May 2010 21:47:36 +0000 (23:47 +0200)]
s3-waf: fix linking of swat by adding cap as dependency

14 years agos3-waf: Fix build with ldap by adding a SMBLDAP subsystem
Kai Blin [Wed, 12 May 2010 20:43:18 +0000 (22:43 +0200)]
s3-waf: Fix build with ldap by adding a SMBLDAP subsystem

14 years agos3-waf: fix the winbindd build again
Kai Blin [Wed, 12 May 2010 11:39:00 +0000 (05:39 -0600)]
s3-waf: fix the winbindd build again

14 years agos3-waf: Fix up PIDL includes.
Kai Blin [Wed, 12 May 2010 11:23:27 +0000 (05:23 -0600)]
s3-waf: Fix up PIDL includes.

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

14 years agos3-waf: Some files moved during the rebase
Kai Blin [Wed, 12 May 2010 10:32:30 +0000 (04:32 -0600)]
s3-waf: Some files moved during the rebase

14 years agos3-waf: Add autogeneration with PIDL
Stefan Metzmacher [Wed, 12 May 2010 10:31:27 +0000 (04:31 -0600)]
s3-waf: Add autogeneration with PIDL

14 years agos3-waf: Remove references to LDB
Kai Blin [Wed, 12 May 2010 10:27:49 +0000 (04:27 -0600)]
s3-waf: Remove references to LDB

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

14 years agos3-waf: Also include source4/ when looking for headers
Stefan Metzmacher [Wed, 12 May 2010 10:23:10 +0000 (04:23 -0600)]
s3-waf: Also include source4/ when looking for headers

14 years agos3-waf: build shared modules as subsystems
Kai Blin [Tue, 11 May 2010 15:44:25 +0000 (17:44 +0200)]
s3-waf: build shared modules as subsystems

14 years agos3-waf: autogenerate lists of static modules
Kai Blin [Tue, 11 May 2010 15:14:54 +0000 (17:14 +0200)]
s3-waf: autogenerate lists of static modules

14 years agos3-waf: clean up includes
Kai Blin [Tue, 11 May 2010 15:13:05 +0000 (17:13 +0200)]
s3-waf: clean up includes

14 years agos3-waf: create a SECRETS subsystem
Kai Blin [Tue, 11 May 2010 15:11:41 +0000 (17:11 +0200)]
s3-waf: create a SECRETS subsystem

14 years agos3-waf: clean up dependencies a little
Kai Blin [Tue, 11 May 2010 13:24:13 +0000 (15:24 +0200)]
s3-waf: clean up dependencies a little

14 years agos3-waf: tdb includes are in lib/tdb/include
Kai Blin [Tue, 11 May 2010 13:23:37 +0000 (15:23 +0200)]
s3-waf: tdb includes are in lib/tdb/include

14 years agos3-waf: fix eventlogadm build with winbind
Kai Blin [Tue, 11 May 2010 13:00:43 +0000 (15:00 +0200)]
s3-waf: fix eventlogadm build with winbind

14 years agos3-waf: Autogenerate the static and dynamic init function calls
Kai Blin [Tue, 11 May 2010 08:32:07 +0000 (10:32 +0200)]
s3-waf: Autogenerate the static and dynamic init function calls

14 years agos3-waf: add popt and tdb include dirs to the includes list
Kai Blin [Tue, 11 May 2010 08:31:22 +0000 (10:31 +0200)]
s3-waf: add popt and tdb include dirs to the includes list

14 years agos3-waf: Fix up the winbindd build
Kai Blin [Tue, 11 May 2010 08:30:25 +0000 (10:30 +0200)]
s3-waf: Fix up the winbindd build

14 years agos3-waf: add eventlogadm binary
Kai Blin [Fri, 30 Apr 2010 17:45:06 +0000 (19:45 +0200)]
s3-waf: add eventlogadm binary

14 years agos3-waf: Use a common subsystem for the kerberos client code
Kai Blin [Fri, 30 Apr 2010 12:43:57 +0000 (14:43 +0200)]
s3-waf: Use a common subsystem for the kerberos client code

14 years agos3-waf: Use a common subsystem for samba-popt code
Kai Blin [Fri, 30 Apr 2010 12:33:49 +0000 (14:33 +0200)]
s3-waf: Use a common subsystem for samba-popt code

14 years agoHACK s3-waf: note that the options are broken
Kai Blin [Fri, 30 Apr 2010 12:22:06 +0000 (14:22 +0200)]
HACK s3-waf: note that the options are broken

14 years agos3-waf: replace all - with _ in the configuration option names
Kai Blin [Fri, 30 Apr 2010 12:21:28 +0000 (14:21 +0200)]
s3-waf: replace all - with _ in the configuration option names

14 years agos3-waf: Build swat
Kai Blin [Fri, 30 Apr 2010 12:18:20 +0000 (14:18 +0200)]
s3-waf: Build swat

14 years agos3-waf: build winbindd again
Kai Blin [Fri, 30 Apr 2010 12:17:30 +0000 (14:17 +0200)]
s3-waf: build winbindd again

14 years agos3-waf: fix up the LDAP objects if LDAP isn't built
Kai Blin [Fri, 30 Apr 2010 09:25:52 +0000 (11:25 +0200)]
s3-waf: fix up the LDAP objects if LDAP isn't built

14 years agos3-waf: install swat files
Andrew Tridgell [Sun, 18 Apr 2010 12:43:01 +0000 (06:43 -0600)]
s3-waf: install swat files

14 years agos3-waf: fixed install path for sbin binaries
Andrew Tridgell [Sun, 18 Apr 2010 12:42:49 +0000 (06:42 -0600)]
s3-waf: fixed install path for sbin binaries

14 years agos3-waf: fixed SWATDIR to match old build
Andrew Tridgell [Sun, 18 Apr 2010 12:42:20 +0000 (06:42 -0600)]
s3-waf: fixed SWATDIR to match old build

14 years agos3-waf: Fix the minimal build
Kai Blin [Fri, 30 Apr 2010 08:15:11 +0000 (10:15 +0200)]
s3-waf: Fix the minimal build

When using the internal zlib and popt, the dependencies and includes
have to be adapted a bit

14 years agos3-waf: Fix the build --with-ldap
Kai Blin [Fri, 30 Apr 2010 08:07:28 +0000 (02:07 -0600)]
s3-waf: Fix the build --with-ldap

The LDAP source files as set by configure weren't detected correctly in the wscript_build
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

14 years agos3-waf: Fix global includes to fix waf configure --help output
Kai Blin [Fri, 23 Apr 2010 06:59:43 +0000 (08:59 +0200)]
s3-waf: Fix global includes to fix waf configure --help output

14 years agos3-waf: Introduce more subsystems to reduce build time
Kai Blin [Thu, 22 Apr 2010 21:33:38 +0000 (23:33 +0200)]
s3-waf: Introduce more subsystems to reduce build time

14 years agos3-waf: Don't build winbindd when --without-winbind is set
Kai Blin [Wed, 21 Apr 2010 20:31:35 +0000 (22:31 +0200)]
s3-waf: Don't build winbindd when --without-winbind is set

14 years agos3-waf: Get winbindd to build again with current master
Kai Blin [Wed, 21 Apr 2010 09:08:37 +0000 (11:08 +0200)]
s3-waf: Get winbindd to build again with current master

14 years agos3-waf: Add dummy configuration option for pthreadpool
Kai Blin [Wed, 21 Apr 2010 06:07:50 +0000 (08:07 +0200)]
s3-waf: Add dummy configuration option for pthreadpool

14 years agos3-waf: Add dummy configuration option for utmp
Kai Blin [Wed, 21 Apr 2010 06:04:12 +0000 (08:04 +0200)]
s3-waf: Add dummy configuration option for utmp

14 years agos3-waf: Add dummy configuration option for sendfile-support
Kai Blin [Wed, 21 Apr 2010 06:03:38 +0000 (08:03 +0200)]
s3-waf: Add dummy configuration option for sendfile-support

14 years agos3-waf: Add dummy configuration options for quotas
Kai Blin [Wed, 21 Apr 2010 06:02:31 +0000 (08:02 +0200)]
s3-waf: Add dummy configuration options for quotas

14 years agos3-waf: Add dummy configuration option for PAM
Kai Blin [Wed, 21 Apr 2010 06:00:52 +0000 (08:00 +0200)]
s3-waf: Add dummy configuration option for PAM

14 years agos3-waf: Add configuration option for merged build
Kai Blin [Wed, 21 Apr 2010 05:58:44 +0000 (07:58 +0200)]
s3-waf: Add configuration option for merged build

This doesn't enable the merged build, but doesn't error out when the --disable-merged-build configuration option is set

14 years agos3-waf: Fix install location of testparm and wbinfo
Kai Blin [Sun, 18 Apr 2010 08:08:25 +0000 (10:08 +0200)]
s3-waf: Fix install location of testparm and wbinfo

14 years agos3-waf: Build LDB as a subsystem
Kai Blin [Sun, 18 Apr 2010 08:07:54 +0000 (10:07 +0200)]
s3-waf: Build LDB as a subsystem

14 years agos3-waf: build testparm and winbindd
Kai Blin [Sun, 18 Apr 2010 07:30:59 +0000 (09:30 +0200)]
s3-waf: build testparm and winbindd

14 years agoHACK: s3-waf: twiddle with defines to get winbindd to build
Kai Blin [Sun, 18 Apr 2010 07:28:38 +0000 (09:28 +0200)]
HACK: s3-waf: twiddle with defines to get winbindd to build

14 years agos3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf
Kai Blin [Sun, 18 Apr 2010 07:26:54 +0000 (09:26 +0200)]
s3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf

14 years agos3-waf: merged auth subsystem changes from master
Andrew Tridgell [Mon, 12 Apr 2010 06:05:40 +0000 (00:05 -0600)]
s3-waf: merged auth subsystem changes from master

14 years agos3-waf: move the KRB5_DEPRECATED check into lib/replace
Andrew Tridgell [Mon, 12 Apr 2010 06:40:54 +0000 (00:40 -0600)]
s3-waf: move the KRB5_DEPRECATED check into lib/replace

this needs to be with the krb5.h check

14 years agos3-waf: Don't recurse into tsocket dir during configure
Kai Blin [Mon, 12 Apr 2010 05:21:41 +0000 (07:21 +0200)]
s3-waf: Don't recurse into tsocket dir during configure

14 years agos3-waf: Add enable selftest configuration option
Andrew Tridgell [Thu, 8 Apr 2010 19:05:36 +0000 (13:05 -0600)]
s3-waf: Add enable selftest configuration option

14 years agos3-waf: correctly handle the libcap dependency when libcap is not installed
Andrew Tridgell [Thu, 8 Apr 2010 21:03:40 +0000 (15:03 -0600)]
s3-waf: correctly handle the libcap dependency when libcap is not installed

14 years agos3-waf: build wbinfo using waf
Kai Blin [Sun, 11 Apr 2010 21:01:29 +0000 (23:01 +0200)]
s3-waf: build wbinfo using waf

14 years agos3-waf: Add ctags command
Kai Blin [Sun, 11 Apr 2010 20:43:23 +0000 (22:43 +0200)]
s3-waf: Add ctags command

14 years agos3-waf: Build nmbd using waf as well
Kai Blin [Sun, 11 Apr 2010 20:05:50 +0000 (22:05 +0200)]
s3-waf: Build nmbd using waf as well

14 years agos3-waf: Support smbd build without ldap and kerberos
Kai Blin [Sun, 11 Apr 2010 20:05:10 +0000 (22:05 +0200)]
s3-waf: Support smbd build without ldap and kerberos

14 years agoHACK s3-waf: disable all the defines again
Kai Blin [Sun, 11 Apr 2010 08:36:40 +0000 (10:36 +0200)]
HACK s3-waf: disable all the defines again

14 years agos3-waf: Allow building without ads/ldap/krb5 even if the libs are installed
Kai Blin [Sun, 11 Apr 2010 08:36:05 +0000 (10:36 +0200)]
s3-waf: Allow building without ads/ldap/krb5 even if the libs are installed

14 years agobuild: Don't look for krb5.h in libreplace
Kai Blin [Sun, 11 Apr 2010 08:34:52 +0000 (10:34 +0200)]
build: Don't look for krb5.h in libreplace

14 years agos3-waf: Allow using --enable/--disable options as well
Kai Blin [Sun, 11 Apr 2010 08:34:12 +0000 (10:34 +0200)]
s3-waf: Allow using --enable/--disable options as well

14 years agos3-waf: correctly handle cups dependencies when cups development packages are not...
Andrew Tridgell [Thu, 8 Apr 2010 21:04:55 +0000 (15:04 -0600)]
s3-waf: correctly handle cups dependencies when cups development packages are not installed

14 years agos3-waf: Add helper that facilitates defining --with-x and --without-x options
Kai Blin [Sun, 11 Apr 2010 07:35:08 +0000 (09:35 +0200)]
s3-waf: Add helper that facilitates defining --with-x and --without-x options

14 years agos3-waf: Fix the CUPS dependency
Kai Blin [Thu, 8 Apr 2010 06:09:11 +0000 (08:09 +0200)]
s3-waf: Fix the CUPS dependency

14 years agoHACK s3-waf: All sorts of nasty hacks to finally get smbd to build/link
Andrew Tridgell [Wed, 7 Apr 2010 13:34:12 +0000 (07:34 -0600)]
HACK s3-waf: All sorts of nasty hacks to finally get smbd to build/link

Pair-Programmed-With: Kai Blin <kai@samba.org>

14 years agoHACK: Fix up newlines in defines
Kai Blin [Wed, 7 Apr 2010 06:02:41 +0000 (08:02 +0200)]
HACK: Fix up newlines in defines

14 years agoHACK: more hacks to get smbd to build
Kai Blin [Tue, 6 Apr 2010 06:16:07 +0000 (08:16 +0200)]
HACK: more hacks to get smbd to build

14 years agoHACK! s3-waf: Fake some defines to get further with building smbd
Kai Blin [Mon, 5 Apr 2010 22:45:20 +0000 (00:45 +0200)]
HACK! s3-waf: Fake some defines to get further with building smbd

14 years agos3-waf: Add some more krb5 checks
Kai Blin [Mon, 5 Apr 2010 22:44:25 +0000 (00:44 +0200)]
s3-waf: Add some more krb5 checks

There is still quite a few of them missing.

14 years agos3-waf: Check for LDAP
Kai Blin [Mon, 5 Apr 2010 21:44:37 +0000 (23:44 +0200)]
s3-waf: Check for LDAP

14 years agos3-waf: Move cups, ldap and krb5 checks to the end of the wscript file
Kai Blin [Mon, 5 Apr 2010 12:41:23 +0000 (14:41 +0200)]
s3-waf: Move cups, ldap and krb5 checks to the end of the wscript file

14 years agos3-waf: Check for KRB5_DEPRECATED handling
Kai Blin [Mon, 5 Apr 2010 12:40:10 +0000 (14:40 +0200)]
s3-waf: Check for KRB5_DEPRECATED handling

14 years agos3-waf: Fake some defines that need to be set by configure options later
Kai Blin [Mon, 5 Apr 2010 12:39:07 +0000 (14:39 +0200)]
s3-waf: Fake some defines that need to be set by configure options later

14 years agos3-waf: Add more objects trying to build smbd
Kai Blin [Mon, 5 Apr 2010 07:34:43 +0000 (01:34 -0600)]
s3-waf: Add more objects trying to build smbd

14 years agos3-waf: Added support dynconfig cflags
Kai Blin [Fri, 26 Mar 2010 22:52:32 +0000 (16:52 -0600)]
s3-waf: Added support dynconfig cflags

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

14 years agos3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Günther Deschner [Tue, 11 May 2010 10:16:52 +0000 (12:16 +0200)]
s3-rap: fix cli_oem_change_password() and give room for the convert reply word.

Any servers I could find so far return it.

Guenther

14 years agos3-lanman: use samr for api_SamOEMChangePassword().
Günther Deschner [Fri, 7 May 2010 17:20:09 +0000 (19:20 +0200)]
s3-lanman: use samr for api_SamOEMChangePassword().

Guenther

14 years agos4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
Günther Deschner [Tue, 11 May 2010 22:18:42 +0000 (00:18 +0200)]
s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.

Unless we spent time researching the RAP useradd calls (and implement them in
s3) it is far more easy to use existing SAMR calls to create and delete test
users that are used for RAP change password operations.

Guenther

14 years agos4-smbtorture: add test_oemchangepassword to RAP-SAM.
Günther Deschner [Fri, 7 May 2010 20:58:42 +0000 (22:58 +0200)]
s4-smbtorture: add test_oemchangepassword to RAP-SAM.

Guenther

14 years agos4-selftest: skip RAP-SAM tests against Samba 4.
Günther Deschner [Mon, 10 May 2010 10:14:58 +0000 (12:14 +0200)]
s4-selftest: skip RAP-SAM tests against Samba 4.

Guenther

14 years agos3-selftest: enable RAP-SAM against Samba 3.
Günther Deschner [Fri, 7 May 2010 20:18:30 +0000 (22:18 +0200)]
s3-selftest: enable RAP-SAM against Samba 3.

Guenther

14 years agos4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Günther Deschner [Fri, 7 May 2010 13:45:23 +0000 (15:45 +0200)]
s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.

Guenther

14 years agos4-smbtorture: getting serious about checking rap status return codes.
Günther Deschner [Sat, 8 May 2010 23:08:11 +0000 (01:08 +0200)]
s4-smbtorture: getting serious about checking rap status return codes.

Guenther

14 years agos4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
Günther Deschner [Tue, 11 May 2010 21:55:53 +0000 (23:55 +0200)]
s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.

required for upcoming rap pwd tests.

Guenther

14 years agos4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Günther Deschner [Tue, 11 May 2010 15:46:18 +0000 (17:46 +0200)]
s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.

Guenther

14 years agoFix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on...
Jeremy Allison [Tue, 11 May 2010 21:00:38 +0000 (14:00 -0700)]
Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test.

Jeremy.

14 years agos3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
Andrew Bartlett [Thu, 6 May 2010 02:45:14 +0000 (12:45 +1000)]
s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA

All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.

This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
14 years agos4-smbtorture: test netservergetinfo level 1 also against s3.
Günther Deschner [Tue, 11 May 2010 11:39:37 +0000 (13:39 +0200)]
s4-smbtorture: test netservergetinfo level 1 also against s3.

Guenther

14 years agonot all versions of env like more than one argument...
Björn Jacke [Tue, 11 May 2010 18:46:19 +0000 (20:46 +0200)]
not all versions of env like more than one argument...

14 years agopidl: fix build on systems that don't have perl in /usr/bin/
Björn Jacke [Tue, 11 May 2010 17:11:38 +0000 (19:11 +0200)]
pidl: fix build on systems that don't have perl in /usr/bin/

14 years agos4:dsdb: cached results of samdb_rodc()
Stefan Metzmacher [Tue, 11 May 2010 08:34:19 +0000 (10:34 +0200)]
s4:dsdb: cached results of samdb_rodc()

metze

14 years agotdb: commit ABI/tdb-1.2.2.sigs
Stefan Metzmacher [Tue, 11 May 2010 14:42:14 +0000 (16:42 +0200)]
tdb: commit ABI/tdb-1.2.2.sigs

metze

14 years agos4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c
Stefan Metzmacher [Tue, 11 May 2010 16:10:32 +0000 (18:10 +0200)]
s4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c

metze

14 years agos4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build
Stefan Metzmacher [Tue, 11 May 2010 14:21:45 +0000 (16:21 +0200)]
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build

This is not needed and contains one big #ifdef __APPLE__
and breaks the build on Mac OS 10.

metze

14 years agos3:configure: fix a message
Michael Adam [Wed, 24 Mar 2010 16:00:01 +0000 (17:00 +0100)]
s3:configure: fix a message

14 years agos4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
Matthias Dieter Wallnöfer [Tue, 11 May 2010 14:13:45 +0000 (16:13 +0200)]
s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead

"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".

14 years agos3:Makefile: build smbtorture4 as static binary with socket_wrapper support
Stefan Metzmacher [Tue, 11 May 2010 14:07:19 +0000 (16:07 +0200)]
s3:Makefile: build smbtorture4 as static binary with socket_wrapper support

metze

14 years agowaf:libreplace: set _OSF_SOURCE to fix build on Tru64
Björn Jacke [Tue, 11 May 2010 13:23:54 +0000 (15:23 +0200)]
waf:libreplace: set _OSF_SOURCE to fix build on Tru64

14 years agoREADME.Coding - cosmetic changes
Matthias Dieter Wallnöfer [Tue, 11 May 2010 12:58:19 +0000 (14:58 +0200)]
README.Coding - cosmetic changes

- Fix typos
- Wrap lines
- Remove trailing whitespaces
- use ":" instead of "::" - one colon should in all cases be enough

14 years agobuild: skip missing executables in testwaf.sh
Kai Blin [Tue, 11 May 2010 12:24:47 +0000 (14:24 +0200)]
build: skip missing executables in testwaf.sh

14 years agotdb: remove unused variable in tdb_new_database().
Günther Deschner [Tue, 11 May 2010 11:40:12 +0000 (13:40 +0200)]
tdb: remove unused variable in tdb_new_database().

Guenther