kai/samba.git
15 years agoMerge commit 'origin/v4-0-test' into v4-0-test
Andrew Tridgell [Thu, 22 May 2008 13:28:44 +0000 (23:28 +1000)]
Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 2bba77a768c3ed984af05b99c2f7781577d08ec3)

15 years agoSMB2 read returns NT_STATUS_END_OF_FILE on read past end of file
Andrew Tridgell [Thu, 22 May 2008 13:07:16 +0000 (23:07 +1000)]
SMB2 read returns NT_STATUS_END_OF_FILE on read past end of file
(This used to be commit 1590494daf5abe43e43402e7602f92267bcda34b)

15 years agolibreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
Stefan Metzmacher [Thu, 22 May 2008 13:00:19 +0000 (15:00 +0200)]
libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected

metze
(This used to be commit 84b5652d3e5766521436e4c7d59615b08b2bb198)

15 years agofixes for EAs and filename in gentest_smb2 results
Andrew Tridgell [Thu, 22 May 2008 13:00:08 +0000 (23:00 +1000)]
fixes for EAs and filename in gentest_smb2 results

- SMB2 returns 0 for a null EA
- return the share qualified name for the filename in SMB2 ALL_INFO
  level
(This used to be commit f9708184a2037f83ebb97c847414326a42436154)

15 years agoadded a --noeas option to gentest_smb2
Andrew Tridgell [Thu, 22 May 2008 12:46:43 +0000 (22:46 +1000)]
added a --noeas option to gentest_smb2
(This used to be commit 9d523debb7ee59bdadf9865e023be370b7ab7b39)

15 years agopass in the required alignment to the EA construction routines
Andrew Tridgell [Thu, 22 May 2008 12:46:29 +0000 (22:46 +1000)]
pass in the required alignment to the EA construction routines
(This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)

15 years agoadded a define for all valid file attributes
Andrew Tridgell [Thu, 22 May 2008 07:54:06 +0000 (17:54 +1000)]
added a define for all valid file attributes
(This used to be commit 198ed9336756f973cebd7cc3df7f51e2c4575205)

15 years agocheck for invalid file attribute values in create
Andrew Tridgell [Thu, 22 May 2008 07:53:50 +0000 (17:53 +1000)]
check for invalid file attribute values in create
(This used to be commit dd21e3d9d788a67d4673625ed4892a875f4600dc)

15 years agoMerge commit 'origin/v4-0-test' into v4-0-test
Andrew Tridgell [Thu, 22 May 2008 06:09:10 +0000 (16:09 +1000)]
Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit d7f3348c891e14de0e1b195714468ff998400f60)

15 years agoadded testing of SMB2 setfileinfo in gentest_smb2
Andrew Tridgell [Thu, 22 May 2008 05:44:13 +0000 (15:44 +1000)]
added testing of SMB2 setfileinfo in gentest_smb2
(This used to be commit c38658c6c05fd65d729693904d35886431582537)

15 years agoadded EAs in the generated SMB2 create operation
Andrew Tridgell [Thu, 22 May 2008 05:35:52 +0000 (15:35 +1000)]
added EAs in the generated SMB2 create operation
(This used to be commit 607bf6a946ffd7f768bda44c461ee82fcfc101c1)

15 years agoadded --maskindexing and qfileinfo testing
Andrew Tridgell [Thu, 22 May 2008 04:51:32 +0000 (14:51 +1000)]
added --maskindexing and qfileinfo testing

 - added --maskindexing to mask the 0x2000 noindex bit in file
   attributes
 - added testing of qfileinfo in gentest_smb2
(This used to be commit 3883a7286fd32cd6c77269f67d1366c3b946b5a0)

15 years agominor cleanup in SMB2 getinfo test
Andrew Tridgell [Thu, 22 May 2008 04:50:36 +0000 (14:50 +1000)]
minor cleanup in SMB2 getinfo test
(This used to be commit b139b471072f20288f126b5a9ee7613cc6c40681)

15 years agofixed parsing of the SMB2 ALL_INFO qfileinfo level
Andrew Tridgell [Thu, 22 May 2008 04:49:21 +0000 (14:49 +1000)]
fixed parsing of the SMB2 ALL_INFO qfileinfo level
(This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)

