kai/samba.git
14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Tue, 3 Jun 2008 22:11:42 +0000 (15:11 -0700)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

14 years agoAlign the Python and EJS ldap tests.
Andrew Bartlett [Tue, 3 Jun 2008 13:27:22 +0000 (23:27 +1000)]
Align the Python and EJS ldap tests.

We should now (need to review and compare them once more) be able to
remove ldap.js (and once samba3sam.js is done, smbscript).

Andrew Bartlett

14 years agoselftest: don't skip BASE-DELAYWRITE
Stefan Metzmacher [Mon, 5 May 2008 11:10:02 +0000 (13:10 +0200)]
selftest: don't skip BASE-DELAYWRITE

metze

14 years agoselftest: pass torture:writetimeupdatedelay to smbtorture
Stefan Metzmacher [Mon, 5 May 2008 11:06:54 +0000 (13:06 +0200)]
selftest: pass torture:writetimeupdatedelay to smbtorture

metze

14 years agoselftest: set posix:writetimeupdatedelay
Stefan Metzmacher [Tue, 3 Jun 2008 09:06:33 +0000 (11:06 +0200)]
selftest: set posix:writetimeupdatedelay

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
14 years agopvfs: use utimes() instead of utime() to get better timestamp resolution
Stefan Metzmacher [Tue, 3 Jun 2008 11:32:04 +0000 (13:32 +0200)]
pvfs: use utimes() instead of utime() to get better timestamp resolution

Note: that libreplace always provides utimes()

metze

14 years agopvfs_close: correctly handle the write time updates passed by close()
Stefan Metzmacher [Thu, 8 May 2008 20:16:55 +0000 (22:16 +0200)]
pvfs_close: correctly handle the write time updates passed by close()

metze

14 years agopvfs: correctly set the write time in the handle destructor
Stefan Metzmacher [Tue, 3 Jun 2008 09:54:21 +0000 (11:54 +0200)]
pvfs: correctly set the write time in the handle destructor

metze

14 years agopvfs_setfileinfo: update the write time in the opendb
Stefan Metzmacher [Tue, 3 Jun 2008 09:47:12 +0000 (11:47 +0200)]
pvfs_setfileinfo: update the write time in the opendb

metze

14 years agopvfs: trigger a write time update 2 seconds after the first write
Stefan Metzmacher [Tue, 3 Jun 2008 09:36:08 +0000 (11:36 +0200)]
pvfs: trigger a write time update 2 seconds after the first write

metze

14 years agopvfs: add posix:writetimeupdatedelay option
Stefan Metzmacher [Tue, 3 Jun 2008 09:34:10 +0000 (11:34 +0200)]
pvfs: add posix:writetimeupdatedelay option

metze

14 years agopvfs: add PVFS_RESOLVE_NO_OPENDB flag and get the write time from the opendb
Stefan Metzmacher [Mon, 5 May 2008 10:18:47 +0000 (12:18 +0200)]
pvfs: add PVFS_RESOLVE_NO_OPENDB flag and get the write time from the opendb

By default get the current write time from the opendb,
but allow callers to pass PVFS_RESOLVE_NO_OPENDB
for performance reasons, if they don't need to the write time.

metze

14 years agoopendb: add write time handling
Stefan Metzmacher [Tue, 15 Apr 2008 14:00:42 +0000 (16:00 +0200)]
opendb: add write time handling

metze

14 years agoBASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
Stefan Metzmacher [Tue, 3 Jun 2008 12:01:02 +0000 (14:01 +0200)]
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps

metze

14 years agoBASE-DELAYWRITE: add missing time checks to make sure the server has updated the...
Stefan Metzmacher [Mon, 5 May 2008 13:05:41 +0000 (15:05 +0200)]
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time

metze

14 years agoOn the road to alpha5...
Andrew Bartlett [Tue, 3 Jun 2008 05:14:09 +0000 (15:14 +1000)]
On the road to alpha5...

14 years agoMerge branch 'v4-0-stable' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Tue, 3 Jun 2008 05:13:28 +0000 (15:13 +1000)]
Merge branch 'v4-0-stable' of ssh://git.samba.org/data/git/samba into 4-0-local

