Jelmer Vernooij [Mon, 25 Feb 2008 14:39:46 +0000 (15:39 +0100)]
Remove the now unused cflags script.
Jelmer Vernooij [Mon, 25 Feb 2008 17:29:04 +0000 (18:29 +0100)]
Include CFLAGS overrides in make file.
Jelmer Vernooij [Fri, 29 Feb 2008 13:43:54 +0000 (14:43 +0100)]
Remove cruft that dealt with public prototype headers.
Jelmer Vernooij [Fri, 29 Feb 2008 13:36:51 +0000 (14:36 +0100)]
Change remaining prototype headers to be private.
Jelmer Vernooij [Fri, 29 Feb 2008 13:32:37 +0000 (14:32 +0100)]
Fix typos, avoid DEPEND_LIST from growing with empty elements.
Jelmer Vernooij [Fri, 29 Feb 2008 13:23:38 +0000 (14:23 +0100)]
Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
Jelmer Vernooij [Tue, 26 Feb 2008 14:19:45 +0000 (15:19 +0100)]
Fix manpage paths.
Jelmer Vernooij [Tue, 26 Feb 2008 14:11:47 +0000 (15:11 +0100)]
Move manpage management out of the perl build system.
Jelmer Vernooij [Sat, 16 Feb 2008 18:19:02 +0000 (19:19 +0100)]
Move logic to makefile
Jelmer Vernooij [Mon, 25 Feb 2008 17:14:03 +0000 (18:14 +0100)]
Use more GNU-make specific variables.
Jelmer Vernooij [Mon, 25 Feb 2008 19:39:16 +0000 (20:39 +0100)]
Remove obsolete comment.
Jelmer Vernooij [Mon, 25 Feb 2008 17:44:52 +0000 (18:44 +0100)]
Remove workaround for some non-GNU makes.
Jelmer Vernooij [Mon, 25 Feb 2008 19:39:29 +0000 (20:39 +0100)]
Update smb_build README.
Jelmer Vernooij [Mon, 25 Feb 2008 18:11:04 +0000 (19:11 +0100)]
Merge env.pm into makefile.pm.
Jelmer Vernooij [Mon, 25 Feb 2008 17:51:39 +0000 (18:51 +0100)]
Move configure output details out of perl code.
Jelmer Vernooij [Fri, 29 Feb 2008 12:58:20 +0000 (13:58 +0100)]
Avoid use of removed variable.
Jelmer Vernooij [Mon, 25 Feb 2008 14:48:35 +0000 (15:48 +0100)]
Remove unused include.
Jelmer Vernooij [Sat, 16 Feb 2008 16:18:23 +0000 (17:18 +0100)]
Use make to generate list of python files, remove unused variable.
Jelmer Vernooij [Sat, 16 Feb 2008 16:14:03 +0000 (17:14 +0100)]
Use make to create lists of plugins, remove duplicate variable.
Jelmer Vernooij [Sat, 16 Feb 2008 15:48:36 +0000 (16:48 +0100)]
Generate manpage list with make.
Jelmer Vernooij [Sat, 16 Feb 2008 16:12:01 +0000 (17:12 +0100)]
Use make to create lists of pc files and prototype headers.
Jelmer Vernooij [Sat, 16 Feb 2008 15:58:26 +0000 (16:58 +0100)]
Use make to generate lists of libraries.
Jelmer Vernooij [Sat, 16 Feb 2008 15:58:26 +0000 (16:58 +0100)]
Use make to generate lists of libraries.
Jelmer Vernooij [Sat, 16 Feb 2008 16:01:27 +0000 (17:01 +0100)]
Use make to generate list of prototype headers.
Jelmer Vernooij [Sat, 16 Feb 2008 15:38:01 +0000 (16:38 +0100)]
Create SBIN_PROGS and BIN_PROGS lists from within make.
Jelmer Vernooij [Sat, 16 Feb 2008 15:15:21 +0000 (16:15 +0100)]
use gmake to handle .py file copies.
Michael Adam [Fri, 29 Feb 2008 01:46:14 +0000 (02:46 +0100)]
libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael
Michael Adam [Fri, 29 Feb 2008 01:43:24 +0000 (02:43 +0100)]
libreplace: ifdef out ip6 code if unsupported.
Michael
Michael Adam [Fri, 29 Feb 2008 01:23:29 +0000 (02:23 +0100)]
libreplace: fix rep_freeifaddrs to not segfault on NULL input.
Michael
Michael Adam [Fri, 29 Feb 2008 01:22:02 +0000 (02:22 +0100)]
libreplace: fix silly crashbug in getifaddrs_test().
Michael
Michael Adam [Fri, 29 Feb 2008 00:49:30 +0000 (01:49 +0100)]
libreplace: add missing newline in output of getifaddrs test.
Michael
Michael Adam [Fri, 29 Feb 2008 00:25:54 +0000 (01:25 +0100)]
libreplace: add missing semicolon to getifaddrs.
Michael
Jelmer Vernooij [Fri, 29 Feb 2008 00:06:05 +0000 (01:06 +0100)]
Fix ldapi support.
Jelmer Vernooij [Fri, 29 Feb 2008 00:03:52 +0000 (01:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Fri, 29 Feb 2008 00:03:31 +0000 (01:03 +0100)]
Fix typo.
Andrew Bartlett [Fri, 29 Feb 2008 00:02:54 +0000 (11:02 +1100)]
fix typo
Jelmer Vernooij [Fri, 29 Feb 2008 00:00:15 +0000 (01:00 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 28 Feb 2008 23:58:47 +0000 (00:58 +0100)]
raw-qfsinfo: Convert to new torture API.
Andrew Bartlett [Thu, 28 Feb 2008 23:56:56 +0000 (10:56 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 28 Feb 2008 23:56:04 +0000 (10:56 +1100)]
Prove that not supporting ldapi is a bit problem.
For a while now, ldapi support has been busted, but it was only tested
when we were running against an external LDAP server.
Andrew Bartlett
Jelmer Vernooij [Thu, 28 Feb 2008 23:47:14 +0000 (00:47 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 28 Feb 2008 23:46:44 +0000 (00:46 +0100)]
Convert to new torture API.
Andrew Bartlett [Thu, 28 Feb 2008 23:09:35 +0000 (10:09 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Michael Adam [Thu, 28 Feb 2008 23:06:55 +0000 (00:06 +0100)]
libreplace: try and fix rep_getifaddrs() for Tru64.
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.
Michael
Michael Adam [Thu, 28 Feb 2008 20:44:31 +0000 (21:44 +0100)]
libreplace: use the new getifaddrs test also for autoconf.
Michael
Michael Adam [Thu, 28 Feb 2008 20:43:06 +0000 (21:43 +0100)]
libreplace: add extended getifaddrs test that prints out the interfaces.
Michael
Andrew Bartlett [Thu, 28 Feb 2008 21:48:57 +0000 (08:48 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 28 Feb 2008 21:47:42 +0000 (08:47 +1100)]
Simplify the 'password must change' logic
This takes the previous patches further, so we catch all the cases
(the KDC looked at the time directly).
Andrew Bartlett
Jelmer Vernooij [Thu, 28 Feb 2008 20:02:49 +0000 (21:02 +0100)]
Remove use of global_loadparm.
Jelmer Vernooij [Thu, 28 Feb 2008 19:30:03 +0000 (20:30 +0100)]
Remove use of global_loadparm.
Jelmer Vernooij [Thu, 28 Feb 2008 19:04:58 +0000 (20:04 +0100)]
Remove sDefault as static variable.
Jelmer Vernooij [Thu, 28 Feb 2008 17:27:29 +0000 (18:27 +0100)]
Merge branch 'v4-0-trivial' into v4-0-test
Jelmer Vernooij [Thu, 21 Feb 2008 15:41:38 +0000 (16:41 +0100)]
Cache iconv_convenience.
Jelmer Vernooij [Thu, 21 Feb 2008 15:23:52 +0000 (16:23 +0100)]
torture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil testsuite.
Jelmer Vernooij [Thu, 21 Feb 2008 15:21:32 +0000 (16:21 +0100)]
More share_init to more apprioriate place.
Jelmer Vernooij [Thu, 28 Feb 2008 13:11:45 +0000 (14:11 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Stefan Metzmacher [Wed, 27 Feb 2008 21:22:56 +0000 (22:22 +0100)]
pvfs_open: fix callers of odb_get_delete_on_close()
metze
Stefan Metzmacher [Wed, 27 Feb 2008 21:16:55 +0000 (22:16 +0100)]
opendb: only return delete_on_close on odb_get_delete_on_close()
metze
Stefan Metzmacher [Wed, 27 Feb 2008 21:22:10 +0000 (22:22 +0100)]
pvfs: remove unused args from pvfs_delete_on_close_set()
metze
Stefan Metzmacher [Wed, 27 Feb 2008 20:52:52 +0000 (21:52 +0100)]
pvfs_open: use the delete_path of odb_close_file()
metze
Stefan Metzmacher [Wed, 27 Feb 2008 20:50:51 +0000 (21:50 +0100)]
opendb: return the path that should be deleted in odb_close_file()
That means the last close returns the path name if the
delete_on_close flag is set.
metze
Andrew Bartlett [Wed, 27 Feb 2008 23:43:57 +0000 (10:43 +1100)]
Ensure we don't try and set the acct_flags if they are 0 (meaning
unchanged in this interface).
We seem to have two very similar interfaces here, and this is the
poorer interface, for this reason.
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 23:33:54 +0000 (10:33 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Wed, 27 Feb 2008 23:32:06 +0000 (10:32 +1100)]
Fix up the libnet tests.
These tests still do not pass against windows, but at least now it
doesn't reset acct_flags to 0.
This is enough to have Samba4 pass it's own tests for the moment.
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 23:05:32 +0000 (10:05 +1100)]
Check for and reject invalid account flags.
(lest we have an account set with 0 flags)
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 21:50:00 +0000 (08:50 +1100)]
Generate ACB_PW_EXPIRED correctly
More correctly handle expired passwords, and do not expire machine accounts.
Test that the behaviour is consistant with windows, using the RPC-SAMR test.
Change NETLOGON to directly query the userAccountControl, just because
we don't want to do the extra expiry processing here.
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 21:43:10 +0000 (08:43 +1100)]
Users and computers now share the same template.
Slowly work away at the samldb module again, it is clear that AD does
not use much of a templating system. samAccountType is managed, as
far as I can tell, when groupType or userAccountControl changes.
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 21:39:45 +0000 (08:39 +1100)]
Reorder modules to have rdn_name before objectclass.
This ensures the relative DN is placed in the correct case into the
DB.
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 21:38:53 +0000 (08:38 +1100)]
Fix rdn_name errors.
Return the correct error when the DN is mismatched with it's RDN
attribute (now matches AD).
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 21:37:11 +0000 (08:37 +1100)]
Extend the ldap.js test
Now we verify sAMAccountType and userAccountControl, as well as rename and
DN mismatch semantics.
Andrew Bartlett
Andrew Bartlett [Wed, 27 Feb 2008 21:36:13 +0000 (08:36 +1100)]
Do not re-randomise in an individual test.
smbtorture calls srandom() once for the whole suite, with command line
override to allow reproduceable random tests.
Andrew Bartlett
Stefan Metzmacher [Wed, 27 Feb 2008 18:47:23 +0000 (19:47 +0100)]
unixinfo.idl: don't use utf8string anymore
Note:
This changes the on wire format!!!
But it's a very bad idea to keep utf8string
as it's not valid NDR encoding and noone
would be able to write a compatible IDL
file using another compiler than pidl.
Maybe we should change the uuid,
but as this isn't really used yet
I keep the old one.
metze
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:23 +0000 (16:18 +0100)]
Remove more global_loadparm uses.
Jelmer Vernooij [Wed, 27 Feb 2008 18:37:45 +0000 (19:37 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:01 +0000 (16:18 +0100)]
Clarify comments.
Jelmer Vernooij [Wed, 27 Feb 2008 16:36:49 +0000 (17:36 +0100)]
Set lp_ctx properly.
Jelmer Vernooij [Wed, 27 Feb 2008 16:36:49 +0000 (17:36 +0100)]
Set lp_ctx properly.
Stefan Metzmacher [Wed, 27 Feb 2008 15:23:57 +0000 (16:23 +0100)]
RAW-OPLOCK: be more strict with share modes against windows and samba4
But still allow samba3 behavior.
metze
Stefan Metzmacher [Wed, 27 Feb 2008 15:22:45 +0000 (16:22 +0100)]
selftest: samba4 doesn't pass RAW-OPLOCK BATCH19 und 20 yet
metze
Stefan Metzmacher [Wed, 27 Feb 2008 15:22:04 +0000 (16:22 +0100)]
RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work
metze
Stefan Metzmacher [Wed, 27 Feb 2008 14:45:08 +0000 (15:45 +0100)]
RAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()
metze
Stefan Metzmacher [Wed, 27 Feb 2008 14:43:04 +0000 (15:43 +0100)]
RAW-OPLOCK: add BATCH19 test renaming via setpathinfo
This is really strange as, it seems to complete ignore
oplocks and share modes and doesn't match the behavior
of RENAME and NTRENAME.
metze
Stefan Metzmacher [Wed, 27 Feb 2008 10:07:53 +0000 (11:07 +0100)]
RAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAME
metze
Stefan Metzmacher [Wed, 27 Feb 2008 09:41:47 +0000 (10:41 +0100)]
RAW-OPLOCK: add BATCH17 test rename on a file with oplock
metze
Stefan Metzmacher [Wed, 27 Feb 2008 09:40:19 +0000 (10:40 +0100)]
RAW-OPLOCK: add EXCLISIVE6 test a rename on a file with an oplock
metze
Stefan Metzmacher [Wed, 27 Feb 2008 09:02:52 +0000 (10:02 +0100)]
RAW-OPLOCK: add EXCLUSIVE5 to test attribute only with OVERWRITE_IF
metze
Stefan Metzmacher [Wed, 27 Feb 2008 08:41:44 +0000 (09:41 +0100)]
RAW-OPLOCK: add BATCH16 and tests attribute only with OVERWRITE_IF
metze
Stefan Metzmacher [Wed, 27 Feb 2008 10:25:33 +0000 (11:25 +0100)]
pvfs_rename: we need a do a odb_rename() after pvfs_do_rename()
metze
Stefan Metzmacher [Wed, 27 Feb 2008 10:24:37 +0000 (11:24 +0100)]
pvfs_rename: add retry logic after sharing violation or non granted oplock
metze
Stefan Metzmacher [Wed, 27 Feb 2008 08:40:49 +0000 (09:40 +0100)]
opendb_tdb: EXCLUSIVE oplock use the same matching logic
metze
Stefan Metzmacher [Wed, 27 Feb 2008 07:51:25 +0000 (08:51 +0100)]
RAW-OPLOCK: add EXCLUSIVE4 a attribute only open doesn't break an exclusive oplock
metze
Stefan Metzmacher [Tue, 26 Feb 2008 15:16:31 +0000 (16:16 +0100)]
RAW-OPLOCK: add EXCLUSIVE3
This tests that a setpathinfo EOF breaks
an exclusive oplock to none.
metze
Stefan Metzmacher [Tue, 26 Feb 2008 14:51:17 +0000 (15:51 +0100)]
RAW-OPLOCK: add EXCLUSIVE2
Exclusive oplocks break to LEVEL2
metze
Stefan Metzmacher [Tue, 26 Feb 2008 13:58:00 +0000 (14:58 +0100)]
RAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)
metze
Jelmer Vernooij [Wed, 27 Feb 2008 15:03:00 +0000 (16:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Matthias Dieter Wallnöfer [Wed, 27 Feb 2008 12:47:34 +0000 (13:47 +0100)]
Fix cases, add version number. (#4935)
Jelmer Vernooij [Wed, 27 Feb 2008 12:17:08 +0000 (13:17 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake-simple
Michael Adam [Wed, 27 Feb 2008 09:33:32 +0000 (10:33 +0100)]
libreplace: standalone build: use -I$srcdir instead of -I.
Michael
Michael Adam [Wed, 27 Feb 2008 00:41:30 +0000 (01:41 +0100)]
libreplace: fix standalone build - add necessary libs.
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.
Michael
Michael Adam [Wed, 27 Feb 2008 00:29:12 +0000 (01:29 +0100)]
libreplace: fix standalone build on some systems.
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".
Michael