kai/samba.git
15 years agomore useful output in scan
Andrew Tridgell [Sat, 31 May 2008 03:39:34 +0000 (13:39 +1000)]
more useful output in scan

15 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

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

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

15 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

15 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

15 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

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

15 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()

15 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

15 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

15 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

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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

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

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

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

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

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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 years agoadded a newline at the end of the IDL
Andrew Tridgell [Wed, 28 May 2008 08:47:39 +0000 (18:47 +1000)]
added a newline at the end of the IDL

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Wed, 28 May 2008 07:00:21 +0000 (17:00 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

15 years agotest unknown tags and bad tag lengths
Andrew Tridgell [Wed, 28 May 2008 06:59:12 +0000 (16:59 +1000)]
test unknown tags and bad tag lengths

15 years agoadded some of the new SMB2 create tags to gentest_smb2
Andrew Tridgell [Wed, 28 May 2008 06:58:57 +0000 (16:58 +1000)]
added some of the new SMB2 create tags to gentest_smb2

15 years agoensure we don't change the incoming blobs in a SMB2 create
Andrew Tridgell [Wed, 28 May 2008 06:58:34 +0000 (16:58 +1000)]
ensure we don't change the incoming blobs in a SMB2 create

15 years agoadded testing of SMB2 create blobs
Andrew Tridgell [Wed, 28 May 2008 06:28:50 +0000 (16:28 +1000)]
added testing of SMB2 create blobs

15 years agoimplement the documented SMB2 create blobs in the server
Andrew Tridgell [Wed, 28 May 2008 06:28:37 +0000 (16:28 +1000)]
implement the documented SMB2 create blobs in the server

Not all of them are honoured yet, but they are all parsed and the ones
that have SMB equivalents are honoured

15 years agoexpose a function for pushing all SMB2 create blobs
Andrew Tridgell [Wed, 28 May 2008 06:27:38 +0000 (16:27 +1000)]
expose a function for pushing all SMB2 create blobs

15 years agoTry adding a stub to fix the build
Andrew Bartlett [Wed, 28 May 2008 05:47:27 +0000 (15:47 +1000)]
Try adding a stub to fix the build

15 years agoadded support for all of the known SMB2 create tags in our client
Andrew Tridgell [Wed, 28 May 2008 05:27:50 +0000 (15:27 +1000)]
added support for all of the known SMB2 create tags in our client
library

15 years agoFix dependency list for NDR_TABLE
Andrew Bartlett [Wed, 28 May 2008 04:53:30 +0000 (14:53 +1000)]
Fix dependency list for NDR_TABLE

This list must include everything for which we have IDL

Andrew Bartlett

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 28 May 2008 03:42:29 +0000 (13:42 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Wed, 28 May 2008 03:40:18 +0000 (13:40 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

15 years agoBring up the ntp signing deamon
Andrew Bartlett [Wed, 28 May 2008 03:21:26 +0000 (13:21 +1000)]
Bring up the ntp signing deamon

This starts ntp_signd at startup, and fixes some build issues.

Andrew Bartlett

15 years agoFix dependency on swig ldb module.
Jelmer Vernooij [Wed, 28 May 2008 02:11:40 +0000 (04:11 +0200)]
Fix dependency on swig ldb module.

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Wed, 28 May 2008 02:07:20 +0000 (12:07 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

15 years agoexpanded the SMB2-READ test, including the windows position bug
Andrew Tridgell [Wed, 28 May 2008 02:06:29 +0000 (12:06 +1000)]
expanded the SMB2-READ test, including the windows position bug

15 years agoadd exceptions for some of the strange windows SMB2 locking behaviour
Andrew Tridgell [Wed, 28 May 2008 02:05:23 +0000 (12:05 +1000)]
add exceptions for some of the strange windows SMB2 locking behaviour

15 years agoanswer SMB2_ALL_EAS qfileinfo
Andrew Tridgell [Wed, 28 May 2008 01:49:43 +0000 (11:49 +1000)]
answer SMB2_ALL_EAS qfileinfo

15 years agoadded --valid option to gentest_smb2
Andrew Tridgell [Wed, 28 May 2008 01:48:54 +0000 (11:48 +1000)]
added --valid option to gentest_smb2

15 years agoadded --skip-cleanup to gentest
Andrew Tridgell [Wed, 28 May 2008 01:48:39 +0000 (11:48 +1000)]
added --skip-cleanup to gentest

15 years agofixed error code for write on a directory
Andrew Tridgell [Wed, 28 May 2008 01:48:21 +0000 (11:48 +1000)]
fixed error code for write on a directory

15 years agofix error code for read on a directory
Andrew Tridgell [Wed, 28 May 2008 01:48:11 +0000 (11:48 +1000)]
fix error code for read on a directory

15 years agomake sure we send a reply packet for bad create options
Andrew Tridgell [Wed, 28 May 2008 01:47:39 +0000 (11:47 +1000)]
make sure we send a reply packet for bad create options

15 years agoUse variables for directories in ntvfs smb2 module.
Jelmer Vernooij [Wed, 28 May 2008 01:07:42 +0000 (03:07 +0200)]
Use variables for directories in ntvfs smb2 module.

15 years agoUse variables for directories in dsdb ldb modules.
Jelmer Vernooij [Wed, 28 May 2008 01:00:14 +0000 (03:00 +0200)]
Use variables for directories in dsdb ldb modules.

15 years agoUse variables for directories in static_deps.mk
Jelmer Vernooij [Wed, 28 May 2008 00:53:48 +0000 (02:53 +0200)]
Use variables for directories in static_deps.mk

15 years agoDepend on debug names of shared libs for linking.
Jelmer Vernooij [Tue, 27 May 2008 23:41:57 +0000 (01:41 +0200)]
Depend on debug names of shared libs for linking.

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 27 May 2008 22:11:05 +0000 (08:11 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

It seems the format of main.mk changed in my sleep...

Conflicts:

source/main.mk

15 years agoAllow librpcsrcdir to be an absolute path.
Jelmer Vernooij [Tue, 27 May 2008 17:47:16 +0000 (19:47 +0200)]
Allow librpcsrcdir to be an absolute path.

15 years agoAdd variable for smbreadline directory.
Jelmer Vernooij [Tue, 27 May 2008 17:35:04 +0000 (19:35 +0200)]
Add variable for smbreadline directory.

15 years agoAllow external use of regf idl.
Jelmer Vernooij [Tue, 27 May 2008 16:46:05 +0000 (18:46 +0200)]
Allow external use of regf idl.

15 years agoUse variables for IDL file paths.
Jelmer Vernooij [Tue, 27 May 2008 16:38:05 +0000 (18:38 +0200)]
Use variables for IDL file paths.

15 years agoUse variable path for heimdal glue code.
Jelmer Vernooij [Tue, 27 May 2008 16:29:00 +0000 (18:29 +0200)]
Use variable path for heimdal glue code.

15 years agoUse variable for ndr_netlogon.o path.
Jelmer Vernooij [Tue, 27 May 2008 16:20:29 +0000 (18:20 +0200)]
Use variable for ndr_netlogon.o path.