summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2469: complete overhaul of the old-style RAW_SEARCH_ calls (the OS/2 andAndrew Tridgell10-117/+331
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 (This used to be commit 71480271ad84b57fcdde264a54bb2408cf783255)
2007-10-10r2468: print out the names of the fault codes#Stefan Metzmacher1-4/+4
metze (This used to be commit a0c2a3a5d4fba2a6a78cc3d167cbc19941fb43dc)
2007-10-10r2465: modify the autoidl hack to work for DRSUAPIAndrew Tridgell1-3/+27
(This used to be commit 59b3d68bd047231d72fa3299e7289aef25702e9b)
2007-10-10r2464: fix the buildStefan Metzmacher1-2/+2
metze (This used to be commit 518bd32ed5e2d2dcf0b8c5743dd71d79f32159a8)
2007-10-10r2463: make sure we don't send the password in a tconx unless we really have toAndrew Tridgell1-6/+14
(This used to be commit 3e84c06f4c76d62f4f2606b457d9a76b6c1a061d)
2007-10-10r2462: added a test for the error code for no matching filenameAndrew Tridgell1-0/+18
(This used to be commit 7bfbbc38ed9aac93d288aba183f7a925f170f81e)
2007-10-10r2461: Update samr.py torture test after policy handle parameter renames.Tim Potter1-32/+99
I thought of another exception to the policy name rule - samr_Close can operate on any kind of samr handle. (This used to be commit 632b7cc0d6b8349a9db1e57c305c359aa500c9e6)
2007-10-10r2460: fixed the spnego code that I recently brokeAndrew Tridgell1-0/+4
(This used to be commit 9a708e2281b87e41032e8a0b12bb5ac3b0e151ce)
2007-10-10r2459: added STATUS_NO_MORE_FILES nt status codeAndrew Tridgell1-1/+2
(This used to be commit 3bf55c9e1129d8036a968c49ac2de7260e657f53)
2007-10-10r2458: Rename policy handle parameters for the SAMR pipe. Parameters nowTim Potter8-247/+246
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. (This used to be commit 32f0f3154a8eb63de83145cbc8806b8906ccdc3e)
2007-10-10r2457: expanded the RAW-SEARCH test to test for what happens when a directoryAndrew Tridgell1-6/+233
is modified while being searched, and whether the server always returns sorted directory listings. (This used to be commit e23514c78f1f15a61dadaa5c4de5de7cd0593ea0)
2007-10-10r2456: got rid of some outdated global macrosAndrew Tridgell2-14/+8
(This used to be commit ea7eac5e3fb8f0db8d412a95ef4dc7889a07bc73)
2007-10-10r2455: don't use the uninitialised sess structure when auth failsAndrew Tridgell1-4/+6
(This used to be commit 93d444e6fd6b0e86a17a9aa8fa72408435cab3e0)
2007-10-10r2454: fixed the accelerated StrCaseCmp() so it compares in the right orderAndrew Tridgell1-2/+2
(This used to be commit 4b795cbf12108e56e5e84e3073c24ce6b625e3c3)
2007-10-10r2449: use a blocking fd for smbsrv codeStefan Metzmacher1-0/+4
metze (This used to be commit fba1637710138b0f2fae148e88b91a9cd1665465)
2007-10-10r2448: use SO_REUSEADDR=1 for the serverStefan Metzmacher1-1/+1
metze (This used to be commit e20cfb705f5ba0bef095a969f097a510bf314995)
2007-10-10r2447: let the server code use the new lib/socket/ stuffStefan Metzmacher11-174/+215
metze (This used to be commit 2fd577d2417e117a7e8c1a56feb147eae805df34)
2007-10-10r2446: implement socket_get_<peer|my>_<addr|port>() for ipv4Stefan Metzmacher1-5/+40
metze (This used to be commit a8ebb5c5bc6a8651867b46e87cf223cddf444e89)
2007-10-10r2443: check return code of event_loop_once() to catch thet cases where the ↵Stefan Metzmacher4-5/+15
server closes the connetion and we got EBADF from select() and event_loop_once() fails metze (This used to be commit 9c0e50a6f3d628156b4543d5ded89e06be696f64)
2007-10-10r2442: remove unused event_loop_once() callStefan Metzmacher1-2/+0
metze (This used to be commit 3cd63030b1433ddc3ae89e2f45c6f7a27b7d1756)
2007-10-10r2441: set exit code correct when we got EBADF from select()Stefan Metzmacher1-0/+1
metze (This used to be commit 36bf2f3eaf2e7568563cd98dc941d20f4574d271)
2007-10-10r2439: - function that return just an int don't need a TALLOC_CTXStefan Metzmacher3-21/+22
- fix some return and state bugs metze (This used to be commit 2757c593ab746b9dd7090f2cf5fcc31686adf67f)
2007-10-10r2438: compile on systems without O_DIRECTORY (probably won't work, but I'll ↵Andrew Tridgell1-0/+5
get to that later) (This used to be commit 5e2027f8ec7248e48d1dfb94c3688c78c64a85c5)
2007-10-10r2437: implemented a suggestion from abartlet that if we cannot convertAndrew Tridgell1-2/+5
strings to UTF16 in StrCaseCmp() that we fall back to a simpler comparison. (This used to be commit 2fa6ab9fe30aeacd7b1421fd83c409acf31c98aa)
2007-10-10r2436: the second big lump of posix vfs code.Andrew Tridgell15-186/+824
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. (This used to be commit f2fa7fe565e89360dba3bb5434d3a6a36f398348)
2007-10-10r2435: got rid of another pointless strnequal()Andrew Tridgell1-1/+1
(This used to be commit 1b4cee825e6e3d3710eda15cc25cdf6450feec17)
2007-10-10r2434: separate "attrib" and "ex_attrib" elements for DOS attributes is ↵Andrew Tridgell2-3/+1
pointless (This used to be commit 5fcad57128e47d4d6c0f387d5563d9de2fc08351)
2007-10-10r2433: attrib_string() is now a generally available library function (it ↵Andrew Tridgell1-40/+4
will be used by the new RAW-SEARCH test) (This used to be commit bb6bb2735eef58a135ba5cc3d64d75588a505d66)
2007-10-10r2432: more string function updates.Andrew Tridgell2-2/+2
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. (This used to be commit cef08d5789277bdaa25d5bf0e7cfca8615230f1b)
2007-10-10r2431: got rid of strnequal() in a couple of placesAndrew Tridgell2-2/+2
(This used to be commit a1b5880b2e548832eaf4a136aab1aead525c938f)
2007-10-10r2430: got rid of StrnCaseCmp and added an accelerated version of StrCaseCmp()Andrew Tridgell1-29/+78
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) (This used to be commit 869b757bba729c9ecd720e3956958efc7541f353)
2007-10-10r2429: Add tests for samr_QueryUserInfo(), samr_QueryUserInfo2(),Tim Potter1-3/+174
samr_GetUserPwInfo(), samr_TestPrivateFunctionsUser(). Add stubs for the rest of the functions in test_OpenDomain() from smbtorture. (This used to be commit 1dc86e466dc546a5509fe5195444e48dc026e9a1)
2007-10-10r2428: Handle unions as [out] parameters by passing the value of the switch_isTim Potter1-15/+61
parameter down to the various conversion functions. (This used to be commit 46b3d4cfd8effcc75293b8b0af04203fa25742b2)
2007-10-10r2427: Add tests for samr_GetDomPwInfo, samr_RemoveMemberFromForeignDomain,Tim Potter1-2/+150
samr_LookupName, samr_OpenUser, samr_DeleteUser, samr_CreateUse and samr_OpenDomain. (This used to be commit 086740c178c80ccb8d8eaff9f97007cb021bca20)
2007-10-10r2426: Handle pointer to scalars converting C to Python.Tim Potter1-10/+26
Peeked at parser.pm for some hints at getting array lengths right when the length_is property is present. (This used to be commit a17aaadb7d57dbe4cf0a62634f405c61b79a953f)
2007-10-10r2425: Found another place for a type check. When convert a dictionary valueTim Potter1-2/+11
to an array, check that the value exists and it is of list type. Fix a typo. (This used to be commit bcee3860554260bca2bbb6fd73d8770a4997c041)
2007-10-10r2424: Refactor handling of non-OK NTSTATUS returns to be more swiggish.Tim Potter2-19/+16
(This used to be commit aaef6eaf6e0c38fb277d1be0617dfdff559a0115)
2007-10-10r2423: Add some instructions for building extensions.Tim Potter1-0/+37
(This used to be commit 7a7cf9f3521535da47895d1a516c8572f7f34e40)
2007-10-10r2422: Convert PyDict_{Get,Set}Item() calls to PyDict_{Get,Set}ItemString().Tim Potter1-10/+10
(This used to be commit 9ea5574bb12161733afb592425724cff8c4bbedd)
2007-10-10r2421: Fix test for lookupdomain for a non-existent domain.Tim Potter2-2/+15
Export NTSTATUS exception from wrapper module so it can be used by scripts. (This used to be commit 57edfd605bffcf8a0feb5ccc5ec69cf5f35b677b)
2007-10-10r2419: Write tests for samr_EnumDomains() and samr_LookupDomain().Tim Potter1-4/+38
(This used to be commit aa15fd1ecba2163a077f398cecfb49d71a49cc9d)
2007-10-10r2418: Handle a pointer to a scalar when converting a field from Python.Tim Potter1-4/+9
Handle a pointer to an array of structures when converting to Python. (This used to be commit e135265d1d91ff9a6a4e7ec0079ecd88f0afe784)
2007-10-10r2417: Add comments to the interface generator as well as some commentary inTim Potter1-172/+227
the generated interface code. Get rid of global variables within the perl generator code. (This used to be commit 36320c694162a58665ace10576ad18c13a7850fe)
2007-10-10r2416: More argument checks. Raise an exception instead of segfaulting if aTim Potter2-10/+71
dictionary does not contain a required key. (This used to be commit fc5443af9c271baf189ebe0b098e190b5eda4e14)
2007-10-10r2415: Throw a TypeError exception if a scalar value doesn't have the correctTim Potter2-28/+100
type, or the argument to a to_python function isn't a dictionary. (This used to be commit 0f58ffb142a9b8c5c745b3a2c93a1659ea8282e5)
2007-10-10r2414: samr_Connect.system_name is now an array.Tim Potter1-1/+1
(This used to be commit e1166c210004b090c5922b2f9b10b86ebc3fc11d)
2007-10-10r2411: The other half of getting autogenerated code working using misc.idl:Tim Potter1-14/+70
use Python lists for arrays when marshaling and unmarshaling arrays. This gets samr_SetSecurity() working. (This used to be commit 9bc55de42ab9f0d71abcea65a7f4cf24db452381)
2007-10-10r2410: Add test for samr_SetSecurity().Tim Potter1-2/+7
(This used to be commit e822979e84d33015c937e22174288a3f2c2ff04b)
2007-10-10r2409: Convert NULL pointers to Py_None, and vice versa.Tim Potter1-2/+18
This gets samr_QuerySecurity() working again. (This used to be commit 810bce2fe517969e62d87497bbe4ae645badfdf6)
2007-10-10r2408: Tridge suggested that all the structures from misc.idl (policy handles,Tim Potter2-163/+73
sids, security descriptors and acls) can be automatically generated instead of hand-written. Fix up the swig wrapper generator and helper routines to do this. (Only works for policy handles right now though and arrays are to be converted into lists instead of being binary blobs). Fix up wrapper generation for modules that don't define an interface (e.g misc.idl). (This used to be commit 160dc90921ecc136a25ae88e5c28800ddda5722a)