15 years agoadded SMB2 gentest generation of SMB2 echo packets
Andrew Tridgell [Thu, 22 May 2008 03:43:04 +0000 (13:43 +1000)]
added SMB2 gentest generation of SMB2 echo packets
(This used to be commit 8f7cfa5d2e190ddb74ba859a3f68ec0ed33ae089)

15 years agobadly formed SMB2 packets get NT_STATUS_INVALID_PARAMETER
Andrew Tridgell [Thu, 22 May 2008 03:14:55 +0000 (13:14 +1000)]
badly formed SMB2 packets get NT_STATUS_INVALID_PARAMETER
(This used to be commit 1c5dd2d1b655218f875a4e512ed3e94fee624fe4)

15 years agofixes to the SMB2 lock test after recent SMB2 locking changes
Andrew Tridgell [Thu, 22 May 2008 03:14:36 +0000 (13:14 +1000)]
fixes to the SMB2 lock test after recent SMB2 locking changes
(This used to be commit de7626e1c29f04e54afb6d95f4051bc52b17dd80)

15 years agoGPO: Do not provision Default Domain Policy as initially enforced. (bz #5480)
Andrew Kroeger [Thu, 22 May 2008 02:14:06 +0000 (21:14 -0500)]
GPO: Do not provision Default Domain Policy as initially enforced. (bz #5480)

This only solves part of bz #5480.  The settings for Enforced & Link Enabled
now match the default settings of a Windows DC, but they are still "locked"
and cannot be changed via the GUI.
(This used to be commit 761e667e45475d3a7d5a41558b400ba4c94c4650)

15 years agoenableaccount: Use correct command name in usage output.
Andrew Kroeger [Wed, 21 May 2008 23:54:15 +0000 (18:54 -0500)]
enableaccount: Use correct command name in usage output.
(This used to be commit 4ca8f32a37196c81547679b2ee8d00cb77a01269)

15 years agoprovision: Generate krb5.conf template separate from named.conf template.
Andrew Kroeger [Wed, 21 May 2008 23:12:36 +0000 (18:12 -0500)]
provision: Generate krb5.conf template separate from named.conf template.
(This used to be commit ebf130e9e57b640129cf0d05dbd7d210b71ea371)

15 years agogitignore: Ignore some output files from make test.
Andrew Kroeger [Wed, 21 May 2008 07:18:23 +0000 (02:18 -0500)]
gitignore: Ignore some output files from make test.
(This used to be commit 617d4b666514f997510a942c6f8aba6a4ae5e40e)

15 years agosubunit.sh: Properly capture and pass on the command output.
Andrew Kroeger [Wed, 21 May 2008 07:07:45 +0000 (02:07 -0500)]
subunit.sh: Properly capture and pass on the command output.

Previously, the output from $cmdline was never captured.  In case of a
failure, there was no output being passed to the subunit_fail_test() function,
but that function contains a call to "cat -".  This caused the script to hang
indefinitely waiting for input.

We now capture $cmdline output (including mapping stderr to stdout) using
backticks, and then pipe that output to the subunit_fail_test() if there is
a failure.
(This used to be commit c0234d13192c1871971b45121249395ef15c5ae5)

15 years agoFix import in provision test.
Jelmer Vernooij [Thu, 22 May 2008 01:09:40 +0000 (03:09 +0200)]
Fix import in provision test.
(This used to be commit 96501be38da947f02ad57217e0bc23f7a66d36f9)

15 years agoMove DCE/RPC python bindings into samba package.
Jelmer Vernooij [Thu, 22 May 2008 00:21:25 +0000 (02:21 +0200)]
Move DCE/RPC python bindings into samba package.
(This used to be commit 8dafd4ce40b7348fd5f2b1f2f5d2106ef4cc0dd1)

15 years agoFix CFLAGS for SWIG files.
Jelmer Vernooij [Thu, 22 May 2008 00:13:26 +0000 (02:13 +0200)]
Fix CFLAGS for SWIG files.
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)

15 years agoMake sure the default ldb modules dir gets initialized.
Jelmer Vernooij [Wed, 21 May 2008 23:50:38 +0000 (01:50 +0200)]
Make sure the default ldb modules dir gets initialized.
(This used to be commit 937456c69d23ece85bdb7415f52d722c2aa6b6b5)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Wed, 21 May 2008 23:48:20 +0000 (01:48 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 30f8d581aa339b37b27011e65355937590df10b9)

15 years agoFix python imports.
Jelmer Vernooij [Wed, 21 May 2008 23:47:36 +0000 (01:47 +0200)]
Fix python imports.
(This used to be commit 453206665677821b254c18cc67192e007b892f04)

15 years agouse one blackbox script per executable.
Jelmer Vernooij [Wed, 21 May 2008 23:47:22 +0000 (01:47 +0200)]
use one blackbox script per executable.
(This used to be commit cd8c8226784c96d7f1dbae006a4853eb50c7b2e2)

15 years agoFix events test.
Jelmer Vernooij [Wed, 21 May 2008 23:17:30 +0000 (01:17 +0200)]
Fix events test.
(This used to be commit 0fae6f11081cff7846319175cfec95fa3911571c)

15 years agoFix dependencies and imports.
Jelmer Vernooij [Wed, 21 May 2008 22:56:36 +0000 (00:56 +0200)]
Fix dependencies and imports.
(This used to be commit 37ef86f8de9039b8226b190254d842e92b5faad7)

15 years agoMove more modules inside of the samba package.
Jelmer Vernooij [Wed, 21 May 2008 21:59:34 +0000 (23:59 +0200)]
Move more modules inside of the samba package.
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)

