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
Tim Potter
46b3d4cfd8
r2428: Handle unions as [out] parameters by passing the value of the switch_is
...
parameter down to the various conversion functions.
2007-10-10 12:58:51 -05:00
Tim Potter
086740c178
r2427: Add tests for samr_GetDomPwInfo, samr_RemoveMemberFromForeignDomain,
...
samr_LookupName, samr_OpenUser, samr_DeleteUser, samr_CreateUse and
samr_OpenDomain.
2007-10-10 12:58:51 -05:00
Tim Potter
a17aaadb7d
r2426: Handle pointer to scalars converting C to Python.
...
Peeked at parser.pm for some hints at getting array lengths right
when the length_is property is present.
2007-10-10 12:58:51 -05:00
Tim Potter
bcee386055
r2425: Found another place for a type check. When convert a dictionary value
...
to an array, check that the value exists and it is of list type.
Fix a typo.
2007-10-10 12:58:51 -05:00
Tim Potter
aaef6eaf6e
r2424: Refactor handling of non-OK NTSTATUS returns to be more swiggish.
2007-10-10 12:58:51 -05:00
Tim Potter
7a7cf9f352
r2423: Add some instructions for building extensions.
2007-10-10 12:58:51 -05:00
Tim Potter
9ea5574bb1
r2422: Convert PyDict_{Get,Set}Item() calls to PyDict_{Get,Set}ItemString().
2007-10-10 12:58:50 -05:00
Tim Potter
57edfd605b
r2421: Fix test for lookupdomain for a non-existent domain.
...
Export NTSTATUS exception from wrapper module so it can be used by scripts.
2007-10-10 12:58:50 -05:00
Tim Potter
aa15fd1ecb
r2419: Write tests for samr_EnumDomains() and samr_LookupDomain().
2007-10-10 12:58:50 -05:00
Tim Potter
e135265d1d
r2418: Handle a pointer to a scalar when converting a field from Python.
...
Handle a pointer to an array of structures when converting to Python.
2007-10-10 12:58:50 -05:00
Tim Potter
36320c6941
r2417: Add comments to the interface generator as well as some commentary in
...
the generated interface code.
Get rid of global variables within the perl generator code.
2007-10-10 12:58:50 -05:00
Tim Potter
fc5443af9c
r2416: More argument checks. Raise an exception instead of segfaulting if a
...
dictionary does not contain a required key.
2007-10-10 12:58:50 -05:00
Tim Potter
0f58ffb142
r2415: Throw a TypeError exception if a scalar value doesn't have the correct
...
type, or the argument to a to_python function isn't a dictionary.
2007-10-10 12:58:50 -05:00
Tim Potter
e1166c2100
r2414: samr_Connect.system_name is now an array.
2007-10-10 12:58:50 -05:00