14 years agoSMB2 signing now works. The spec was wrong (and will be fixed in the
Andrew Tridgell [Tue, 3 Jun 2008 04:29:27 +0000 (14:29 +1000)]
SMB2 signing now works. The spec was wrong (and will be fixed in the
next version)

14 years agoRemove outdated README save-diskspace-tags/samba-4.0.0alpha4
Andrew Bartlett [Tue, 3 Jun 2008 04:11:40 +0000 (14:11 +1000)]
Remove outdated README

14 years agoI probably should warn about GnuTLS bad mojo...
Andrew Bartlett [Tue, 3 Jun 2008 02:02:20 +0000 (12:02 +1000)]
I probably should warn about GnuTLS bad mojo...

Andrew Bartlett

14 years agoMark as the real Samba4 alpha4 release.
Andrew Bartlett [Tue, 3 Jun 2008 01:34:16 +0000 (11:34 +1000)]
Mark as the real Samba4 alpha4 release.

14 years agoClarify that our build farm status really sucks at the moment...
Andrew Bartlett [Tue, 3 Jun 2008 01:33:29 +0000 (11:33 +1000)]
Clarify that our build farm status really sucks at the moment...

Andrew Bartlett

14 years agosetpassword should be executable
Andrew Tridgell [Mon, 2 Jun 2008 23:36:46 +0000 (09:36 +1000)]
setpassword should be executable

14 years agoit is not valid to set a UNLOCK flag on a lock request
Andrew Tridgell [Mon, 2 Jun 2008 23:36:02 +0000 (09:36 +1000)]
it is not valid to set a UNLOCK flag on a lock request

14 years agokrb5_init_sec_context: skip the token header when GSS_C_DCE_STYLE is specified
Stefan Metzmacher [Mon, 2 Jun 2008 14:27:44 +0000 (16:27 +0200)]
krb5_init_sec_context: skip the token header when GSS_C_DCE_STYLE is specified

Windows (and heimdal) accepts packets with token header
in the server, but it doesn't match the windows client.
We now match the windows client and that fixes
also the display in wireshark.

metze

14 years agoFix WHATSNEW.
Andrew Bartlett [Mon, 2 Jun 2008 11:05:56 +0000 (21:05 +1000)]
Fix WHATSNEW.

In particular, I can't find the DCOM code, so presumably it's still in
a branch.

Andrew Bartlett

14 years agoFirst draft of a WHATSNEW for a new release.
Andrew Bartlett [Mon, 2 Jun 2008 07:28:36 +0000 (17:28 +1000)]
First draft of a WHATSNEW for a new release.

I'm sure I've missed a lot of work - patches welcome!

Andrew Bartlett

14 years agomore updates for new info levels
Andrew Tridgell [Mon, 2 Jun 2008 01:05:06 +0000 (11:05 +1000)]
more updates for new info levels

14 years agoremove a pstring
Andrew Tridgell [Mon, 2 Jun 2008 01:04:46 +0000 (11:04 +1000)]
remove a pstring

14 years agoremove unused macros
Andrew Tridgell [Mon, 2 Jun 2008 01:04:36 +0000 (11:04 +1000)]
remove unused macros

14 years agosmbpid is 32 bit, and update SMB2 locking per MS-SMB2
Andrew Tridgell [Mon, 2 Jun 2008 01:04:13 +0000 (11:04 +1000)]
smbpid is 32 bit, and update SMB2 locking per MS-SMB2

The UNLOCK bit is only used from the first lock structure

14 years agosmbpid needs to be 32 bit now to cope with SMB2
Andrew Tridgell [Mon, 2 Jun 2008 01:03:19 +0000 (11:03 +1000)]
smbpid needs to be 32 bit now to cope with SMB2

14 years agoupdated some info levels based on WSPP docs
Andrew Tridgell [Mon, 2 Jun 2008 01:02:57 +0000 (11:02 +1000)]
updated some info levels based on WSPP docs

14 years agofixed a warning
Andrew Tridgell [Mon, 2 Jun 2008 01:02:37 +0000 (11:02 +1000)]
fixed a warning

14 years agocheck for requested buffer size in getinfo call
Andrew Tridgell [Sat, 31 May 2008 03:39:51 +0000 (13:39 +1000)]
check for requested buffer size in getinfo call

14 years agomore useful output in scan
Andrew Tridgell [Sat, 31 May 2008 03:39:34 +0000 (13:39 +1000)]
more useful output in scan

14 years agoRevert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c
Andrew Bartlett [Fri, 30 May 2008 22:35:55 +0000 (08:35 +1000)]
Revert Jelmer's CFLAGS commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c

This commit broke the build, because not all files (libreplace, popt)
were updated.

Andrew Bartlett

14 years agoFix samdb python test.
Jelmer Vernooij [Fri, 30 May 2008 12:15:40 +0000 (14:15 +0200)]
Fix samdb python test.

14 years agoAdd header to knownfail file.
Jelmer Vernooij [Fri, 30 May 2008 12:13:23 +0000 (14:13 +0200)]
Add header to knownfail file.

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
Jelmer Vernooij [Fri, 30 May 2008 10:18:07 +0000 (12:18 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs

Conflicts:

source/samba4-skip

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Fri, 30 May 2008 07:26:42 +0000 (17:26 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

14 years agoSkip the samba4.samdb.python test.
Andrew Bartlett [Fri, 30 May 2008 07:23:56 +0000 (17:23 +1000)]
Skip the samba4.samdb.python test.

I'll need to talk to jelmer about why this doesn't work...

Andrew Bartlett

14 years agoimplemented client side SMB2 signing
Andrew Tridgell [Fri, 30 May 2008 07:03:54 +0000 (17:03 +1000)]
implemented client side SMB2 signing

This doessn't work against Windows yet, and I've submitted a WSPP
request for clarification of the docs to try and find out
why. Meanwhile this is no worse than what we had, as it only gets used
when the server demands signing, and we didn't work then anyway.

14 years agotwo more places where the wrong type is passed to PyArg_ParseTupleAndKeywords()
Andrew Tridgell [Fri, 30 May 2008 06:19:22 +0000 (16:19 +1000)]
two more places where the wrong type is passed to PyArg_ParseTupleAndKeywords()

14 years agofixed a segv in the python messaging code on 64 bit systems
Andrew Tridgell [Fri, 30 May 2008 06:11:07 +0000 (16:11 +1000)]
fixed a segv in the python messaging code on 64 bit systems

14 years agoFix the samba4.dcerpc.bare.python test.
Andrew Bartlett [Fri, 30 May 2008 05:26:10 +0000 (15:26 +1000)]
Fix the samba4.dcerpc.bare.python test.

The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.

Andrew Bartlett

14 years agoPlace the NTP signd socket in the selftest area
Andrew Bartlett [Fri, 30 May 2008 05:21:40 +0000 (15:21 +1000)]
Place the NTP signd socket in the selftest area

14 years agoFix rpcecho test.
Andrew Bartlett [Fri, 30 May 2008 05:09:59 +0000 (15:09 +1000)]
Fix rpcecho test.

14 years agoReorder the linking of objects into a binary.
Andrew Bartlett [Fri, 30 May 2008 04:58:47 +0000 (14:58 +1000)]
Reorder the linking of objects into a binary.

The hope here is to get 'main' closer to the front of the binary,
which might help linking of PPC with gcov (we were overflowing the
24bit limit on the TOC)

Andrew Bartlett

14 years agoDon't pass an smb.conf to provision tests.
Andrew Bartlett [Fri, 30 May 2008 04:36:24 +0000 (14:36 +1000)]
Don't pass an smb.conf to provision tests.

These tests will create their own smb.conf in their prefix anyway.

Andrew Bartlett

14 years agoFix up provision and samdb tests.
Andrew Bartlett [Fri, 30 May 2008 04:26:47 +0000 (14:26 +1000)]
Fix up provision and samdb tests.

This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.

Andrew Bartlett

14 years agoMake sure reason for skipping is output.
Jelmer Vernooij [Fri, 30 May 2008 02:12:39 +0000 (04:12 +0200)]
Make sure reason for skipping is output.

14 years agoMove CFLAGS handling out of smb_build.
Jelmer Vernooij [Fri, 30 May 2008 00:07:28 +0000 (02:07 +0200)]
Move CFLAGS handling out of smb_build.

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Thu, 29 May 2008 21:55:29 +0000 (07:55 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

14 years agoRemove test from samba4-skip, it is avoided in samba4_tests.sh
Andrew Bartlett [Thu, 29 May 2008 21:54:09 +0000 (07:54 +1000)]
Remove test from samba4-skip, it is avoided in samba4_tests.sh

Andrew Bartlett

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Thu, 29 May 2008 21:50:22 +0000 (07:50 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

14 years agothe docs shows that this is a o16s32 blob
Andrew Tridgell [Thu, 29 May 2008 21:28:53 +0000 (07:28 +1000)]
the docs shows that this is a o16s32 blob

14 years agodon't emulate broken SMB2 locking behaviour from windows
Andrew Tridgell [Thu, 29 May 2008 21:28:29 +0000 (07:28 +1000)]
don't emulate broken SMB2 locking behaviour from windows

14 years agoAdd samba4-slow file listing tests that succeed but are just slow.
Jelmer Vernooij [Thu, 29 May 2008 16:19:19 +0000 (18:19 +0200)]
Add samba4-slow file listing tests that succeed but are just slow.

Added a 'make slowtest' target that does run these tests.

Also added some comments in the test lists files.

14 years agoAllow full-line comments in include/exclude files.
Jelmer Vernooij [Thu, 29 May 2008 16:17:42 +0000 (18:17 +0200)]
Allow full-line comments in include/exclude files.

14 years agoFix samdb test and enable it.
Jelmer Vernooij [Thu, 29 May 2008 15:38:12 +0000 (17:38 +0200)]
Fix samdb test and enable it.

14 years agoUpdate after changes to the provision API, make sure temp dir gets cleaned
Jelmer Vernooij [Thu, 29 May 2008 15:31:16 +0000 (17:31 +0200)]
Update after changes to the provision API, make sure temp dir gets cleaned
up.

14 years agoCheck test directory is cleaned up by Python tests.
Jelmer Vernooij [Thu, 29 May 2008 15:29:56 +0000 (17:29 +0200)]
Check test directory is cleaned up by Python tests.

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
Jelmer Vernooij [Thu, 29 May 2008 13:51:24 +0000 (15:51 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs

14 years agoFix extra dash in command line flag.
Jelmer Vernooij [Thu, 29 May 2008 13:50:52 +0000 (15:50 +0200)]
Fix extra dash in command line flag.

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Thu, 29 May 2008 12:23:25 +0000 (22:23 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

14 years agodon't mask out SEC_FILE_READ_ATTRIBUTE on SMB2
Andrew Tridgell [Thu, 29 May 2008 12:22:42 +0000 (22:22 +1000)]
don't mask out SEC_FILE_READ_ATTRIBUTE on SMB2

14 years agomerged gentest.c and gentest_smb2.c
Andrew Tridgell [Thu, 29 May 2008 11:32:08 +0000 (21:32 +1000)]
merged gentest.c and gentest_smb2.c

The one gentest tool now covers both SMB and SMB2, using the command
line switch --smb2 for SMB2

14 years agofixed the error code for bad SMB2 ioctls
Andrew Tridgell [Thu, 29 May 2008 10:46:18 +0000 (20:46 +1000)]
fixed the error code for bad SMB2 ioctls

14 years agoRemove extra spaces on prefixMap input and output.
Andrew Bartlett [Thu, 29 May 2008 10:16:18 +0000 (20:16 +1000)]
Remove extra spaces on prefixMap input and output.

Metze requested that the format not include spaces, and the input parser
already expects this.

Andrew Bartlett

14 years agoFinish the LDIF parsers for the prefixMap attribute.
Andrew Bartlett [Thu, 29 May 2008 10:01:32 +0000 (20:01 +1000)]
Finish the LDIF parsers for the prefixMap attribute.

Andrew Bartlett

14 years agofix from WSPP SMB2 test 11
Andrew Tridgell [Thu, 29 May 2008 09:32:04 +0000 (19:32 +1000)]
fix from WSPP SMB2 test 11

14 years agocheck maximal_access here too
Andrew Tridgell [Thu, 29 May 2008 09:30:11 +0000 (19:30 +1000)]
check maximal_access here too

14 years agotest the maximal access return
Andrew Tridgell [Thu, 29 May 2008 09:16:44 +0000 (19:16 +1000)]
test the maximal access return

14 years agoadded support for returning the maximal access MXAC tag in SMB2 create
Andrew Tridgell [Thu, 29 May 2008 09:16:26 +0000 (19:16 +1000)]
added support for returning the maximal access MXAC tag in SMB2 create

14 years agoPrint prefixMap in a human-readable format.
Andrew Bartlett [Thu, 29 May 2008 08:38:17 +0000 (18:38 +1000)]
Print prefixMap in a human-readable format.

This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.

Andrew Bartlett

14 years agoquerying the ACCESS_INFORMATION is always allowed
Andrew Tridgell [Thu, 29 May 2008 08:23:33 +0000 (18:23 +1000)]
querying the ACCESS_INFORMATION is always allowed

14 years agoSEC_FILE_READ_ATTRIBUTE is only automatically granted on SMB, not SMB2
Andrew Tridgell [Thu, 29 May 2008 08:23:20 +0000 (18:23 +1000)]
SEC_FILE_READ_ATTRIBUTE is only automatically granted on SMB, not SMB2

14 years agofixed offset for maximal access response
Andrew Tridgell [Thu, 29 May 2008 08:23:00 +0000 (18:23 +1000)]
fixed offset for maximal access response

14 years agoMerge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Thu, 29 May 2008 05:32:42 +0000 (15:32 +1000)]
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local

14 years agoAdd in an enum for two future NTP signing ops.
Andrew Bartlett [Thu, 29 May 2008 05:22:01 +0000 (15:22 +1000)]
Add in an enum for two future NTP signing ops.

I hope to extend this code to handle NTP clients getting authenticated
time too.

Andrew Bartlett

14 years agoAllow the ntp_signd socket to be set from configure.
Andrew Bartlett [Thu, 29 May 2008 05:20:58 +0000 (15:20 +1000)]
Allow the ntp_signd socket to be set from configure.

This will allow distributions to hard-code this path, particularly for
selinux, and matches how we handle the winbind socket dir.

Andrew Bartlett

14 years agohowto: Remove smbpython.
Andrew Kroeger [Sat, 24 May 2008 13:48:05 +0000 (08:48 -0500)]
howto: Remove smbpython.

14 years agoprovision: Add missing string parameter token when assigning ldap_backend.
Andrew Kroeger [Fri, 23 May 2008 07:20:35 +0000 (02:20 -0500)]
provision: Add missing string parameter token when assigning ldap_backend.

14 years agoFinal fixes to for a functional NTP signing deamon.
Andrew Bartlett [Thu, 29 May 2008 01:16:03 +0000 (11:16 +1000)]
Final fixes to for a functional NTP signing deamon.

Andrew Bartlett

14 years agoDon't make the NTP signd headers public.
Andrew Bartlett [Thu, 29 May 2008 01:15:18 +0000 (11:15 +1000)]
Don't make the NTP signd headers public.

This means we don't have to install them

Andrew Bartlett

14 years agocheck the set of file attributes which are ignored
Andrew Tridgell [Wed, 28 May 2008 12:44:54 +0000 (22:44 +1000)]
check the set of file attributes which are ignored

14 years agofixed current_op.mismatch for more cases
Andrew Tridgell [Wed, 28 May 2008 12:44:35 +0000 (22:44 +1000)]
fixed current_op.mismatch for more cases

14 years agofixed create_action for truncated files
Andrew Tridgell [Wed, 28 May 2008 12:44:20 +0000 (22:44 +1000)]
fixed create_action for truncated files

14 years agoadded --noacls options and checking for same mismatch in backtracking
Andrew Tridgell [Wed, 28 May 2008 11:49:04 +0000 (21:49 +1000)]
added --noacls options and checking for same mismatch in backtracking

14 years agoSMB2 doesn't have NAME_INFORMATION level
Andrew Tridgell [Wed, 28 May 2008 11:48:40 +0000 (21:48 +1000)]
SMB2 doesn't have NAME_INFORMATION level

14 years agoupdated comment based on MS-SMB2 docs
Andrew Tridgell [Wed, 28 May 2008 11:48:26 +0000 (21:48 +1000)]
updated comment based on MS-SMB2 docs

14 years agocheck that we can't change a file to a directory
Andrew Tridgell [Wed, 28 May 2008 10:06:48 +0000 (20:06 +1000)]
check that we can't change a file to a directory

14 years agoadded testing of some strange read semantics on windows
Andrew Tridgell [Wed, 28 May 2008 10:06:38 +0000 (20:06 +1000)]
added testing of some strange read semantics on windows

14 years agogenerate security descriptors in gentest_smb2
Andrew Tridgell [Wed, 28 May 2008 10:06:22 +0000 (20:06 +1000)]
generate security descriptors in gentest_smb2

14 years agodon't allow a file to be changed to a directory with setfileinfo
Andrew Tridgell [Wed, 28 May 2008 10:06:04 +0000 (20:06 +1000)]
don't allow a file to be changed to a directory with setfileinfo

14 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Wed, 28 May 2008 10:03:56 +0000 (20:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

14 years agoAnother (useless) header to install
Andrew Bartlett [Wed, 28 May 2008 10:03:05 +0000 (20:03 +1000)]
Another (useless) header to install

14 years agoInstall the ntp_signd NDR headers...
Andrew Bartlett [Wed, 28 May 2008 10:01:28 +0000 (20:01 +1000)]
Install the ntp_signd NDR headers...

Like many of our headers, these should never be used, but for now the
build system requires them.

Andrew Bartlett

14 years agoadd testing of creating a file with an initial ACL on SMB2
Andrew Tridgell [Wed, 28 May 2008 08:48:23 +0000 (18:48 +1000)]
add testing of creating a file with an initial ACL on SMB2