15 years agoMove some python files into the samba package.
Jelmer Vernooij [Wed, 21 May 2008 19:50:56 +0000 (21:50 +0200)]
Move some python files into the samba package.
(This used to be commit ed38c668cdbe10966e46bad97301122eea8001d0)

15 years agoMove CFLAGS overrides for SWIG modules to Makefile.
Jelmer Vernooij [Wed, 21 May 2008 19:32:53 +0000 (21:32 +0200)]
Move CFLAGS overrides for SWIG modules to Makefile.
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)

15 years agolib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS
Stefan Metzmacher [Wed, 21 May 2008 19:28:59 +0000 (21:28 +0200)]
lib/socket: use HAVE_IPV6 test from LIBREPLACE_NETWORK_CHECKS

metze
(This used to be commit 76be51d3a08e2239a137b8abe3f2df722f69ddb2)

15 years agolibreplace: add test for HAVE_IPV6
Stefan Metzmacher [Wed, 21 May 2008 19:27:45 +0000 (21:27 +0200)]
libreplace: add test for HAVE_IPV6

Samba can later just check libreplace_cv_HAVE_IPV6 = yes.

metze
(This used to be commit e835e7eebcc064ce0813814796828f15ad112fbd)

15 years agoRemove support for .py files from smb_build - deal with it only in the makefiles.
Jelmer Vernooij [Wed, 21 May 2008 19:24:48 +0000 (21:24 +0200)]
Remove support for .py files from smb_build - deal with it only in the makefiles.
(This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)

15 years agoRefuse to install autogenerated proto header files.
Jelmer Vernooij [Wed, 21 May 2008 18:46:16 +0000 (20:46 +0200)]
Refuse to install autogenerated proto header files.
(This used to be commit c0a84c2b4698f6ac9b555cc74bed52e5930804d9)

