summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r2407: extend mkproto.pl to handle smb_ucs2_t for toupper_w()Andrew Tridgell1-1/+1
(This used to be commit fe60e899d71b18ee1cd6e2e05cf1ac0fa3a043bd)
2007-10-10r2406: fixed a couple of typosAndrew Tridgell1-2/+2
(This used to be commit 87a6c678fac0b5e740a9a739ef1ad113f2b508fd)
2007-10-10r2405: expose unix_perms_to_wire() for use by the posix backend, in ↵Andrew Tridgell1-1/+1
supporting the UNIX extensions (This used to be commit a3fd9a911f8852372a57146cde04971263fac7c9)
2007-10-10r2404: the first large lump of posix vfs stuff.Andrew Tridgell11-37/+1150
this is still very much a skeleton (with many limbs missing too!). I am committing this early to get some feedback on the approach taken. (This used to be commit 40d5cae5ebbfe328e193eadb685df6a370730299)
2007-10-10r2403: got rid of a unnecessary mem_ctx in the simple backendAndrew Tridgell2-3/+0
(This used to be commit a4dcf005f30afcb2edd57d450ff9b90341c318a2)
2007-10-10r2402: to make ms_fnmatch() case-insensitive we need toupper_w() exposedAndrew Tridgell1-1/+1
(This used to be commit 69413bdcfcf40e9ae2e5bcb00863cc7ef0ee8da1)
2007-10-10r2401: make our LDAP server useable:Stefan Metzmacher1-3/+200
- we need to mark the fd event as writable otherwise we'll never senda packet to the client - a search response have to ended by a LDAP result message - return currentTime, supportedLDAPVersion and dnsHostName for testing ldap -x -s base -h ldap://localhost/ is now works against our LDAP server metze (This used to be commit 3a9ca351166cf56de878e4408e221df299271c32)
2007-10-10r2400: make ms_fnmatch() case insensitive. This is much more efficient thanAndrew Tridgell1-2/+4
uppercasing the two whole strings before the call is made, is less error-prone, and also copes with strings where the upper case version is longer than the lower case version due to different multi-byte lengths. (This used to be commit e227ac1edfd48596a9d5096b6965ddd0beb969a5)
2007-10-10r2399: Display text description of rpc fault in debug message.Tim Potter1-1/+1
(This used to be commit 04aec4c0a3f559f6a9ccfaf990f3a2ff2e6f48df)
2007-10-10r2398: Import Data::Dumper module safely so it doesn't hurt the build farm.Tim Potter1-1/+2
(This used to be commit f88996540cfecf830595425735d2f1d4ad623c3d)
2007-10-10r2387: fix segfaultStefan Metzmacher1-0/+1
seems that [in,out,ref] vars should be initialize the [in] and [out] part metze (This used to be commit 47e613a5a1063d8e93e831252db03f19cdb08590)
2007-10-10r2386: fixed some indentationAndrew Tridgell1-1/+1
(This used to be commit 1de5aa5b1d6a9b4b3ed18935c562b0bf03a4d94e)
2007-10-10r2385: the gensec:krb5 test is not needed here any more, as we do it in the ↵Andrew Tridgell1-4/+0
registration code (This used to be commit bcf9d787d6bced4c4482fa3e51ccea258563d89e)
2007-10-10r2384: i missed "nt status support" in my change to the new globals init codeAndrew Tridgell1-0/+2
(This used to be commit 7478f50c2f5c011a1eec04be06f9ecdc48e85f17)
2007-10-10r2383: fixed the handling of sending zero length dcerpc packets (I broke thisAndrew Tridgell1-1/+3
recently, and this broke the autoidl code) (This used to be commit 01d66f68f6b21dc9b5c0702edcd4f56daeae9b9d)
2007-10-10r2382: considerably improved the Bind and Unbind IDL and test code. We canAndrew Tridgell2-186/+44
now do these two calls successfully against w2k3. note that you must use ncacn_ip_tcp, and must enable dcerpc sealing, otherwise w2k3 refuses the first DRSUAPI call. (This used to be commit 7d3e34742277f264e41739721dbf08036eebb598)
2007-10-10r2381: added a -v debugging option to ldbeditAndrew Tridgell1-1/+31
(This used to be commit 03d4a7832cd3670a8166820a1b9b4aaf2307bd1a)
2007-10-10r2380: nicer error reporting in convert_string()Andrew Tridgell1-6/+9
(This used to be commit 6807d336c2365e4e7f45605d75667dbf05715b34)
2007-10-10r2377: added a more generic way of disabling gensec subsystems. For example,Andrew Tridgell1-0/+5
"gensec:ntlmssp=no" will disable ntlmssp. (This used to be commit 66f88c7d89154155b27bf8b7839c580fb1cd1e7c)
2007-10-10r2376: added a way to disable krb5 on the command line. Just useAndrew Tridgell1-0/+5
--option 'gensec:krb5=no' or put "gensec:krb5 = no" in smb.conf Given the frustration I've had with kerberos I was very tempted to name this option --nfk, but resisted the temptation (This used to be commit 2d710a5eb5b36e46fa8f652305fa9ab2e09e02f3)
2007-10-10r2365: remove MSG_NOSIGNALStefan Metzmacher1-1/+1
metze (This used to be commit 8ade8ab65fffea9172a768a60fe2bd32493c068f)
2007-10-10r2359: More consistency fixes: pass a talloc context to every function thatTim Potter2-26/+65
doesn't convert scalar types, more renaming of function names. Implement conversion fns for dom_sid, dom_sid2 (to struct version stubbed out). Also from Python conversions for security_acl and security_descriptors. (This used to be commit 945a4681051132c13f9235f676464fffb3bfadc8)
2007-10-10r2358: More renaming of functions to keep things consistent.Tim Potter2-40/+49
(This used to be commit 84513e4ed14e60b4cd09fcc2e596bc72d3a8807c)
2007-10-10r2357: Start coding conversion routines for security descriptors, acls and sids.Tim Potter1-3/+56
(This used to be commit c8d13a809b5b01823a62e5868bac47e1f2f25092)
2007-10-10r2347: merge LDAP ASN.1 fixes from trunkStefan Metzmacher2-12/+24
metze (This used to be commit 492a00d909d6f3ff8305f102551f60d91d988ccd)
2007-10-10r2346: fix some minor stuffStefan Metzmacher2-2/+2
metze (This used to be commit 56e21d0ce29b13808bbbd2a6c0464948886d317d)
2007-10-10r2345: Add test for samr_QuerySecurity()Tim Potter1-12/+35
(This used to be commit f6978a007a79c97910856b3c639844495f16ebab)
2007-10-10r2344: Return PyDict_New() in stub functions instead of Py_None to avoidTim Potter1-2/+2
crashing in garbage collector (hmm - all that was required was probably a Py_INCREF(Py_None) though). (This used to be commit a3eac318a624d214084741839faa2ad485902f6f)