Stefan Metzmacher [Tue, 16 Nov 2004 13:05:51 +0000 (13:05 +0000)]
r3786: send a mechListMIC to make the current samba3 client happy
metze
(This used to be commit
2403186562698b8e13c20741a0cbed812e1b8e89)
Stefan Metzmacher [Tue, 16 Nov 2004 11:17:59 +0000 (11:17 +0000)]
r3785: this strings are not const
metze
(This used to be commit
436da375a2a815926aaa0565120a4750ead37cb0)
Stefan Metzmacher [Tue, 16 Nov 2004 10:56:51 +0000 (10:56 +0000)]
r3784: do a samdb lookup for the DsCrackNames server
metze
(This used to be commit
a2776eca83117131f8316ca222a2f385ffa5d7d5)
Stefan Metzmacher [Tue, 16 Nov 2004 09:00:52 +0000 (09:00 +0000)]
r3783: - don't use make proto for ldb anymore
- split ldh.h out of samba's includes.h
- make ldb_context and ldb_module private to the subsystem
- use ltdb_ prefix for all ldb_tdb functions
metze
(This used to be commit
f5ee40d6ce8224e280070975efc9911558fe675c)
Stefan Metzmacher [Tue, 16 Nov 2004 06:14:36 +0000 (06:14 +0000)]
r3782: use ldb_ namespace
metze
(This used to be commit
9003698e0fba28551d41d41dec159cc9c42ce7d2)
Stefan Metzmacher [Mon, 15 Nov 2004 20:31:12 +0000 (20:31 +0000)]
r3770: - fix endless recursion loop in spnego fallback code
- fix compiler warnings
metze
(This used to be commit
37a8bd2e30cab98bc8b1bf10d0a516827cbb3373)
Stefan Metzmacher [Mon, 15 Nov 2004 20:25:40 +0000 (20:25 +0000)]
r3769: fix the build of shared libraries
metze
(This used to be commit
461ff03ce38c6bf6b90f95029287c6e6b01fc1e0)
Jelmer Vernooij [Mon, 15 Nov 2004 19:53:45 +0000 (19:53 +0000)]
r3768: Fix build of libraries
(This used to be commit
9929aa94ef01eba64ccf41f4b22df0cdbe3e96b3)
Stefan Metzmacher [Mon, 15 Nov 2004 17:27:07 +0000 (17:27 +0000)]
r3762: - only load the readed bytes into the input buffer
- fix compiler warnings with gcc-4.0
metze
(This used to be commit
7a931ea0f4884d866bbb05b7b81f8e0598364813)
Simo Sorce [Mon, 15 Nov 2004 14:16:10 +0000 (14:16 +0000)]
r3760: mention -o switch in help message
(This used to be commit
0e7d8753101f22aa192ac5628675a0374484d0e9)
Simo Sorce [Mon, 15 Nov 2004 12:30:28 +0000 (12:30 +0000)]
r3757: Some fixes for ldb_ldap
Now we pass also the test-ldap tests :-)
(This used to be commit
0d58b1dc5aa0b00a924c1c5506f0c500c0b37b3e)
Volker Lendecke [Mon, 15 Nov 2004 12:24:02 +0000 (12:24 +0000)]
r3756: Fix netbios session request reply. The buffer should not be a stack-based
variable that is overwritten later.
Samba3 smbclient still does not like Samba4. In ntlmssp samba3 smbclient
expects an mechlistmic that 4 does not send.
Volker
(This used to be commit
614dbd8fec09a5e4c63e4b7774aa38335e030a42)
Simo Sorce [Mon, 15 Nov 2004 11:42:17 +0000 (11:42 +0000)]
r3755: add missing files
(This used to be commit
0b715b6ce21d23970d207d57e90133be17790d15)
Simo Sorce [Mon, 15 Nov 2004 11:40:27 +0000 (11:40 +0000)]
r3754: merge in ldb modules support from the tmp branch ldbPlugins
(This used to be commit
71323f424b4561af1fdddd2358629049be3dad8c)
Jelmer Vernooij [Mon, 15 Nov 2004 11:13:35 +0000 (11:13 +0000)]
r3753: Have some modules default to "NOT" and enable them again when
their dependencies are found
(This used to be commit
8e7e98ae5fca8be8c6a0b4c543b6828c46172171)
Jelmer Vernooij [Mon, 15 Nov 2004 10:58:56 +0000 (10:58 +0000)]
r3752: Remove direct.pm for now (not used and breaks solaris build)
(This used to be commit
f28638628a10fbb42276517527d681bd0b3f6217)
Jelmer Vernooij [Mon, 15 Nov 2004 10:43:10 +0000 (10:43 +0000)]
r3751: Some fixes to using enable and disable for subsystems, ext libs and modules
(This used to be commit
c7757dd9adc18549fa3f908c2714624ec3f91394)
Stefan Metzmacher [Mon, 15 Nov 2004 08:51:31 +0000 (08:51 +0000)]
r3750: fix the build
metze
(This used to be commit
51630caeb1419565b4196c5672f113373586dafc)
Andrew Tridgell [Mon, 15 Nov 2004 07:31:16 +0000 (07:31 +0000)]
r3749: don't consider it a failure if we fail to re-encode a codepoint above
1M, or in the case of non-UTF charsets, above 256
(This used to be commit
02595c14ac44403dd193d084dea9b91a67554a94)
Andrew Tridgell [Mon, 15 Nov 2004 06:59:03 +0000 (06:59 +0000)]
r3748: pvfs passes RAW-EAS but not RAW-STREAMS yet
(This used to be commit
d288a0d4a1ef4cb08d1d959e8e1f0e5f06d7d203)
Andrew Tridgell [Mon, 15 Nov 2004 06:57:26 +0000 (06:57 +0000)]
r3747: - added some of the infrastructure needed for streams support in pvfs
(the IDL, and the load/save meta-data logic)
- changed pvfs_resolve_name() to default to non-wildcard, needing
PVFS_RESOLVE_WILDCARD to enable wildcards. Most callers don't want
wildcards, so defaulting this way makes more sense.
- fixed deletion of EAs
(This used to be commit
e7afd4403cc1b7e0928776929f8988aa6f15640b)
Andrew Tridgell [Mon, 15 Nov 2004 06:55:27 +0000 (06:55 +0000)]
r3746: added RAW-STREAMS and RAW-EAS tests to smbtorture
(This used to be commit
5ed3d68d20860bdedcfeb2461af570aedc689674)
Andrew Tridgell [Mon, 15 Nov 2004 05:28:11 +0000 (05:28 +0000)]
r3745: fixed the posix backend after the recent build changes (it had lost
the detection of HAVE_XATTR_SUPPORT during configure)
(This used to be commit
c3b318143f2cfd6376a740afd77900c342e0eec4)
Jelmer Vernooij [Mon, 15 Nov 2004 00:32:37 +0000 (00:32 +0000)]
r3744: Support building subsystems as a shared library. Modules don't work yet,
so while this does compile, it does not work yet.
(This used to be commit
3d885562c9f83d60c5d4957b067e35387dfa50dd)
Andrew Tridgell [Mon, 15 Nov 2004 00:31:32 +0000 (00:31 +0000)]
r3743: auto-support the RH schema location as well
(This used to be commit
4fc794d0b4bc6f2a0115628589f9366800a369ca)
Andrew Tridgell [Mon, 15 Nov 2004 00:15:25 +0000 (00:15 +0000)]
r3742: make test-ldap give a sane error message when the openldap schema files are missing
and auto-link the files if they are found in /etc/ldap/schema/
(This used to be commit
88b03ffc85d43ac83193a093cdb246794d74c4e4)
Andrew Tridgell [Sun, 14 Nov 2004 23:37:02 +0000 (23:37 +0000)]
r3741: FILE_ATTRIBUTE_DIRECTORY is illegal in open of a file
(This used to be commit
ad7815fababe5783df5e8fb4a490921a5af693d6)
Jelmer Vernooij [Sun, 14 Nov 2004 23:10:04 +0000 (23:10 +0000)]
r3740: Convert more files to .mk, fix the build
(This used to be commit
a7c3c8cb6256acf672996fc6bf6128865a9ba0a9)
Jelmer Vernooij [Sun, 14 Nov 2004 22:47:39 +0000 (22:47 +0000)]
r3739: Remove a bunch of unused m4 macros
(This used to be commit
2a38b77a1d8674b46028214896e37747c4082f13)
Jelmer Vernooij [Sun, 14 Nov 2004 22:33:21 +0000 (22:33 +0000)]
r3738: Use a hardcoded list of .mk files rather then "find" (breaks on
some machines)
(This used to be commit
9e65718102da901bbe07213c6cb16d837ccc3127)
Jelmer Vernooij [Sun, 14 Nov 2004 22:23:23 +0000 (22:23 +0000)]
r3737: - Get rid of the register_subsystem() and register_backend() functions.
- Re-disable tdbtool (it was building fine on my Debian box but other
machines were having problems)
(This used to be commit
0d7bb2c40b7a9ed59df3f8944133ea562697e814)
Jelmer Vernooij [Sun, 14 Nov 2004 21:25:07 +0000 (21:25 +0000)]
r3736: Fix the build for builds that haven't got all libs samba
can use installed.
(This used to be commit
359a3570f32902db0e9f59f168af464e8c652cea)
Jelmer Vernooij [Sun, 14 Nov 2004 16:51:32 +0000 (16:51 +0000)]
r3735: Allow building subsystems as static libraries (.a files). To enable
this support, run SUBSYSTEM_OUTPUT_TYPE=STATIC_LIBRARY ./config.status
I haven't enabled this by default because there are some circular dependencies
in the makefile that have to be resolved first (LIBRPC depends on LIBSMB
and LIBSMB depends on LIBRPC..)
(This used to be commit
fc0432069bf3569a47a7c32f4bf789cec2ca44db)
Jelmer Vernooij [Sun, 14 Nov 2004 16:34:30 +0000 (16:34 +0000)]
r3734: Fix some incorrect dependencies
(This used to be commit
3add9e7de52496b135a230cccfd2d99a8b77ddd0)
Jelmer Vernooij [Sun, 14 Nov 2004 16:22:01 +0000 (16:22 +0000)]
r3733: More build system fixes/features:
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure
- Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities)
(This used to be commit
64826da834e26ee0488674e27a0eae36491ee179)
Jelmer Vernooij [Sun, 14 Nov 2004 13:52:16 +0000 (13:52 +0000)]
r3730: More build system fixes and simplifications
the hierarchy in the init functions is correct now
will also make it easier to implement some other features
(This used to be commit
cbe819a75568403ac8850ea4d344c607a46d61c2)
Andrew Tridgell [Sun, 14 Nov 2004 09:16:03 +0000 (09:16 +0000)]
r3729: permission changes on directories always include the FILE_ATTRIBUTE_DIRECTORY bit
(This used to be commit
5af815ffc3531e4ae4a6844e9f754656d9acf76e)
Jelmer Vernooij [Sat, 13 Nov 2004 18:20:33 +0000 (18:20 +0000)]
r3726: More simplifications/fixes in the build system
(This used to be commit
e32f87fdea3070ea715ef547f2a406aa63ab775f)
Andrew Bartlett [Sat, 13 Nov 2004 13:48:59 +0000 (13:48 +0000)]
r3725: The new RPC-SAMSYNC test, complete with SAMR comparisons. This is
certainly not complete, we need to verify all incoming data, not just
accounts.
This needs to be exercised against some 'intersting' users, but for
now it shows that the IDL is already very accurate, particularly after
the previous commits cleanups of names.
Also commit the changes to keep RPC-LOGIN building.
Andrew Bartlett
(This used to be commit
87ec6834bc75012527454abc0e854b1cf2120088)
Andrew Bartlett [Sat, 13 Nov 2004 13:45:41 +0000 (13:45 +0000)]
r3724: Rename a number of structures, for better consistance between SAMR and
NETLOGON.
In particular, rename samr_Name to samr_String - given that many
strings in this pipe are not 'names', the previous was just confusing.
(I look forward to PIDL turning these into simple char * some day...).
Also export out a few changes from testjoin.c to allow for how I have
written the new RPC-SAMSYNC test.
Andrew Bartlett
(This used to be commit
9cd666bcfb1fc752a4717010a7c4f05131dc728e)
Andrew Bartlett [Sat, 13 Nov 2004 13:33:45 +0000 (13:33 +0000)]
r3723: Now that timestring() always returns talloc'ed memory, we don't need
this talloc strdup here (do we?).
Andrew Bartlett
(This used to be commit
d6aca06793b4bc72399c7357c5f357d6db036513)
Stefan Metzmacher [Sat, 13 Nov 2004 11:33:01 +0000 (11:33 +0000)]
r3722: - add userdomain in the binding dialog
- print samba_version_string() on Help->About
- some minor format fixes
metze
(This used to be commit
b11bcb2704e39415ffb11defb0e04c8b34784011)
Andrew Bartlett [Sat, 13 Nov 2004 07:44:50 +0000 (07:44 +0000)]
r3721: We cracked the NTLM2 puzzle long ago, and set the flags elsewhere.
Remove the conditional set.
Andrew Bartlett
(This used to be commit
f5d8a4dde58a88408892501fd3ce53f19e67f1f1)
Andrew Tridgell [Sat, 13 Nov 2004 07:22:14 +0000 (07:22 +0000)]
r3720: fixed the pulling of zero length ucs2 strings in smbd. I found this
bug using ifstest.exe, which is a IFS (Installable File System) test
suite. With this fix I was pleasantly surprised to find that Samba4
passes many (maybe even most?) of the tests in ifstest.
(This used to be commit
a20cbca7880b66d3cf21213cccf93675e03f8728)
Andrew Tridgell [Sat, 13 Nov 2004 06:49:13 +0000 (06:49 +0000)]
r3719: pvfs now passes the RAW-RENAME test
(This used to be commit
3ab8136431aebf8a2625405c796dc4c697eb9e51)
Andrew Tridgell [Sat, 13 Nov 2004 06:46:51 +0000 (06:46 +0000)]
r3718: added support for the ntrename level in pvfs_rename().
(This used to be commit
3d50982f5419b9a5c53f2b82a2313669cdeaaa21)
Andrew Tridgell [Sat, 13 Nov 2004 05:47:27 +0000 (05:47 +0000)]
r3717: - expanded the RAW-RENAME test a little
- added support for wildcard rename in pvfs
- made more consistent use of pvfs_map_errno()
(This used to be commit
e255d1c3a811c480a850452aaf636d9fa36f69fe)
Andrew Bartlett [Sat, 13 Nov 2004 03:57:54 +0000 (03:57 +0000)]
r3716: Improvements in the RPC-SAMSYNC tests:
We now (for the first time) start to parse the 'user sensitive info'
field, which reveals the user's NT and LM passwords from Win2k3.
Using this, the 'validate samsync against netlogon' portion of the
tests works for accounts.
Trusted domains and secrets are now retreived, but like users,
require further cross-validation work.
Andrew Bartlett
(This used to be commit
c1d3794cad8b001661b48ecb05df5c38a69be92c)
Andrew Tridgell [Fri, 12 Nov 2004 09:38:37 +0000 (09:38 +0000)]
r3700: pvfs passes RAW-WRITE but not BASE-DELAYWRITE
(This used to be commit
7f3315d9196301a23d2a48f9fc0e9302c28027bf)
Andrew Tridgell [Fri, 12 Nov 2004 09:37:59 +0000 (09:37 +0000)]
r3699: - split the delayed write testing out of RAW-WRITE, as it is not yet
clear what the correct behaviour is for delayed stat info update.
- use a common torture_setup_dir() function for setting up a test
directory in torture tests.
(This used to be commit
f7fb34715b7d6ea3c35ddd684cfb27459a420339)
Andrew Tridgell [Fri, 12 Nov 2004 03:38:47 +0000 (03:38 +0000)]
r3698: mark RAW-SFILEINFO as working
(This used to be commit
f0760858f89dc4cead26b84db61cec470ac8e67d)
Jelmer Vernooij [Fri, 12 Nov 2004 02:57:15 +0000 (02:57 +0000)]
r3696: Feed directly to perl, rather then creating an intermediate file
(This used to be commit
dab264b78cdf709f1e2618b2b52b0e4aa2ad85b7)
Jelmer Vernooij [Fri, 12 Nov 2004 02:47:24 +0000 (02:47 +0000)]
r3695: Add intermediate functions to use when migrating from .m4+.mk to .pm files
(This used to be commit
fb849a309b823296a31bbf0b5b683760119c615c)
Andrew Tridgell [Fri, 12 Nov 2004 02:45:52 +0000 (02:45 +0000)]
r3694: added support for the RENAME_INFORMATION level of setfileinfo and
setpathinfo. pvfs now passes the RAW-SFILEINFO test.
(This used to be commit
31ac31398ba52dfc554e58edaa7ae257caf5fdc6)
Jelmer Vernooij [Fri, 12 Nov 2004 02:00:58 +0000 (02:00 +0000)]
r3691: Use packages
(This used to be commit
975f06b626a3cc25e69bbe95dcfa04dc78e3dc92)
Jelmer Vernooij [Fri, 12 Nov 2004 01:40:02 +0000 (01:40 +0000)]
r3690: Use perl's 'use' statement to include the build system parts
rather then using "cat"
(This used to be commit
4d018b2b701faa56d7e3bb7634729296b53e0acb)
Jelmer Vernooij [Fri, 12 Nov 2004 00:48:24 +0000 (00:48 +0000)]
r3689: Large number of COM updates:
- Work on server side and local COM support (should work, just no
example classes yet)
- Use vtables so that local and remote calls can be used transparently
- Generate 'proxies and stubs' rather then heavily modified code in client.pm and server.pm. proxies (client side code) are generated in proxy.pm, stubs (server side dispatchers) are generated in stubs.pm
- Support registering classes and interfaces
- DCOM interfaces no longer have to be in the same IDL file as their
base interface, which will allow us to split up dcom.idl
(This used to be commit
7466947a23985f9bb15209b67880f7b94dc515c8)
Andrew Bartlett [Thu, 11 Nov 2004 23:25:33 +0000 (23:25 +0000)]
r3687: Gaah - I forgot to add the new file for the RPC-SAMSYNC test...
See -r 3686
Andrew Bartlett
(This used to be commit
ab12134286267299c0bf60d03407429bb7de593f)
Andrew Bartlett [Thu, 11 Nov 2004 23:24:30 +0000 (23:24 +0000)]
r3686: The results of some work on the NETLOGON pipe:
Break out the samsync tests from RPC-NETLOGON into a new RPC-SAMSYNC,
that will cross-verify all the values.
Add support for the way netlogon credentials are shared between the
pipe that sets up schannel and the pipe that is encrypted with it.
Test this support, by calling both NETLOGON and SAMR operations in the
RPC-SCHANNEL test.
Move some of the Netlogon NEG flags into the .idl, now we have an idea
what a few of them really are.
Rename the sam_pwd_hash into a name that has meaning (all other crypto
functions were renamed in Samba4 ages ago).
Break out NTLMv2 functionality for operation on the NT hash - I intend
to do NTLMv2 logins in the samsync test in future, and naturally I
only have the hash.
Andrew Bartlett
(This used to be commit
6e6cc6fb9842113a1b0c7f6904dac709b320a6e5)
Andrew Bartlett [Thu, 11 Nov 2004 05:29:58 +0000 (05:29 +0000)]
r3680: Move the multiple runs of this test into a loop. Also check that no
flags individually have an impact (above what we already expect).
Andrew Bartlett
(This used to be commit
68dd173dc0539f290f40ee90f398591409765932)
Andrew Bartlett [Thu, 11 Nov 2004 05:04:22 +0000 (05:04 +0000)]
r3679: We now know a few more of the Netlogon negotiate flags.
Interestingly, all the interesting flags are a '4' (as hex digits in
the flag).
Andrew Bartlett
(This used to be commit
295e09fa3ea2cae48da1e934c1ec180e5678f0c9)
Andrew Bartlett [Thu, 11 Nov 2004 05:02:51 +0000 (05:02 +0000)]
r3678: Remove testing code accidentily commited.
Andrew Bartlett
(This used to be commit
cd23ddd0a7e87e217a93af499122e97e8dae4dd7)
Andrew Bartlett [Thu, 11 Nov 2004 04:32:01 +0000 (04:32 +0000)]
r3677: Seperate the SamLogon tests from the main RPC-NETLOGON test into a
RPC-SAMLOGON of their own.
I have expanded the tests to validate the use of various flags, which
change some of the crypto behaviour.
Andrew Bartlett
(This used to be commit
3a140a3691ce49ebf4d1efcb99cfffd26c68a28f)
Andrew Bartlett [Thu, 11 Nov 2004 01:29:34 +0000 (01:29 +0000)]
r3676: Add a negitive test for NTLM2 session security (which should not
appear in netlogon, despite what the LM response may look like).
Make the logon tests less verbose - only print test names on failure.
Andrew Bartlett
(This used to be commit
49c335bcd8852bcf2f4663b9fd514bf3da0fa50d)
Jelmer Vernooij [Wed, 10 Nov 2004 21:20:51 +0000 (21:20 +0000)]
r3667: Small COM fixes
(This used to be commit
7484b9be7423ccd7e37432951700939e8a53d513)
Volker Lendecke [Wed, 10 Nov 2004 16:50:15 +0000 (16:50 +0000)]
r3660: This simulates the logon sequence of a XP login session I'm currently tuning
Samba3/OpenLDAP for. For a concrete situation you have to adapt the domain,
pdcname and usernames/passwords. Sorry, not parametrized yet, but this should
be doable if necessary.
Volker
(This used to be commit
02f52058722fc1aea02d4fe237c97404d8e4f491)
Andrew Tridgell [Wed, 10 Nov 2004 12:40:33 +0000 (12:40 +0000)]
r3658: use handle->fd == -1 as the primary indicator of a directory. This
fixes a directory creation problem from WinXP
(This used to be commit
4b3afc6c395b430e7e56d8ebe0ddf85c556a5df5)
Andrew Bartlett [Wed, 10 Nov 2004 11:41:31 +0000 (11:41 +0000)]
r3657: More netlogon torture. We now test both function calls (SamLogon and SamLogonWithFlags).
Andrew Bartlett
(This used to be commit
7937503849125e8a351abd547accab3715fc8b13)
Andrew Tridgell [Wed, 10 Nov 2004 11:00:13 +0000 (11:00 +0000)]
r3656: allow easy testing of the "realloc changes the pointer" type of problem that abartlet
recently fixed.
(This used to be commit
70e53a21f25360d3421758f5c37972ebc2337a9c)
Andrew Bartlett [Wed, 10 Nov 2004 10:58:15 +0000 (10:58 +0000)]
r3655: As required by the new torture test, add the LM session key output
parameter to SMBNTLMv2encrypt().
Andrew Bartlett
(This used to be commit
75ff351faf0a3231e17f000b006beb9cb545d905)
Andrew Bartlett [Wed, 10 Nov 2004 10:56:43 +0000 (10:56 +0000)]
r3654: Add static and fix indentation.
Andrew Bartlett
(This used to be commit
cef31134ec4cd09eafd4f9f8f64e5fe3d68f19de)
Andrew Bartlett [Wed, 10 Nov 2004 10:46:55 +0000 (10:46 +0000)]
r3653: Move Interactive login tests up with the rest of the logon tests.
(Hmm, this whole section should be broken out into a new file, I
think).
Add new tests, particularly of the LM key for NTLMv2 responses, and
the (changed, apparently) session key for LMv2 only logins.
Next is to add SAMR modification and cross-validation.
Andrew Bartlett
(This used to be commit
be99ee4719a98c3fca13136d0c72f18a852fbd4e)
Andrew Bartlett [Wed, 10 Nov 2004 04:52:22 +0000 (04:52 +0000)]
r3652: Fix malloc-history dependent failures in smbtorture.
Because -r 3591 removed the over-allocation, realloc() had a chance of
returning a different pointer. This broke the length calculations in
the trans2 send code.
I think the length calculations coudld be better expressed (less cute
PTR_DIFF tricks) but I'm not going to touch this any more than I need
to.
Andrew Bartlett
(This used to be commit
4bfc916a2c3b9745f47ce4eaa892cdcc431e19db)
Andrew Bartlett [Wed, 10 Nov 2004 03:08:59 +0000 (03:08 +0000)]
r3651: Add a new configure option --with-eparserdir
This allows us to call 'make eparser_idl', generate the files required
by the ethereal pidl plugin, and put them in the right place. (See
lorikeet/ethereal)
Andrew Bartlett
(This used to be commit
bd9497b092335b2646a1955ea7c55ad33eb7d538)
Jelmer Vernooij [Tue, 9 Nov 2004 11:03:55 +0000 (11:03 +0000)]
r3636: Fix python build
(This used to be commit
0cf3978714cbe7ee49f5ab182ed007fcdf94b33b)
Andrew Tridgell [Tue, 9 Nov 2004 10:50:13 +0000 (10:50 +0000)]
r3635: fixed the crash from the BASE-DISCONNECT test
(This used to be commit
bdabb3f836d56ab0af9201321c00c8b385e053a5)
Andrew Tridgell [Tue, 9 Nov 2004 09:35:45 +0000 (09:35 +0000)]
r3634: - fixed BASE-DISCONNECT test to force the async packets to be sent by
waiting for a chkpath response
- fixed open async send in BASE-DISCONNECT
with these changes BASE-DISCONNECT crashes Samba4, as it was designed
to do. I'll work on a fix :)
(This used to be commit
25e01384647116d8ea0f20a6988fb8fe63218840)
Andrew Tridgell [Tue, 9 Nov 2004 09:26:47 +0000 (09:26 +0000)]
r3633: - moved module init functions to after smb.conf and command line
parsing, so that module init can take account of lp_ parms (thats
why gensec:krb5=no wasn't working)
- added a BASE-DISCONNECT torture test that tests server response to
clients disconnecting with open lock and open requests pending
(This used to be commit
5205f598b8c0be6985e61cc842cc5da109ba5b7e)
Andrew Tridgell [Tue, 9 Nov 2004 09:20:15 +0000 (09:20 +0000)]
r3632: added an index on "member" in default provision. This speeds up my
connect/disconnect test by a factor of 20x
when andrew gets a chance to change auth_sam.c to not do a search on
member= and instead use the memberOf attribute for the user then we
should delete this index attribute, as maintaining the index is
expensive
(This used to be commit
0443537be8e7ba87bdf716c1366e777f17652e0d)
Andrew Tridgell [Tue, 9 Nov 2004 02:12:57 +0000 (02:12 +0000)]
r3631: a couple of tweaks to the talloc hierarchy for async requests in
pvfs. This prevents a possible crash due to free ordering on
unexpected disconnect.
(This used to be commit
bfca9eb7cb7a2caf3a232d538808ff2ade8e1ca9)
Jelmer Vernooij [Tue, 9 Nov 2004 01:04:29 +0000 (01:04 +0000)]
r3630: More work on DCOM server side
(This used to be commit
e995a1c0e5d2ee2dc50c31c01ce281a303dd5231)
Jelmer Vernooij [Tue, 9 Nov 2004 00:30:44 +0000 (00:30 +0000)]
r3629: A bit of work on the DCOM server architecture, small fixes
(This used to be commit
e7b67ff22fe0a76afc93ee522b253eaf5dccb11d)
Jelmer Vernooij [Mon, 8 Nov 2004 22:18:18 +0000 (22:18 +0000)]
r3626: More minor DCOM fixes
(This used to be commit
709f279b192c8f9eeea04749169c00f2d57b20d3)
Jelmer Vernooij [Mon, 8 Nov 2004 20:54:00 +0000 (20:54 +0000)]
r3625: Couple of minor DCOM bugfixes
(This used to be commit
6f5bf44ade8bad10c6cf08a7d6e3528ec6b4ec8a)
Andrew Tridgell [Mon, 8 Nov 2004 11:35:49 +0000 (11:35 +0000)]
r3618: - this adds the special case for DENY_DOS semantics, as shown by the BASE-DENYDOS test.
- pvfs now passes BASE-DENY1 and BASE-DENYDOS.
(This used to be commit
aa09df22ee729c02552638859236d9068e9748ae)
Andrew Tridgell [Mon, 8 Nov 2004 03:54:12 +0000 (03:54 +0000)]
r3615: split out struct pvfs_file_handle from struct pvfs_file. This is in
preparation for adding code to pass the BASE-DENY1 and BASE-DENYDOS
tests, which require a shared filesystem handle for some specific
combinations of two DENY_DOS opens on the same connection.
(This used to be commit
6e4fdf01d19051e3923d7703dbf990fc1722b09a)
Andrew Tridgell [Mon, 8 Nov 2004 02:43:49 +0000 (02:43 +0000)]
r3613: fixed a typo
(This used to be commit
891e3097ee00d75f8f28efcccd8c15cd08b80e88)
Andrew Bartlett [Mon, 8 Nov 2004 02:28:12 +0000 (02:28 +0000)]
r3612: This appears to be the 'offical' way to initialise this struct.
Andrew Bartlett
(This used to be commit
47d67c6e5b265e4192fcae0d9cd72b3ac097785e)
Jelmer Vernooij [Mon, 8 Nov 2004 02:12:15 +0000 (02:12 +0000)]
r3611: DCOM client support works!!
The torture test DCOM-SIMPLE now successfully does an
IStream_Read and a IStream_Write call.
This test can now be run successfully against the "Simple DCOM" Visual
Studio example.
(You have to quote out line 337 in pidl. pidl complains if the variable
that contains the array size follows the array. I still need to fix this
properly)
Next goals:
- Clean up code
- Server side support
- Support custom marshalling
- Support DCOM interfaces in files other then dcom.idl
(This used to be commit
8693344772a9b700533179f4bacfe27ec27dfcfe)
Andrew Tridgell [Mon, 8 Nov 2004 02:01:05 +0000 (02:01 +0000)]
r3610: prevent segv with heimdal and password krb5 init
(This used to be commit
a4598e7fa17c7ec0fed9cb81f5a0fb30b133861b)
Andrew Bartlett [Mon, 8 Nov 2004 01:46:00 +0000 (01:46 +0000)]
r3609: Lets spew out a few less error messages for tridge, and hope to get
krb5 going on recent heimdal installs.
Andrew Bartlett
(This used to be commit
a758725407df0c87922a15aa32cc841bc4c059a2)
Andrew Tridgell [Mon, 8 Nov 2004 01:21:45 +0000 (01:21 +0000)]
r3608: added BASE-DENYDOS test
this test demonstrates how w2k3 handles the special semantics of
DENY_DOS when 2 opens happen on the same connection. The 2nd open
doesn't actually do a NTFS open, it happens as a secondary reference
to the same internal file handle in the CIFS layer. The evidence is
that the 2nd open shares the same POSITION_INFORMATION field as the
first open, but only for the special DENY_DOS cases that would
normally be refused.
(This used to be commit
eeec57d4f6d18a40e0ce451bfe051b3f699e8337)
Tim Potter [Sun, 7 Nov 2004 22:05:18 +0000 (22:05 +0000)]
r3607: EnumDomainAlises doesn't take a max_size parameter.
(This used to be commit
996d042bf701860fcc9a9b424118c02addb2119b)
Jelmer Vernooij [Sun, 7 Nov 2004 21:30:59 +0000 (21:30 +0000)]
r3606: More DCOM fixes:
- OXID tables work now. IOXIDResolver is used if there is used for getting a STRINGBINDING if none is known yet
- Add custom dissectors for STRINGARRAY and DUALSTRINGARRAY. If there's a way to get rid of these later on (by supporting them thru pidl somehow), I'd be happy to use that instead of doing it manually.
I can now get to the point where we have created an object and are connected to
it. The only thing left to do is being able to set the Object UUID properly..
(This used to be commit
54e1e5edca50d3cd496c080715e84ec62cb2a10c)
Jelmer Vernooij [Sun, 7 Nov 2004 19:28:18 +0000 (19:28 +0000)]
r3602: Add looking up transport by endpoint protocol
(This used to be commit
76c02ecbe8581fbf07bb59dd22ba88eb97b4fd04)
Jelmer Vernooij [Sun, 7 Nov 2004 16:47:46 +0000 (16:47 +0000)]
r3601: Lots of smaller DCOM updates and fixes. Adds oxid tables, proper
use of contexts.
(This used to be commit
93eb3cd99c4fb065a69eabcead0c33804259c976)
Andrew Tridgell [Sun, 7 Nov 2004 12:52:53 +0000 (12:52 +0000)]
r3600: fixed two debug typos
(This used to be commit
d0149b173f70cf012e6ed2382394985fb4950af6)
Andrew Tridgell [Sun, 7 Nov 2004 12:40:07 +0000 (12:40 +0000)]
r3599: fixed a couple of memory errors in the rpc netlogon server
(found with valgrind)
(This used to be commit
151dd4593d30c703b70099cd240784134fdb4e0f)
Andrew Tridgell [Sun, 7 Nov 2004 10:34:35 +0000 (10:34 +0000)]
r3598: hopefully fix the build on stratos
(This used to be commit
e6e8a9c7f014ddf7c92476a6713582303bb944a0)
Andrew Tridgell [Sun, 7 Nov 2004 10:20:50 +0000 (10:20 +0000)]
r3597: implement a suggestion from abartlet. By taking a refernce to the
database in the opendb lck, we ensure that the database is not closed
before the lock is gone. That ensures the lock destructor doesn't work
on a closed database.
(This used to be commit
218e01441aa1def3e8e884c8d618a95c9ffdfc1b)