15 years agoIgnore generated netlogon headers.
Jelmer Vernooij [Wed, 21 May 2008 18:44:36 +0000 (20:44 +0200)]
Ignore generated netlogon headers.
(This used to be commit 28e04f751f1d509da2c821f33df79b2a0c2d5a1a)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
Jelmer Vernooij [Wed, 21 May 2008 13:45:04 +0000 (15:45 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
(This used to be commit f29e9009310e4a6d575651dd9ba41ffc90bfb386)

15 years agoFix typo.
Jelmer Vernooij [Wed, 21 May 2008 13:40:55 +0000 (15:40 +0200)]
Fix typo.
(This used to be commit f0914d0187130adcd4f239d4ea0fc9f729fdedc9)

15 years agoFix reference to removed smbpython.
Jelmer Vernooij [Wed, 21 May 2008 13:39:00 +0000 (15:39 +0200)]
Fix reference to removed smbpython.
(This used to be commit 58f956dc4591137489cba16f360f2d24d91dadc1)

15 years agofixed SMB2 flush call, and added flush to gentest_smb2
Andrew Tridgell [Wed, 21 May 2008 12:51:21 +0000 (22:51 +1000)]
fixed SMB2 flush call, and added flush to gentest_smb2
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)

15 years agoRegenerate with newer version of swig.
Jelmer Vernooij [Wed, 21 May 2008 12:29:05 +0000 (14:29 +0200)]
Regenerate with newer version of swig.
(This used to be commit 034c68bea934db87bce13a750c17fb1bd2bbe3b6)

15 years agoUse gnu make syntax for SWIG implicit rule since it allows multiple output files.
Jelmer Vernooij [Wed, 21 May 2008 12:28:10 +0000 (14:28 +0200)]
Use gnu make syntax for SWIG implicit rule since it allows multiple output files.
(This used to be commit ce440887316d3ae379551c136f6b640c573fd702)

15 years agofixed SMB2 locking
Andrew Tridgell [Wed, 21 May 2008 12:12:20 +0000 (22:12 +1000)]
fixed SMB2 locking

- SMB2 locking is different in several ways from SMB locking. To fix
  it properly we will need a new generic mapping structure for
  locking, but for now do a best effort mapping

- added locking to gentest_smb2
(This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)

15 years agoFix dependencies for ldb instancetype module.
Jelmer Vernooij [Wed, 21 May 2008 10:38:47 +0000 (12:38 +0200)]
Fix dependencies for ldb instancetype module.
(This used to be commit 17c41a6c3e71102e3516e6926f7e7d1ab5c97563)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
Jelmer Vernooij [Wed, 21 May 2008 10:22:05 +0000 (12:22 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpython
(This used to be commit 5c56464a6c2f29a039ba3152de83d34778ca0615)

15 years agoFix installed symlinks (cp was trying to be smart).
Jelmer Vernooij [Wed, 21 May 2008 10:14:47 +0000 (12:14 +0200)]
Fix installed symlinks (cp was trying to be smart).
(This used to be commit a95f2bf86a75729717542b401aa39bedd21be8d0)

15 years agoAllow dots in .mk file section headers, fix docstring.
Jelmer Vernooij [Wed, 21 May 2008 10:02:02 +0000 (12:02 +0200)]
Allow dots in .mk file section headers, fix docstring.
(This used to be commit bd3f3e7c85f1a92638d69379782aa7bfcecd9e2f)

15 years agoCorrect an assertion in the testsuite.
Andrew Bartlett [Wed, 21 May 2008 04:49:47 +0000 (14:49 +1000)]
Correct an assertion in the testsuite.

Andrew Bartlett
(This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)

15 years agoMerge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Wed, 21 May 2008 04:34:43 +0000 (14:34 +1000)]
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
(This used to be commit 0e429dd1fb15137a2a7c25e051b9af8c4ed8c7f3)

15 years agoFix creation of sockaddr in netlogon datagram generator.
Andrew Bartlett [Wed, 21 May 2008 04:29:20 +0000 (14:29 +1000)]
Fix creation of sockaddr in netlogon datagram generator.

The previous code sent uninitialised data, and was the wrong length.

Andrew Bartlett
(This used to be commit 8e070293cfd522b7464be5bc4d8045572d6d996c)

15 years agoInclude flags.h into samdb.h
Andrew Bartlett [Wed, 21 May 2008 04:28:50 +0000 (14:28 +1000)]
Include flags.h into samdb.h

These flags are too useful just to hide away...

Andrew Bartlett
(This used to be commit 1e897b6148407e9921edd2c3db734930d79ccb42)

15 years agoExtend the NBT-DGRAM torture test again.
Andrew Bartlett [Wed, 21 May 2008 04:28:17 +0000 (14:28 +1000)]
Extend the NBT-DGRAM torture test again.

Andrew Bartlett
(This used to be commit f4154846401b31d99c40b2ea53992262095366b0)

15 years agoManually handle the NETLOGON_SAM_LOGON_REQUEST too.
Andrew Bartlett [Wed, 21 May 2008 04:26:38 +0000 (14:26 +1000)]
Manually handle the NETLOGON_SAM_LOGON_REQUEST too.

With the sid structure being both optional and aligned, it was too
hard to do this in just IDL.

This requried moving some things around, as otherwise we would have a
dependency loop.

Andrew Bartlett
(This used to be commit e28790ba4884277f310be1b8bd3fba4fd47dbbdb)

15 years agoExtend the 'netlogon' CLDAP and NBT implementation.
Andrew Bartlett [Wed, 21 May 2008 02:37:36 +0000 (12:37 +1000)]
Extend the 'netlogon' CLDAP and NBT implementation.

This now handles checking if the user exists, including validating the
ACB mask on the user.

This would be a nasty security hole, if Kerberos did not already
expose this information anonymously...

Andrew Bartlett
(This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Wed, 21 May 2008 02:13:45 +0000 (12:13 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 7594f79db6a0e8a46e2863829e5e050b03dfaec1)

15 years agoRe-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c
Andrew Bartlett [Wed, 21 May 2008 00:23:02 +0000 (10:23 +1000)]
Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c

This manual alignment is required, because the structure is marked as
unaligned.

Andrew Bartlett
(This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)

15 years agoFurther tests show NTLOGON and NETLOGON to be identical.
Andrew Bartlett [Wed, 21 May 2008 00:18:21 +0000 (10:18 +1000)]
Further tests show NTLOGON and NETLOGON to be identical.

I can't tell the difference between the NTLOGON and NETLOGON behaviour
on these pipes, and this 'exception' turned out to be alignment
dependent, not pipe dependent.

Andrew Bartlett
(This used to be commit bf1b99aff2a8feaee5f57c7530bc81d447e5d765)

15 years agoConvert in_transaction to a bool. Add the same fix Volker
Jeremy Allison [Tue, 20 May 2008 21:18:58 +0000 (14:18 -0700)]
Convert in_transaction to a bool. Add the same fix Volker
used for tdb_traverse() to tdb_traverse_read().
Jeremy.
(This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)

15 years agoFix nesting tdb_traverse in a transaction
Volker Lendecke [Tue, 20 May 2008 19:54:36 +0000 (21:54 +0200)]
Fix nesting tdb_traverse in a transaction

Calling tdb_traverse inside a transaction led to the transaction lock being
held indefinitely. This was caused by the tdb_transaction_lock/unlock inside
tdb_traverse: The transaction code holds the global lock at offset
TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the
transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap
resets tdb->have_transaction_lock but does not release the kernel-level fcntl
lock. transaction_commit later on does not release that fcntl lock either,
because tdb->have_transaction_lock was already reset by tdb_transaction().

This patch does fix that problem for me. An alternative would be to make
tdb->have_transaction_lock a counter that can cope with proper nesting, maybe
in other places as well.

Volker
(This used to be commit 89543005fe2e4934b3c560c937d49304a32a7fc2)

15 years agosmbtorture: Add RAW-BENCH-TCON benchmark.
James Peach [Tue, 20 May 2008 17:54:45 +0000 (10:54 -0700)]
smbtorture: Add RAW-BENCH-TCON benchmark.

Add a simple test to benchmark the rate at which a server can accept
new tree connections. You can tune the length of time to run the
benchmark for and the number of parallel connections to make.
(This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)

15 years agoChange wks password in rpc-bench-schannel1
Volker Lendecke [Tue, 20 May 2008 10:59:04 +0000 (12:59 +0200)]
Change wks password in rpc-bench-schannel1

Prove that a workstation password change does not affect existing schannel
connections
(This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Tue, 20 May 2008 05:35:49 +0000 (15:35 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)

15 years agoFix irpc GetDC requests.
Andrew Bartlett [Tue, 20 May 2008 05:28:26 +0000 (15:28 +1000)]
Fix irpc GetDC requests.

We would return NT_STATUS_NO_LOGON_SERVERS in all cases, which was
less than helpful.

Andrew Bartlett
(This used to be commit 5dfa316b3636718ffc6fd26cf7a397a797bd2ac1)

15 years agoadded read and write handlers. Fixed --analyse
Andrew Tridgell [Tue, 20 May 2008 05:16:53 +0000 (15:16 +1000)]
added read and write handlers. Fixed --analyse
(This used to be commit c05ed7bb9ae7211a7001fd0a3403744ba4f6dda0)

15 years agoFix number of arguments to IRPC getdc callback.
Andrew Bartlett [Tue, 20 May 2008 04:52:57 +0000 (14:52 +1000)]
Fix number of arguments to IRPC getdc callback.

Andrew Bartlett
(This used to be commit 8753ced2f4ee25cd5eff011f66f8e37f9807bdaf)

15 years agoadded smb2_util_setatr
Andrew Tridgell [Tue, 20 May 2008 03:37:51 +0000 (13:37 +1000)]
added smb2_util_setatr
(This used to be commit d4f41db964ce82c8889017d0f932d60100b3cd32)

15 years agospecify which server failed to deltree
Andrew Tridgell [Tue, 20 May 2008 03:37:40 +0000 (13:37 +1000)]
specify which server failed to deltree
(This used to be commit aa9108374f0dda8510245a6e69a53189f55a81e3)

15 years agoadded SMB2 setpathinfo composite wrapper
Andrew Tridgell [Tue, 20 May 2008 03:37:27 +0000 (13:37 +1000)]
added SMB2 setpathinfo composite wrapper
(This used to be commit e90c7587385598a1dd976c2420798f9bd682b43d)

15 years agofirst version of gentest_smb2. Only generates create and close so far.
Andrew Tridgell [Tue, 20 May 2008 01:59:43 +0000 (11:59 +1000)]
first version of gentest_smb2. Only generates create and close so far.
(This used to be commit 634a4bbd98e1c281f8339073b90cb7696ac59baa)

15 years agomoved these util functions into libcli
Andrew Tridgell [Tue, 20 May 2008 01:59:18 +0000 (11:59 +1000)]
moved these util functions into libcli
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)

15 years agocheck the creation options where the client can require a path to be a
Andrew Tridgell [Tue, 20 May 2008 01:58:47 +0000 (11:58 +1000)]
check the creation options where the client can require a path to be a
file or a directory
(This used to be commit c05b58940f06b01b9770c218eb0708cb621215ef)

15 years agoadded some SMB2 utility functions
Andrew Tridgell [Tue, 20 May 2008 01:58:04 +0000 (11:58 +1000)]
added some SMB2 utility functions
(This used to be commit 6a3b1cd6698faa460c6258bb41b4936e363f4387)

15 years agoremember the server time fields on negotiate. Needed for gentest
Andrew Tridgell [Tue, 20 May 2008 01:57:43 +0000 (11:57 +1000)]
remember the server time fields on negotiate. Needed for gentest
(This used to be commit 7989ca861dcc700b52be3a47ea5ae8b03fbb9330)

15 years agoRevert addition of 'mailslot' parameter.
Andrew Bartlett [Tue, 20 May 2008 01:54:50 +0000 (11:54 +1000)]
Revert addition of 'mailslot' parameter.

It turns out that the mailslot name (and a useful private prointer) is
provided in the struct dgram_mailslot_handler.

Andrew Bartlett
(This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)

15 years agoMerge commit 'origin/v4-0-test' into vfs_smb2
Andrew Tridgell [Tue, 20 May 2008 01:37:23 +0000 (11:37 +1000)]
Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)

15 years agoFix prototype generation in new syntax for netlogon.c
Andrew Bartlett [Tue, 20 May 2008 01:24:38 +0000 (11:24 +1000)]
Fix prototype generation in new syntax for netlogon.c

Andrew Bartlett
(This used to be commit b6f91ce75ae401bed515012fa3019a6241e7ff6d)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Tue, 20 May 2008 01:03:45 +0000 (11:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 67b47606b9c5b794d8feea5ba200098e9b9e33e3)

15 years agoAdd the core of the new CLDAP/NBT 'netlogon' parsing library.
Andrew Bartlett [Tue, 20 May 2008 00:58:43 +0000 (10:58 +1000)]
Add the core of the new CLDAP/NBT 'netlogon' parsing library.

This uses some hand-adjusted PIDL output to cope with some 'oddities'
in the parsing of the _EX varient of the netlogon packet.

Andrew Bartlett
(This used to be commit 6e357d00474de65395ca51524d3b85d00691baf2)

15 years agoUpdate tdb version number.
Jelmer Vernooij [Mon, 19 May 2008 23:52:11 +0000 (01:52 +0200)]
Update tdb version number.
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)

15 years agoFix proto generation.
Jelmer Vernooij [Mon, 19 May 2008 23:02:05 +0000 (01:02 +0200)]
Fix proto generation.
(This used to be commit 7385d9641d49b94c83fd2c75e57c9623d21fcdb0)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Mon, 19 May 2008 22:27:08 +0000 (08:27 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)

15 years agoDon't regenerate pam_errors.h any more.
Andrew Bartlett [Mon, 19 May 2008 22:06:50 +0000 (08:06 +1000)]
Don't regenerate pam_errors.h any more.

Due to the new rules on prototypes, it must be a static header file.

Andrew Bartlett
(This used to be commit cf60a9b34ec2419b2bc03a37190cb17ad4cf3d5f)

15 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Mon, 19 May 2008 22:03:35 +0000 (08:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

Fix config.mk due to changing syntax.

Conflicts:

source/libcli/config.mk
source/nbt_server/config.mk
(This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)

15 years agoAdd __repr__ implementation for Tdb.
Jelmer Vernooij [Mon, 19 May 2008 21:36:33 +0000 (23:36 +0200)]
Add __repr__ implementation for Tdb.
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)

15 years agoFix dependency.
Jelmer Vernooij [Mon, 19 May 2008 21:36:11 +0000 (23:36 +0200)]
Fix dependency.
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)

