Andrew Bartlett
131420b45e
r2515: Fixes from smbtorture - these session keys are not individually encrypted.
...
Andrew Bartlett
2007-10-10 12:59:01 -05:00
Andrew Bartlett
fd10c9dd53
r2514: Remove unused funcions, and add static.
...
Andrew Bartlett
2007-10-10 12:59:01 -05:00
Andrew Bartlett
77d7c76c9b
r2513: Avoid strupper/strlower when you can. This developers module
...
certainly doesn't need it.
Andrew Bartlett
2007-10-10 12:59:00 -05:00
Andrew Bartlett
f543de80b1
r2512: Remove unused stub functions.
...
Andrew Bartlett
2007-10-10 12:59:00 -05:00
Tim Potter
471b13da2b
r2511: Add NT status codes.
2007-10-10 12:59:00 -05:00
Jelmer Vernooij
7c31998da1
r2510: Make C++ compilers happy, use ifdef instead of if
2007-10-10 12:59:00 -05:00
Stefan Metzmacher
dc1f8212ff
r2509: add a struct ldapsrv_call which is simular to the dcesrv_call_state struct
...
and related stuff...
metze
2007-10-10 12:59:00 -05:00
Stefan Metzmacher
e942f414c5
r2508: - implemented ldap_decode() for UnbindRequest and ExtendedRequest
...
- fail when we got a wrong tag in ldap_decode()
metze
2007-10-10 12:59:00 -05:00
Andrew Bartlett
59e361f7cc
r2507: Allow a case-insensitive lookup when converting strings into NTSTATUS
...
values.
Andrew Bartlett
2007-10-10 12:59:00 -05:00
Andrew Bartlett
1640272dc3
r2506: Add more printf attributes for format checking.
...
Andrew Bartlett
2007-10-10 12:58:59 -05:00
Andrew Bartlett
139cc702ac
r2505: Remove unused function. If/when we implement plaintext authenticaton
...
in Samba4, I want to redo this.
Andrew Bartlett
2007-10-10 12:58:59 -05:00
Andrew Bartlett
543401990a
r2504: Add printf attribute, for format argument checking.
...
Andrew Bartlett
2007-10-10 12:58:59 -05:00
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