summaryrefslogtreecommitdiff
path: root/source4/scripting/swig
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.Tim Potter5-645/+1
(This used to be commit fa8d0dc14a1af9567401d54a803b34a6498b7cd4)
2007-10-10r14915: Work in progress - getting ldb_add() working.Tim Potter2-8/+38
(This used to be commit d50661ed4ef3f6c96811649a1acbe5d702e80654)
2007-10-10r14906: Move SWIG-specific files to scripting/swig/Jelmer Vernooij2-0/+73
(This used to be commit 222723e4434b85748aa82f192c5c4ce136933ce3)
2007-10-10r14901: More work on ldb swig interface. Wrap some more functions.Tim Potter2-9/+97
(This used to be commit 5b722fcd4b1e194532a86bed84d11d778ae16fcc)
2007-10-10r14897: Do more error checking of tdb function returns and raise IOError orTim Potter1-6/+14
KeyError exceptions as appropriate. Add a close() function to the wrapper as we can't rely on the Python garbage collector destroying the object and closing the tdb file at any particular time. (This used to be commit a40d6c792257315d1eac955718db5ec1df7e07bb)
2007-10-10r14881: Unpack ldb_message_element and ldb_val arrays. Python can now accessTim Potter1-26/+41
all parts of a ldb_result: @BASEINFO has 2 elements elt[0]: val[0]: sequenceNumber = 2 elt[1]: val[0]: distinguishedName = @BASEINFO name=foo has 2 elements elt[0]: val[0]: foo = bar elt[1]: val[0]: distinguishedName = name=foo Cleanup some swig junk that was only necessary when including config.h and function prototypes that used the PRINTF_ATTRIBUTE() macro. Add some more comments. (This used to be commit 9327fd07d67da1845a60ccf2b7d1d43e9aed0d68)
2007-10-10r14880: Doc.Tim Potter1-1/+1
(This used to be commit 73b233ee1b7e25ec74c1764804690c6faab75fd0)
2007-10-10r14879: Fix bug unpacking ldb_messages.Tim Potter1-1/+12
Start decoding more of ldb_message and ldb_message_result. (This used to be commit 60f7f14baa7ff212138ac2349b94d56918566f73)
2007-10-10r14878: Write swig wrappers for ldb_init() and ldb_connect().Tim Potter3-11/+80
Start wrapper for ldb_search(). Currently it returns a list of swig ldb_message objects. More unpacking of results required. (This used to be commit 704787978aa705edba233249e8eab236ffe303a4)
2007-10-10r14873: Add skeleton swig ldb interface.Tim Potter2-0/+34
(This used to be commit c6c759e19f7fb9232d9c97b66d140c1bb0876dff)
2007-10-10r14871: We don't need to import UserDict anymore.Tim Potter1-1/+1
(This used to be commit c60a2335383eb277a82dbe073ce9b58f8abf0241)
2007-10-10r14854: Finish off swig wrapper and torture tests for tdb.Tim Potter2-11/+149
(This used to be commit 1c4042e23f3e99f95133313607e2c2904503cf74)
2007-10-10r14804: Start writing a more Pythonic tdb module.Tim Potter2-7/+48
(This used to be commit 4c9af9c1495e0582de8353709d7b79b731a7fc75)
2007-10-10r14798: Get swig building again (by commenting out dcerpc stuff for now).Tim Potter1-0/+10
Add the start of a test framework for swigged functionality. (This used to be commit 3dfd0959f78518c021417f3f1158c51d70a1e88c)
2007-10-10r13985: Slowly start swig_ldbSimo Sorce2-2/+89
dcerpc still need fixing, the produced shared library misses some symbols. Jelmer, can you look at it while you are playing with the build system ? (This used to be commit af92996e30a50af92d70ac8d55ade3da4ce56077)
2007-10-10r13906: fix swig buildSimo Sorce1-2/+1
(This used to be commit c5a9ba3e1cfe4fcd1a35c5764330ff385545d0aa)
2007-10-10r7062: Merge scripting/swig/config.mk with scripting/config.mkTim Potter1-5/+0
(This used to be commit e14c00c4c1cc51dac9452c1e950445907d883e46)
2007-10-10r6592: Throw an IOError exception if tdb_open() or tdb_open_Ex() returns NULL.Tim Potter1-0/+12
(This used to be commit 99fb6b6badf1afeac21fdb5f1ce04c1749e1b7f7)
2007-10-10r6591: Add some comments.Tim Potter1-4/+44
Use SWIG %rename to get rid of prefix on every tdb function. Treat mode_t as an int so we can actually pass a mode argument to tdb_open(). (This used to be commit 0abd03f70c5c63a915086eaf6e3a25b3087769bc)
2007-10-10r6590: Remove bogus library versioning variables from swig wrappers.Tim Potter1-6/+0
(This used to be commit 83a125ce576b1be613e010a5c9b4257f25909b05)
2007-10-10r6540: Implement a bunch more SAMR functions.Tim Potter3-19/+139
(This used to be commit 7ab240644ec6cfd0449df7e2dfe0eb1b8a52ccdb)
2007-10-10r6539: A patch from jbm:Tim Potter1-13/+16
- convert rpcclient to new credential code - allow anonymous connections (This used to be commit f40977c42145e202ddfe50c9a7daad624b06cc59)
2007-10-10r6512: Refactor samr torture test to use the nicer OO interface instead of theTim Potter1-552/+88
previous dictionary based SWIG interface (which was broken anyway). (This used to be commit 16b7e503bdbe4da96158e504790b1501a99d6db3)
2007-10-10r6511: Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2().Tim Potter1-5/+29
(This used to be commit f9742de617b6f1f24b75ae5af18a476f03c0b732)
2007-10-10r6510: Initialise rid parameter in samr_RidToSid(). This is faulting for meTim Potter1-4/+56
on win2k - not sure why. Add dodgy implementations of QueryDisplayInfo{,2,3}() (This used to be commit 2e44402751f77fcbd9c89299d8533e91207de49f)
2007-10-10r6508: Fix typo - yay testsuite.Tim Potter1-1/+1
(This used to be commit 61da936dbc491d0ec2d733d9ba155c3df01b8847)
2007-10-10r6507: Fix syntax error in GetAliasMembership().Tim Potter1-1/+11
Implement SetDomainInfo() which got lost somehow. (This used to be commit 3055addde60687acdcf4e92dcb08e7f8dfdfb8f1)
2007-10-10r6506: Rename parameter to GetDomPwInfo.Tim Potter1-2/+2
(This used to be commit 1542a13493bb9bf33d5f09dca273957bb4333862)
2007-10-10r6469: Add CreateDomainGroup, GetAliasMembership.Tim Potter1-4/+26
(This used to be commit acf1d0a1b554736361f38bcd74961d4e6c1b12bd)
2007-10-10r6329: Write tests for newly implemented alias functions.Tim Potter1-119/+52
(This used to be commit 30d0c9fb2ededb86e40b985820a426f8df84053b)
2007-10-10r6328: Fix bug in OpenAlias.Tim Potter1-9/+66
Implement DeleteDomAlias, QueryAliasInfo, SetAliasInfo, AddAliasMember, and AddMultipleMembersToAlias. Fix one of those annoying large integer warnings. (This used to be commit 25ed39651b020c9e4bda1d8aa8e2d78f918be3a2)
2007-10-10r6327: Add LSA objects to dcerpc swig library.Tim Potter1-1/+1
(This used to be commit b6e883a613e35ec3d5541a45efb80345578e2460)
2007-10-10r6326: Add %array_functions for struct lsa_SidPtr.Tim Potter1-0/+3
Pull in the auto-generated interface file for the lsa pipe (whaddayaknow it compiled first go!) (This used to be commit fd884ec433c825759624a47541521cbd3d07f5a1)
2007-10-10r6324: Pass server name instead of binding string on command line (always useTim Potter1-22/+19
ncacn_np for the moment). Fix rpcclient to work with struct cli_credentials. (This used to be commit 162d3609a1f46683151d201a5404d0456d76b726)
2007-10-10r6215: Add test for LookupNames. Fix CreateUser2 test.Tim Potter1-32/+9
(This used to be commit e3a69a73222ae3277c2d10d33c5c71b7a14da789)
2007-10-10r6214: Fix typo in DomainHandle.OpenUser() function.Tim Potter1-3/+22
Implement DomainHandle.LookupNames() function. UserHandle.DeleteUser() closes the handle so don't try and close it when the GC destroys the class instance. (This used to be commit 57680163bcc1aa5c707a64dcd1d0998dbc9f0659)
2007-10-10r6213: Add %array_functions for struct samr_String so we can create andTim Potter1-0/+1
access arrays of them. (This used to be commit fc2b73d4d75f383108632935ba047890c816b283)
2007-10-10r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a charTim Potter1-2/+2
to a string when we really want an integer. (This used to be commit 86c62b92e84a6eb1e756a7125777587583a9276e)
2007-10-10r6211: Use cli_credentials_set_{domain,username,password}() to fill inTim Potter1-1/+18
command line arguments for credentials typemap. Neat! (This used to be commit a3e7d71463053101e743a930f2648269d63ecaca)
2007-10-10r6210: Call cli_credentials_set_conf() when initialising credentials inTim Potter1-1/+1
cli_credentials typemap. (This used to be commit 1c88e71ec645d10648f01e0405d29a4a83bc4036)
2007-10-10r6208: Add cli_credentials support for swig wrappers. For the moment itTim Potter4-8/+12
only does anonymous connections. (This used to be commit b09a4723539235fc924134aa50fc4aed040afb33)
2007-10-10r5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request.Tim Potter1-8/+0
(This used to be commit 8b83eca265b6ad5f33e90beac67f3e1621010764)
2007-10-10r5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t. This shouldTim Potter1-7/+4
fix abartlet's compile problem. (This used to be commit 170139035ab1e7659a82e1e2d40990f4d7f146c3)
2007-10-10r5369: Rename torture modules so they don't conflict with files in ↵Tim Potter2-198/+41
scripting/swig. Start porting samr torture test to new API. (This used to be commit 14593939830e130ae306b82a6c063ec9d7f36b93)
2007-10-10r5368: Fix ups for domain_name field name change.Tim Potter1-8/+50
Implement GetDomPwInfo(), CreateUser2(), RemoveMemberFromForeignDomain(), DeleteUser(). (This used to be commit f9ba35ff839fb612f53d8c2e6c5a64aaddc3d6a1)
2007-10-10r5353: Throw a NTSTATUS exception if a NT error code is returned.Tim Potter1-22/+32
(This used to be commit 4a9677833167b3b26117ab1b4e7c682d9524a206)
2007-10-10r5351: Add wrapper for nt_errstr and array functions for samr_ConnectInfo.Tim Potter1-0/+3
(This used to be commit be37749ac7d128fcabf82bad104d87098e2d9f55)
2007-10-10r5350: Implement an input typemap for NTSTATUS.Tim Potter1-0/+11
(This used to be commit 076ec6008e4dbd130044893f34c3fd7212bf667d)
2007-10-10r5348: Implement the remaining samr connect functions and fix up setsecurity.Tim Potter1-6/+53
(This used to be commit 4b2c3c7ac56e1e428dec6205e4e69268be84cac6)
2007-10-10r5335: Add a Close() method to SamrHandle object.Tim Potter1-1/+148
Add methods for {Query,Set}Security, Shutdown, CreateUser, Open{User,Group,Alias} and RidToSid. Time for a torture test I think! (This used to be commit 94a3ff2380071efccf19ca51488753d3513ab63c)