15 years agoAdd __repr__ implementation for Ldb.
Jelmer Vernooij [Mon, 19 May 2008 21:12:13 +0000 (23:12 +0200)]
Add __repr__ implementation for Ldb.
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)

15 years agoAdd __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
Jelmer Vernooij [Mon, 19 May 2008 21:07:04 +0000 (23:07 +0200)]
Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)

15 years agoFix a memleak in irpc_remove_name
Volker Lendecke [Mon, 19 May 2008 13:53:09 +0000 (15:53 +0200)]
Fix a memleak in irpc_remove_name

First, even when length==0 tdb_fetch might return something. Second, for some
weird reason there might be less data than necessary for a single server id.
(This used to be commit 49b04ca7aadf264e500d83bc8d3cb5173a86184e)

15 years agobuild: only add enabled subsystems and modules to ALL_OBJS
Stefan Metzmacher [Mon, 19 May 2008 12:15:15 +0000 (14:15 +0200)]
build: only add enabled subsystems and modules to ALL_OBJS

metze
(This used to be commit cc07bd86e270c8016acd0f685d699e4a3e63cfb1)

15 years agoadded SMB2 proxying of rmdir
Andrew Tridgell [Mon, 19 May 2008 03:05:08 +0000 (13:05 +1000)]
added SMB2 proxying of rmdir
(This used to be commit 1e0c24b2760f2a632333b51710cd9581f0cee851)

