Stefan Metzmacher
d9e43bc883
r2468: print out the names of the fault codes#
...
metze
(This used to be commit a0c2a3a5d4
)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
5d7f0dec9e
r2465: modify the autoidl hack to work for DRSUAPI
...
(This used to be commit 59b3d68bd0
)
2007-10-10 12:58:56 -05:00
Stefan Metzmacher
6625d9745d
r2464: fix the build
...
metze
(This used to be commit 518bd32ed5
)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
ed4d10fb43
r2463: make sure we don't send the password in a tconx unless we really have to
...
(This used to be commit 3e84c06f4c
)
2007-10-10 12:58:56 -05:00
Andrew Tridgell
6108ead954
r2462: added a test for the error code for no matching filename
...
(This used to be commit 7bfbbc38ed
)
2007-10-10 12:58:55 -05:00
Tim Potter
851e54de66
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.
(This used to be commit 632b7cc0d6
)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
f1fbeb880c
r2460: fixed the spnego code that I recently broke
...
(This used to be commit 9a708e2281
)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
635d5d8800
r2459: added STATUS_NO_MORE_FILES nt status code
...
(This used to be commit 3bf55c9e11
)
2007-10-10 12:58:55 -05:00
Tim Potter
0e71bf8148
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.
(This used to be commit 32f0f3154a
)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
d78a1ac756
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.
(This used to be commit e23514c78f
)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
992442cbf9
r2456: got rid of some outdated global macros
...
(This used to be commit ea7eac5e3f
)
2007-10-10 12:58:55 -05:00
Andrew Tridgell
e649dcc09c
r2455: don't use the uninitialised sess structure when auth fails
...
(This used to be commit 93d444e6fd
)
2007-10-10 12:58:54 -05:00
Andrew Tridgell
1ec841d33e
r2454: fixed the accelerated StrCaseCmp() so it compares in the right order
...
(This used to be commit 4b795cbf12
)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
65c3b46d02
r2449: use a blocking fd for smbsrv code
...
metze
(This used to be commit fba1637710
)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
03cf36ac9c
r2448: use SO_REUSEADDR=1 for the server
...
metze
(This used to be commit e20cfb705f
)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
7d06a06584
r2447: let the server code use the new lib/socket/ stuff
...
metze
(This used to be commit 2fd577d241
)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
e8d2442517
r2446: implement socket_get_<peer|my>_<addr|port>() for ipv4
...
metze
(This used to be commit a8ebb5c5bc
)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
6b9b169c27
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
(This used to be commit 9c0e50a6f3
)
2007-10-10 12:58:54 -05:00
Stefan Metzmacher
8f85b3f771
r2442: remove unused event_loop_once() call
...
metze
(This used to be commit 3cd63030b1
)
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
61ef245372
r2441: set exit code correct when we got EBADF from select()
...
metze
(This used to be commit 36bf2f3eaf
)
2007-10-10 12:58:53 -05:00
Stefan Metzmacher
be61c9d877
r2439: - function that return just an int don't need a TALLOC_CTX
...
- fix some return and state bugs
metze
(This used to be commit 2757c593ab
)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
635f5fa942
r2438: compile on systems without O_DIRECTORY (probably won't work, but I'll get to that later)
...
(This used to be commit 5e2027f8ec
)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
f2815e8412
r2437: implemented a suggestion from abartlet that if we cannot convert
...
strings to UTF16 in StrCaseCmp() that we fall back to a simpler
comparison.
(This used to be commit 2fa6ab9fe3
)
2007-10-10 12:58:53 -05:00
Andrew Tridgell
8a1c3ddd94
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.
(This used to be commit f2fa7fe565
)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
421c0d2a18
r2435: got rid of another pointless strnequal()
...
(This used to be commit 1b4cee825e
)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
677d1bc487
r2434: separate "attrib" and "ex_attrib" elements for DOS attributes is pointless
...
(This used to be commit 5fcad57128
)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
f94de51a4e
r2433: attrib_string() is now a generally available library function (it will be used by the new RAW-SEARCH test)
...
(This used to be commit bb6bb2735e
)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
defe32e9f4
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.
(This used to be commit cef08d5789
)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
44090f273c
r2431: got rid of strnequal() in a couple of places
...
(This used to be commit a1b5880b2e
)
2007-10-10 12:58:52 -05:00
Andrew Tridgell
9c69372fb2
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)
(This used to be commit 869b757bba
)
2007-10-10 12:58:51 -05:00
Tim Potter
67cb7c9451
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.
(This used to be commit 1dc86e466d
)
2007-10-10 12:58:51 -05:00
Tim Potter
44838763e2
r2428: Handle unions as [out] parameters by passing the value of the switch_is
...
parameter down to the various conversion functions.
(This used to be commit 46b3d4cfd8
)
2007-10-10 12:58:51 -05:00
Tim Potter
b653d8775a
r2427: Add tests for samr_GetDomPwInfo, samr_RemoveMemberFromForeignDomain,
...
samr_LookupName, samr_OpenUser, samr_DeleteUser, samr_CreateUse and
samr_OpenDomain.
(This used to be commit 086740c178
)
2007-10-10 12:58:51 -05:00
Tim Potter
d072e9e2ca
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.
(This used to be commit a17aaadb7d
)
2007-10-10 12:58:51 -05:00
Tim Potter
f41310583f
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.
(This used to be commit bcee386055
)
2007-10-10 12:58:51 -05:00
Tim Potter
6d82eaa7e9
r2424: Refactor handling of non-OK NTSTATUS returns to be more swiggish.
...
(This used to be commit aaef6eaf6e
)
2007-10-10 12:58:51 -05:00
Tim Potter
cb3cacdf40
r2423: Add some instructions for building extensions.
...
(This used to be commit 7a7cf9f352
)
2007-10-10 12:58:51 -05:00
Tim Potter
20f39507c5
r2422: Convert PyDict_{Get,Set}Item() calls to PyDict_{Get,Set}ItemString().
...
(This used to be commit 9ea5574bb1
)
2007-10-10 12:58:50 -05:00
Tim Potter
fa8c1abcc8
r2421: Fix test for lookupdomain for a non-existent domain.
...
Export NTSTATUS exception from wrapper module so it can be used by scripts.
(This used to be commit 57edfd605b
)
2007-10-10 12:58:50 -05:00
Tim Potter
6feaf61b61
r2419: Write tests for samr_EnumDomains() and samr_LookupDomain().
...
(This used to be commit aa15fd1ecb
)
2007-10-10 12:58:50 -05:00
Tim Potter
9261314a9d
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.
(This used to be commit e135265d1d
)
2007-10-10 12:58:50 -05:00
Tim Potter
ce52465165
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.
(This used to be commit 36320c6941
)
2007-10-10 12:58:50 -05:00
Tim Potter
6bc08531b2
r2416: More argument checks. Raise an exception instead of segfaulting if a
...
dictionary does not contain a required key.
(This used to be commit fc5443af9c
)
2007-10-10 12:58:50 -05:00
Tim Potter
d384984e35
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.
(This used to be commit 0f58ffb142
)
2007-10-10 12:58:50 -05:00
Tim Potter
a50931e728
r2414: samr_Connect.system_name is now an array.
...
(This used to be commit e1166c2100
)
2007-10-10 12:58:50 -05:00
Tim Potter
370dad0fbf
r2411: The other half of getting autogenerated code working using misc.idl:
...
use Python lists for arrays when marshaling and unmarshaling arrays.
This gets samr_SetSecurity() working.
(This used to be commit 9bc55de42a
)
2007-10-10 12:58:49 -05:00
Tim Potter
fba4af3a1b
r2410: Add test for samr_SetSecurity().
...
(This used to be commit e822979e84
)
2007-10-10 12:58:49 -05:00
Tim Potter
6d00d88f94
r2409: Convert NULL pointers to Py_None, and vice versa.
...
This gets samr_QuerySecurity() working again.
(This used to be commit 810bce2fe5
)
2007-10-10 12:58:49 -05:00
Tim Potter
b02b2fa347
r2408: Tridge suggested that all the structures from misc.idl (policy handles,
...
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 160dc90921
)
2007-10-10 12:58:49 -05:00
Andrew Tridgell
4a6313a543
r2407: extend mkproto.pl to handle smb_ucs2_t for toupper_w()
...
(This used to be commit fe60e899d7
)
2007-10-10 12:58:49 -05:00