summaryrefslogtreecommitdiffstats
path: root/source/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* r6510: Initialise rid parameter in samr_RidToSid(). This is faulting for meTim Potter2005-04-281-4/+56
| | | | | | on win2k - not sure why. Add dodgy implementations of QueryDisplayInfo{,2,3}()
* r6508: Fix typo - yay testsuite.Tim Potter2005-04-281-1/+1
|
* r6507: Fix syntax error in GetAliasMembership().Tim Potter2005-04-281-1/+11
| | | | Implement SetDomainInfo() which got lost somehow.
* r6506: Rename parameter to GetDomPwInfo.Tim Potter2005-04-281-2/+2
|
* r6469: Add CreateDomainGroup, GetAliasMembership.Tim Potter2005-04-251-4/+26
|
* r6329: Write tests for newly implemented alias functions.Tim Potter2005-04-131-119/+52
|
* r6328: Fix bug in OpenAlias.Tim Potter2005-04-131-9/+66
| | | | | | | Implement DeleteDomAlias, QueryAliasInfo, SetAliasInfo, AddAliasMember, and AddMultipleMembersToAlias. Fix one of those annoying large integer warnings.
* r6327: Add LSA objects to dcerpc swig library.Tim Potter2005-04-131-1/+1
|
* r6326: Add %array_functions for struct lsa_SidPtr.Tim Potter2005-04-131-0/+3
| | | | | Pull in the auto-generated interface file for the lsa pipe (whaddayaknow it compiled first go!)
* r6324: Pass server name instead of binding string on command line (always useTim Potter2005-04-131-22/+19
| | | | | | ncacn_np for the moment). Fix rpcclient to work with struct cli_credentials.
* r6215: Add test for LookupNames. Fix CreateUser2 test.Tim Potter2005-04-051-32/+9
|
* r6214: Fix typo in DomainHandle.OpenUser() function.Tim Potter2005-04-051-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.
* r6213: Add %array_functions for struct samr_String so we can create andTim Potter2005-04-051-0/+1
| | | | access arrays of them.
* r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a charTim Potter2005-04-051-2/+2
| | | | to a string when we really want an integer.
* r6211: Use cli_credentials_set_{domain,username,password}() to fill inTim Potter2005-04-051-1/+18
| | | | command line arguments for credentials typemap. Neat!
* r6210: Call cli_credentials_set_conf() when initialising credentials inTim Potter2005-04-051-1/+1
| | | | cli_credentials typemap.
* r6208: Add cli_credentials support for swig wrappers. For the moment itTim Potter2005-04-054-8/+12
| | | | only does anonymous connections.
* r5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request.Tim Potter2005-03-131-8/+0
|
* r5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t. This shouldTim Potter2005-03-121-7/+4
| | | | fix abartlet's compile problem.
* r5369: Rename torture modules so they don't conflict with files in ↵Tim Potter2005-02-132-198/+41
| | | | | | scripting/swig. Start porting samr torture test to new API.
* r5368: Fix ups for domain_name field name change.Tim Potter2005-02-131-8/+50
| | | | | Implement GetDomPwInfo(), CreateUser2(), RemoveMemberFromForeignDomain(), DeleteUser().
* r5353: Throw a NTSTATUS exception if a NT error code is returned.Tim Potter2005-02-121-22/+32
|
* r5351: Add wrapper for nt_errstr and array functions for samr_ConnectInfo.Tim Potter2005-02-121-0/+3
|
* r5350: Implement an input typemap for NTSTATUS.Tim Potter2005-02-121-0/+11
|
* r5348: Implement the remaining samr connect functions and fix up setsecurity.Tim Potter2005-02-121-6/+53
|
* r5335: Add a Close() method to SamrHandle object.Tim Potter2005-02-111-1/+148
| | | | | | | Add methods for {Query,Set}Security, Shutdown, CreateUser, Open{User,Group,Alias} and RidToSid. Time for a torture test I think!
* r5293: Map an empty policy handle to None when creating policy handles, andTim Potter2005-02-101-3/+20
| | | | | refuse to accept None as a policy handle when accepting them. Now we don't segfault after running the samr_Shutdown() test.
* r5247: Fix rpcclient to work with new swig interface.Tim Potter2005-02-061-18/+34
|
* r5244: Convert this module to use the new structure mapping SWIG stuff ↵Tim Potter2005-02-061-72/+103
| | | | | | | instead of the old dictionary based routines. The SAMR connect, close, enumdomains, opendomain, enum{users,aliases,groups} functions now work again!
* r5243: Woohoo - memory leak city! Comment out talloc_free() call until I Tim Potter2005-02-061-1/+1
| | | | figure out a better way to pass tallocated memory around with SWIG.
* r5242: Check that argument is an integer or a long for uint32_t inputTim Potter2005-02-061-3/+16
| | | | | | | | | typemap. The uint32_t output typemap must return a Python long as an unsigned uint32_t cannot be fully represented by a Python int. Likewise for the NTSTATUS typemap.
* r5224: Add in/out typemaps for resume handles. This saves us having to muchTim Potter2005-02-041-0/+39
| | | | | | | | | | | | | | | | around with pointers to just one uint32. Add an output typemap to copy a policy handle as the talloc context is destroyed before the wrapper function returns. More work here needed to avoid memory leaks. Use the swig carrays.i file to create accessor and setter functions for fixed width integer types. Also add functions for struct samr_SamEntry as it's returned by the LookupDomain RPC. This really needs to be done by pidl so I don't have to go through and find all the structures that are returned in arrays. Include security.i to give us SIDs and security descriptors.
* r5095: uint32 -> uint32_tTim Potter2005-01-291-3/+2
| | | | | | %include misc.i to get definition of struct policy_handle Remove #includes we aren't using just now.
* r5094: Use builtin swig types for converting between fixed width integer types.Tim Potter2005-01-291-11/+8
|
* r5074: Remove dead code.Tim Potter2005-01-291-266/+0
|
* r5018: Initialise required subsystems (by hand, generated by substitutingTim Potter2005-01-261-8/+40
| | | | | | BINARY for LIBRARY in config.mk). Cut things down to just the samr pipe for the moment.
* r5017: Fix bug in output typemap for uint32 (!)Tim Potter2005-01-261-1/+1
|
* r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into theTim Potter2005-01-262-13/+8
| | | | | | build system. This still generates bogus targets (i.e bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be done by hand but it is less of a hack.
* r4982: Start to move swig dependencies into new build system. UnfortunatelyTim Potter2005-01-252-0/+16
| | | | | | | I can only get something useful happening by using the BINARY keyword as nothing else seems to generate dependency lists that can be used when linking the swig shared libraries. Anyway this is a lot nicer than having lots of junk in makefile.pm.
* r4981: Fix swig build.Tim Potter2005-01-251-3/+1
|
* r4546: Use talloc_p() instad of talloc()Tim Potter2005-01-061-1/+1
|
* r3870: Delete wrappers for tdb_lockkeys() and tdb_unlockkeys().Tim Potter2004-11-191-2/+0
|
* r3607: EnumDomainAlises doesn't take a max_size parameter.Tim Potter2004-11-071-1/+0
|
* r3590: Add some more commands to rpcclient from a patch by jbm. Add Tim Potter2004-11-072-6/+186
| | | | | SamrQueryDomInfo, SamrQueryDomInfo2, SamrEnumDomainAliases, and SamrEnumDomainUsers.
* r3589: Add some extra status codes.Tim Potter2004-11-071-0/+2
|
* r3588: Fix bug in converting SIDs containing large unsigned integers from ↵Tim Potter2004-11-072-3/+15
| | | | Python.
* r3521: Collect printer driver names in EnumPrinterDrivers.Tim Potter2004-11-041-4/+5
|
* r3506: Test EnumPorts function.Tim Potter2004-11-031-6/+14
|
* r3505: #include dynconfig.hTim Potter2004-11-031-0/+1
|
* r3474: Add conversion functions for the time_t type.Tim Potter2004-11-021-0/+23
|