Andrew Tridgell
9710f24b1f
r2503: the RAW-SEARCH test now mostly passes against the posix backend
2007-10-10 12:58:59 -05:00
Tim Potter
808e0708a9
r2502: Finish off samr torture test: samr_CreateUser2, samr_SetUserInfo,
...
samr_QueryAliasInfo, samr_SetAliasInfo, samr_AddMemberToAlias,
samr_AddMultipleMembersToAlias, samr_QueryDisplayInfo,
samr_QueryDisplayInfo2, samr_QueryDisplayInfo3,
samr_GetDisplayEnumerationIndex, samr_GetDisplayEnumerationIndex2,
samr_TestPrivateFunctionsDomain, samr_RidToSid,
samr_GetBootKeyInformation, samr_DeleteUser, samr_DeleteAlias,
samr_Close.
2007-10-10 12:58:59 -05:00
Tim Potter
90a9e754db
r2501: The AddMemberToAlias test doesn't need a domain_handle.
2007-10-10 12:58:59 -05:00
Andrew Tridgell
050dcd9b95
r2500: disable the sleep test in echo until we have a win32 echo server that
...
does Microsoft style async rpc serving
2007-10-10 12:58:59 -05:00
Andrew Tridgell
e28f202758
r2499: - use more efficient wildcard delete in smbclient
...
- use "*.*" instead of "*" when connected to ancient servers
2007-10-10 12:58:59 -05:00
Andrew Tridgell
b719199963
r2498: added STATUS_NO_MORE_FILES to nt status codes that we can map to a string
2007-10-10 12:58:58 -05:00
Andrew Tridgell
b2bb417218
r2497: fixed an uninitialised 4 bytes in old style session setup (found with valgrind)
2007-10-10 12:58:58 -05:00
Tim Potter
a2ab6c5ef9
r2496: Check that reference parameters are not None.
2007-10-10 12:58:58 -05:00
Andrew Tridgell
878729b7d9
r2495: cope properly with STATUS_NO_MORE_FILES in old search client code
2007-10-10 12:58:57 -05:00
Andrew Tridgell
25f725c9be
r2494: fixed connecting to a share mode server (tested and really works now)
2007-10-10 12:58:57 -05:00
Andrew Tridgell
0d5af5b70b
r2493: allow tdb to build standalone
2007-10-10 12:58:57 -05:00
Tim Potter
991d783c1a
r2492: Some cleanups.
...
Add tests for samr_CreateDomainGroup, samr_DeleteDomainGroup,
samr_QueryDomainInfo, samr_SetDomainInfo, samr_EnumDomainUsers,
samr_EnumDomainAliases, samr_EnumDomainGroups.
2007-10-10 12:58:57 -05:00
Tim Potter
f250203a5f
r2491: Handle pointers to scalars when converting to a Python dictionary (i.e
...
resume handles).
Remove some now unused debugging code.
2007-10-10 12:58:57 -05:00
Tim Potter
4ddcae90a2
r2490: Some changes to take into account non-error NTSTATUS codes being returned:
...
- Only throw an exception if NT_STATUS_IS_ERR() instead of
!NT_STATUS_IS_OK().
- Add the NTSTATUS value to the returned dictionary under a key of
'result' so calling functions can access it.
2007-10-10 12:58:57 -05:00
Tim Potter
a0e571a9dd
r2489: Rename account_flags in EnumDomainAliases() to acct_flags.
2007-10-10 12:58:57 -05:00
Tim Potter
f09fee9239
r2486: Use correct type checks when checking 64-bit quantities (int64, uint64,
...
NTTIME and HYPER_T).
Also use the correct conversion routines when creating 64 bit objects.
2007-10-10 12:58:57 -05:00
Andrew Tridgell
856cdf82f2
r2485: - add a test case in ldbtest for a bug pointed out by Jon Haswell.
...
- fixed the bug shown with the above test, by initialising the
sequence number to something different from the value used in
ltdb_cache_free()
2007-10-10 12:58:56 -05:00
Andrew Tridgell
05601a4c6f
r2484: allow ldb to build standalone again
2007-10-10 12:58:56 -05:00
Andrew Tridgell
71480271ad
r2469: complete overhaul of the old-style RAW_SEARCH_ calls (the OS/2 and
...
original core level calls). The old code was completely wrong in many respects.
also fixed the EA_SIZE level in the server
extended the RAW-SEARCH test suite to test the new code properly
2007-10-10 12:58:56 -05:00
Stefan Metzmacher
a0c2a3a5d4
r2468: print out the names of the fault codes#
...
metze
2007-10-10 12:58:56 -05:00
Andrew Tridgell
59b3d68bd0
r2465: modify the autoidl hack to work for DRSUAPI
2007-10-10 12:58:56 -05:00
Stefan Metzmacher
518bd32ed5
r2464: fix the build
...
metze
2007-10-10 12:58:56 -05:00
Andrew Tridgell
3e84c06f4c
r2463: make sure we don't send the password in a tconx unless we really have to
2007-10-10 12:58:56 -05:00
Andrew Tridgell
7bfbbc38ed
r2462: added a test for the error code for no matching filename
2007-10-10 12:58:55 -05:00
Tim Potter
632b7cc0d6
r2461: Update samr.py torture test after policy handle parameter renames.
...
I thought of another exception to the policy name rule - samr_Close
can operate on any kind of samr handle.
2007-10-10 12:58:55 -05:00
Andrew Tridgell
9a708e2281
r2460: fixed the spnego code that I recently broke
2007-10-10 12:58:55 -05:00
Andrew Tridgell
3bf55c9e11
r2459: added STATUS_NO_MORE_FILES nt status code
2007-10-10 12:58:55 -05:00
Tim Potter
32f0f3154a
r2458: Rename policy handle parameters for the SAMR pipe. Parameters now
...
have the handle type implied by the parameter name. There are four
types of handle: connect, domain, user and group handles. The
various samr_Connect functions return a connect handle, and the
samr_OpenFoo functions return a foo handle.
There is one exception - the samr_{Get,Set}Security function can
take any type of handle.
Fix up all C callers.
2007-10-10 12:58:55 -05:00
Andrew Tridgell
e23514c78f
r2457: expanded the RAW-SEARCH test to test for what happens when a directory
...
is modified while being searched, and whether the server always
returns sorted directory listings.
2007-10-10 12:58:55 -05:00
Andrew Tridgell
ea7eac5e3f
r2456: got rid of some outdated global macros
2007-10-10 12:58:55 -05:00
Andrew Tridgell
93d444e6fd
r2455: don't use the uninitialised sess structure when auth fails
2007-10-10 12:58:54 -05:00
Andrew Tridgell
4b795cbf12
r2454: fixed the accelerated StrCaseCmp() so it compares in the right order
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
fba1637710
r2449: use a blocking fd for smbsrv code
...
metze
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
e20cfb705f
r2448: use SO_REUSEADDR=1 for the server
...
metze
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
2fd577d241
r2447: let the server code use the new lib/socket/ stuff
...
metze
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
a8ebb5c5bc
r2446: implement socket_get_<peer|my>_<addr|port>() for ipv4
...
metze
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
9c0e50a6f3
r2443: check return code of event_loop_once() to catch thet cases where the server
...
closes the connetion and we got EBADF from select() and event_loop_once() fails
metze
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
3cd63030b1
r2442: remove unused event_loop_once() call
...
metze
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
36bf2f3eaf
r2441: set exit code correct when we got EBADF from select()
...
metze
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
2757c593ab
r2439: - function that return just an int don't need a TALLOC_CTX
...
- fix some return and state bugs
metze
2007-10-10 12:58:53 -05:00
Andrew Tridgell
5e2027f8ec
r2438: compile on systems without O_DIRECTORY (probably won't work, but I'll get to that later)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
2fa6ab9fe3
r2437: implemented a suggestion from abartlet that if we cannot convert
...
strings to UTF16 in StrCaseCmp() that we fall back to a simpler
comparison.
2007-10-10 12:58:53 -05:00
Andrew Tridgell
f2fa7fe565
r2436: the second big lump of posix vfs code.
...
this is still just a skeleton, and many of the functions are just
based on the simple vfs backend, they are there to allow me to run
smbtorture tests against the real parts of the posix backend.
2007-10-10 12:58:52 -05:00
Andrew Tridgell
1b4cee825e
r2435: got rid of another pointless strnequal()
2007-10-10 12:58:52 -05:00
Andrew Tridgell
5fcad57128
r2434: separate "attrib" and "ex_attrib" elements for DOS attributes is pointless
2007-10-10 12:58:52 -05:00
Andrew Tridgell
bb6bb2735e
r2433: attrib_string() is now a generally available library function (it will be used by the new RAW-SEARCH test)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
cef08d5789
r2432: more string function updates.
...
btw, the reason I want to use strncasecmp() instead of StrnCaseCmp()
is that the Samba internal functions are built to deal with
multi-byte, whereas in the cases I am converting we know we are
dealing with solely ascii string constants, so going via the slow
conversion libraries is pointless.
2007-10-10 12:58:52 -05:00
Andrew Tridgell
a1b5880b2e
r2431: got rid of strnequal() in a couple of places
2007-10-10 12:58:52 -05:00
Andrew Tridgell
869b757bba
r2430: got rid of StrnCaseCmp and added an accelerated version of StrCaseCmp()
...
for places where known ascii strings are being compared we should just
use strncasecmp() and other standard library functions (with
replacements via lib/replace.c if needed)
2007-10-10 12:58:51 -05:00
Tim Potter
1dc86e466d
r2429: Add tests for samr_QueryUserInfo(), samr_QueryUserInfo2(),
...
samr_GetUserPwInfo(), samr_TestPrivateFunctionsUser(). Add stubs for
the rest of the functions in test_OpenDomain() from smbtorture.
2007-10-10 12:58:51 -05:00