15 years agoMerge commit 'origin/v4-0-test' into vfs_smb2
Andrew Tridgell [Mon, 19 May 2008 01:40:25 +0000 (11:40 +1000)]
Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)

15 years agoadded mkdir to SMB2 proxy
Andrew Tridgell [Mon, 19 May 2008 01:39:16 +0000 (11:39 +1000)]
added mkdir to SMB2 proxy
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)

15 years agoRevert some absolute paths.
Jelmer Vernooij [Mon, 19 May 2008 00:19:32 +0000 (02:19 +0200)]
Revert some absolute paths.
(This used to be commit b4613e81351fa0477d0c76a19fb0474a79f8689f)

15 years agoMove IDL build script to rpc directory, make various bits and pieces easier to use...
Jelmer Vernooij [Mon, 19 May 2008 00:03:00 +0000 (02:03 +0200)]
Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
(This used to be commit 8328ff76416df5a6e05461d3a19f510b76f2e902)

15 years agoFix a bunch of dependencies.
Jelmer Vernooij [Sun, 18 May 2008 21:40:23 +0000 (23:40 +0200)]
Fix a bunch of dependencies.
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)

15 years agoFix a couple (well, little more than that..) of typos.
Jelmer Vernooij [Sun, 18 May 2008 21:02:47 +0000 (23:02 +0200)]
Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)

15 years agoCreate prototype headers from Makefile directory, without smb_build in the middle.
Jelmer Vernooij [Sun, 18 May 2008 20:30:08 +0000 (22:30 +0200)]
Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)