Andrew Tridgell
ad5a5ea08d
r2787: force masktest to use RAW_SEARCH_BOTH_DIRECTORY_INFO so it can obtain the short name
2007-10-10 12:59:33 -05:00
Andrew Tridgell
11c852170b
r2786: - match on both long and short name for search posix backend
...
- a final name component of . is illegal
2007-10-10 12:59:33 -05:00
Andrew Tridgell
6c46e4622a
r2785: call init_iconv() in smbtorture to ensure we have no memory allocated
...
when a test started, thus making leak detection easier
2007-10-10 12:59:33 -05:00
Andrew Tridgell
ee065ae7f9
r2784: - fixed alignment of ascii directory listings
...
- fixed minimum parameter size for ascii qpathinfo call
2007-10-10 12:59:32 -05:00
Andrew Tridgell
9a04664531
r2783: got rid of the unused remote architecture detection code
2007-10-10 12:59:32 -05:00
Tim Potter
9250f745ad
r2782: Reformat IDL for winreg_EnumValue()
2007-10-10 12:59:32 -05:00
Tim Potter
cc646f73b8
r2781: Got winreg_EnumValue() working. Check it in so I don't break it trying
...
to clean it up. (-:
2007-10-10 12:59:32 -05:00
Tim Potter
c9e96038f8
r2780: Add conversion routines for DATA_BLOB. I'm not convinced that DATA_BLOB's
...
should be treated as scalar types though.
2007-10-10 12:59:32 -05:00
Tim Potter
35ff140b43
r2777: Correctly abort if an idl file fails to parse. Bloody perl...
2007-10-10 12:59:32 -05:00
Andrew Tridgell
8d879cf54c
r2776: if there are no wildcard characters then use StrCaseCmp()
...
note that this is not just an optimisation, it fixes a rare edge case
when LANMAN1 is negotiated
2007-10-10 12:59:32 -05:00
Andrew Tridgell
bae2baeb02
r2775: rewrote our ms_fnmatch code to be much more efficient, and to exactly
...
match w2k behaviour for older negotiated protocols.
2007-10-10 12:59:32 -05:00
Andrew Tridgell
630fefb24a
r2774: get rid of the lanman specific code in masktest, and add a -l option
2007-10-10 12:59:31 -05:00
Andrew Tridgell
06c58ad221
r2773: allow zero sized array talloc
2007-10-10 12:59:31 -05:00
Tim Potter
b63a0ef0d4
r2767: Get rid of some unnecessary %s formatting.
2007-10-10 12:59:31 -05:00
Tim Potter
37af942d08
r2766: Test OpenKey, QueryInfoKey, EnumKey, CloseKey functions.
...
The IDL for EnumValue is wrong - can't figure it out right now.
2007-10-10 12:59:31 -05:00
Tim Potter
6f3f6de058
r2765: Allow functions containing WERROR values to be compiled.
...
Add winreg.i to list of extensions.
2007-10-10 12:59:31 -05:00
Tim Potter
c4c748ce63
r2764: Use hand-written function for all occurrences of IDL strings, not just
...
those with a single pointer.
2007-10-10 12:59:31 -05:00
Andrew Tridgell
f3adabf689
r2763: use no-auth bind on ncacn_np unless we specify at least one of "sign", "seal" or "connect"
2007-10-10 12:59:31 -05:00
Simo Sorce
5f9b58c785
r2758: keep docos handy while developing it
2007-10-10 12:59:31 -05:00
Stefan Metzmacher
991b4777c8
r2757: some minor fixes
...
metze
2007-10-10 12:59:30 -05:00
Simo Sorce
ba2970c3a4
r2754: Change sldb_trim_dn() to be sldb_fix_dn() as we are not really trimming.
...
Make it handle all cases:
- remove spaces before and after ','
- remove spaces after '='
TODO: check if there are escape chars in the RFC, they are not handled here yet.
Simo.
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
3ff03b5cb2
r2751: this is a new ntvfs design which tries to solve:
...
- the stacking of modules
- finding the modules private data
- hide the ntvfs details from the calling layer
- I set NTVFS_INTERFACE_VERSION 0 till we are closer to release
(because we need to solve some async problems with the module stacking)
metze
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
4233067921
r2750: decode AbandonRequest correct (untested:-)
...
metze
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
a62fbcb30f
r2749: add asn1_read_implicit_Integer()
...
metze
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
6825e78e01
r2748: implement sldb_Compare()
...
Simo: this commit should not conflict much with your changes:-)
metze
2007-10-10 12:59:30 -05:00
Stefan Metzmacher
72dfea2b07
r2747: use DATA_BLOB for attribute values
...
en/decode CompareRequest/Response correct
metze
2007-10-10 12:59:29 -05:00
Andrew Tridgell
8d4dc99b82
r2744: ben elliston taught me about gcov today, which allows you to measure
...
the % coverage in terms of lines of code of a test suite. I thought a
good first place to start with gcov was the talloc test suite. When I
started the test suite covered about 60% of all lines of code in
talloc.c, and now it covers about 99%. The only lines not covered are
talloc corruption errors, as that would cause smb_panic() to fire.
It will be interesting to try gcov on the main Samba test suite for
smbd. We won't achieve 100% coverage, but it would be nice to get to
90% or more.
I also modified the talloc.c sources to be able to be build standalone, using:
gcc -c -D_STANDALONE_ -Iinlcude lib/talloc.c
that should make it much easier to re-use talloc in other projects
2007-10-10 12:59:29 -05:00
Andrew Tridgell
18d3e2647f
r2742: - fixed a bug in talloc_unreference()
...
- made the LOCAL-TALLOC smbtorture test much stricter, checking that
block counts for every pointer are correct after every operation
2007-10-10 12:59:29 -05:00
Jelmer Vernooij
0bb42ba898
r2741: Definition for ISystemActivator...
2007-10-10 12:59:29 -05:00
Jelmer Vernooij
ea0b0bfea9
r2740: Finish the RemoteActivation interface. Torture tests will follow
...
after pidl has been fixed (to be able to use input variables
inside size_is() for output variables)
2007-10-10 12:59:29 -05:00
Tim Potter
cf9b984b84
r2739: Start of torture test for winreg wrappers.
2007-10-10 12:59:29 -05:00
Andrew Tridgell
f4a7a3282a
r2738: free up the session information as soon as it is invalidated in the
...
RAW-CONTEXT test case
2007-10-10 12:59:28 -05:00
Andrew Tridgell
e62bd7ef7e
r2737: fixed up a corner case where talloc_unreference() and talloc_free()
...
might not place the pointer in the context specified in the docs. The
code was assuming that pointer was at the head of the child list,
which it may not be, depending on what other operations have happened
in between.
2007-10-10 12:59:28 -05:00
Jelmer Vernooij
1bb4718328
r2735: More DCOM updates:
...
- Several updates to the interface definitions after reading some more of the
specs
- Add Remote Activation interface
- Add body extension uuids
- Add oxidresolve torture test to list
- Make pidl complain about object interfaces that don't inherit from IUnknown
2007-10-10 12:59:27 -05:00
Andrew Tridgell
feb63e74f9
r2734: the samdb_destructor can be static
2007-10-10 12:59:27 -05:00
Stefan Metzmacher
a0e4dca3da
r2731: use debug level 10 everywhere
...
metze
2007-10-10 12:59:27 -05:00
Tim Potter
799b377bad
r2728: Break arg parsing stuff out of samr.py into a standalone program.
2007-10-10 12:59:27 -05:00
Stefan Metzmacher
7ff118ecc9
r2727: mark the password fields as hidden
...
metze
2007-10-10 12:59:27 -05:00
Andrew Tridgell
476674af55
r2726: added a -r option to ldbdel to allow easy delete of a whole
...
subtree. Useful when cleaning up a mess after testing.
2007-10-10 12:59:27 -05:00
Andrew Tridgell
19925f5bd8
r2725: fixed ldbtest to give the basedn to ldb_search()
2007-10-10 12:59:27 -05:00
Stefan Metzmacher
0aa622bdc4
r2724: - use ldapsrv_service and set it up with the rootDSE and default partition
...
(this is not complete yet)
- call asn1_free() after each call
metze
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
9600c1a2c7
r2723: fix some debug messages
...
metze
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
60dcba3e91
r2722: remove tmp debug messages
...
metze
2007-10-10 12:59:26 -05:00
Andrew Tridgell
fd2725f5c0
r2721: added a -b option to ldbtest so it can be used with the new smbd ldap server
...
without changing realms
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
e74d3895f0
r2720: -implement sldb_Modify() call
...
metze
2007-10-10 12:59:26 -05:00
Andrew Tridgell
a87584c8e3
r2718: - added a talloc_unreference() function as requested by metze.
...
- added documentation for talloc_unreference()
- made the abandoned child logic in talloc_free() clearer and more consistent
2007-10-10 12:59:26 -05:00
Stefan Metzmacher
7419c6dabb
r2714: - add sldb_Add() implementation
...
- fix some errstr settings
metze
2007-10-10 12:59:25 -05:00
Andrew Tridgell
b0c92616fb
r2713: better handling of binary values in index key creation
2007-10-10 12:59:25 -05:00
Andrew Tridgell
3f776a9b5c
r2712: fixed a bug in ldbtest to make it cope with an existing index
2007-10-10 12:59:25 -05:00
Andrew Tridgell
91669ea830
r2711: added a simple talloc speed tester. I get the following on my laptop:
...
MEASURING TALLOC VS MALLOC SPEED
talloc: 279154 ops/sec
malloc: 318758 ops/sec
which I think is an acceptable overhead for the increased functionality
2007-10-10 12:59:25 -05:00