summaryrefslogtreecommitdiffstats
path: root/source3/python
Commit message (Collapse)AuthorAgeFilesLines
* Added commands for startpageprinter, endpageprinter, setjob and getjob.Tim Potter2002-05-083-2/+115
| | | | (This used to be commit 3da89aa8e45d08444bfcddb145264bfcd6f6d768)
* Added setjob() command.Tim Potter2002-05-083-0/+42
| | | | (This used to be commit 02c63de9e58f9806e58d3862391e05e9b9cdb8fc)
* Changed some error returns to return a werror tuple (status code and textTim Potter2002-05-081-4/+2
| | | | | message) instead of just the status code. (This used to be commit 39f58333fa84dc05cac8d13cabb1f203c5cf2c62)
* Remove unused variable.Tim Potter2002-05-081-3/+13
| | | | | #ifdef out code for new (uncommitted) version of make_sec_desc() (This used to be commit 07d11f5e0938c0e4f895391f6c8e2501069a0ef7)
* Added enumjobs command.Tim Potter2002-05-076-10/+199
| | | | (This used to be commit bc9dd9b45866d269f576a640286a578da921c3fb)
* rpcstr_pull() src_len fix.Tim Potter2002-05-071-1/+1
| | | | (This used to be commit 7da054d814d16deeea954e2559fdeb97dc323bbb)
* Allow lookup_sids() and lookup_names() to take either a list of strings orTim Potter2002-05-061-16/+50
| | | | | just a single string. (This used to be commit 775549b70e1d2770619c2fe1ed39418a8788dbfe)
* Removed unused arg to deleteform.Tim Potter2002-05-061-2/+1
| | | | (This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6)
* Re-order args for enumprinterdrivers function.Tim Potter2002-05-032-9/+9
| | | | (This used to be commit 5f9f32021300d47dcc068192428ee48b8aa246ea)
* Some examples using the spoolss python module.Tim Potter2002-05-023-0/+141
| | | | (This used to be commit 68b952561429e1d08a974e633bb9c2870c819c69)
* Got setprinter level 3 working!Tim Potter2002-05-011-9/+23
| | | | | Replaced some DEBUG's with PyErr_SetString() calls. (This used to be commit 0f464fc79118161a97f45f428e4da1069a0be23d)
* make protoTim Potter2002-05-011-1/+2
| | | | (This used to be commit 99dee7b1018f9abc5374bcf877fea1a5cbde6cae)
* Implemented py_to_PRINTER_INFO_3() helper function.Tim Potter2002-05-011-3/+14
| | | | (This used to be commit d125f9f7dff357bf9eeffc430b5876080f3debeb)
* Implemented routines to convert from a Python dictionary to a SEC_DESCTim Potter2002-05-011-38/+38
| | | | | | | structure. Cleaned up debugging stuff. (This used to be commit f3f4f0d3978f90c589894234bbcc63728940a246)
* Return exception text if getprinter level not [0..3]Tim Potter2002-04-201-1/+8
| | | | (This used to be commit c02a7a71d6ddae711c84094e410d1117efc031f0)
* Started working on setprinter code.Tim Potter2002-04-186-59/+197
| | | | (This used to be commit 38d2b1794a0942ac4c2787f06bc5e546508c2515)
* make protoTim Potter2002-04-181-2/+2
| | | | (This used to be commit a721843197d39c0edc6c464214123be3300d0b91)
* Stubs for connect, domain, user, group and alias policy objects.Tim Potter2002-04-151-39/+202
| | | | | Wrote samr connect fn. (This used to be commit f2155aa3f4608b14777092002c39358b816dbea5)
* Skeleton for SAMR module.Tim Potter2002-04-153-0/+298
| | | | (This used to be commit 70bd1a0f94412236bf6603f16947336cb75c6415)
* Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()Tim Potter2002-04-142-3/+3
| | | | (This used to be commit 4bf6a9830acde47994975dffd578454ebb75e45a)
* Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). NotTim Potter2002-04-141-3/+20
| | | | | | | | sure whether these should really be tuples or lists. In open_pipe_creds() raise PyExc_RuntimeError exceptions if the pipe connect function returns an error. (This used to be commit 45cb1fed490d1fdafc5b63f2f5a33dfe5b334972)
* Call PyErr_SetString instead of fprintf to stderr.Tim Potter2002-04-141-7/+5
| | | | | | Don't clean up talloc and cli_state on close printer. They will be destroyed in the handle dealloc function. (This used to be commit 4114fe5996f84dfd14855ffdf666e065446607b4)
* Shutdown cli_state in the dealloc function. This happens automaticallyTim Potter2002-04-141-2/+10
| | | | | when a handle object falls out of scope. (This used to be commit 39546dd241b36d5e7b8e239525a13b91e4e9db80)
* Added enumerate trusted domains.Tim Potter2002-04-141-1/+44
| | | | (This used to be commit 3a11ce31ca3eed23f3bf82c46b2ebd2423be737d)
* New file to hold common prototypes.Tim Potter2002-04-141-0/+30
| | | | (This used to be commit d5862891979678c4defb3e33791edca1f1f8c3e4)
* Moved security descriptor routines into their own file.Tim Potter2002-04-143-116/+142
| | | | (This used to be commit 8e0457f8aa7b5ecababcdec4dfbc328d11513192)
* Moved function prototypes to py_common_proto.hTim Potter2002-04-141-13/+1
| | | | (This used to be commit f006bcf8e50e44b955678356039a6d6a7e16ab20)
* Added copyright.Tim Potter2002-04-141-42/+160
| | | | | Added lookup_names() and lookup_sids() functions. (This used to be commit 2d2c925014374605b29e052729e959c0fd690586)
* Made a comment clearer.Tim Potter2002-04-141-1/+1
| | | | (This used to be commit 703e0a6ce2d283349f64cba72b36c1bef6a0d806)
* Generate proto for lsa.Tim Potter2002-04-141-11/+18
| | | | | Updated patch. (This used to be commit 5dbd716b99c522eac89d9216eb4293084958b966)
* Starting work on lsa module.Tim Potter2002-04-142-0/+59
| | | | (This used to be commit 5c44397803622400390b13f1998b49f5da83d2a1)
* More open_pipe_creds() refactoring.Tim Potter2002-04-144-94/+68
| | | | (This used to be commit 7f2c814237f1df7008c9a91b7cf3b1de01e6ed87)
* Moved open_pipe_creds() function to common file.Tim Potter2002-04-142-1/+90
| | | | (This used to be commit 14e4d889a236dd9c2ba6db68b3133e44195b8a47)
* Implemented a setup_logging() function that takes two keywords:Tim Potter2002-04-111-1/+10
| | | | | | | | | | | interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. Make open_pipe_creds() accept None as a anonymous credential. (This used to be commit 094a51edb9369f5c493bddfdc98347431bea3c2d)
* Implemented a setup_logging() function that takes two keywords:Tim Potter2002-04-112-5/+62
| | | | | | | | | interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. (This used to be commit 6c7b5e15c22119623ee959267d2755e21193bc4b)
* Added a whole bunch more permission constants.Tim Potter2002-04-111-0/+20
| | | | (This used to be commit f8673bd499c7c3993a5860d2ebe9ae2403105316)
* Added WERR_INVALID_FORM_NAME constant.Tim Potter2002-04-091-0/+1
| | | | (This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
* Fixed setform and addform functions.Tim Potter2002-04-091-21/+17
| | | | (This used to be commit ecba275cf75be3152c917329ba16d77bf4490259)
* Added constants for form types and WERROR values.Tim Potter2002-04-091-0/+38
| | | | (This used to be commit 5ef5e805d5f51f6fc4cfcfea7f17adc8d1f6f6eb)
* New version of patch.Tim Potter2002-04-051-13/+15
| | | | (This used to be commit 50f331ff33413842590f960d2ab1b11cdbece358)
* make protoTim Potter2002-04-051-0/+46
| | | | (This used to be commit 0448c12a56fe508b72be4ce43d2c4d1eb16c5943)
* Added new files for drivers, forms and ports conversion routines.Tim Potter2002-04-051-0/+3
| | | | (This used to be commit f9f1d80f6e8c34a24602a83eb7d1fb2c892b662f)
* Fixed dodgy looking prototypes for py_to_* functions.Tim Potter2002-04-051-11/+11
| | | | (This used to be commit 847e310921802f5793f6cd170e6baf939151be89)
* Removed unused label.Tim Potter2002-04-051-1/+0
| | | | (This used to be commit e0a209bf291553ec85dbd56cffab2a97440cea28)
* Converted drivers, forms and ports functions to use new conversion routinesTim Potter2002-04-056-145/+304
| | | | | and exception throwing. (This used to be commit ed0a6480f75b3eefc52bc3311d8c3816abefcff2)
* Added py_spoolss_printers_conv.c to spoolss extension.Tim Potter2002-04-051-0/+1
| | | | (This used to be commit d1e2356f13de8598237926d093069832f1393c36)
* make protoTim Potter2002-04-051-0/+2
| | | | (This used to be commit c8278b0a929c779dd234a1e617bb0f3d2a039cfe)
* New routines to convert between structures and python dictionaries. We nowTim Potter2002-04-051-0/+367
| | | | | | hide to_struct() and from_struct() from the caller so we can add custom fields nicely. (This used to be commit 07d79f4aa8de8e7a08555a62faafd79573a95e74)
* Throw a spoolss.werror exception when the rpc client routines returnTim Potter2002-04-051-272/+80
| | | | | | | | | | errors. Move to new system of converting between structures and python dictionaries. Lots of stuff moved to py_spoolss_printers_conv.c Setprinter level 2 kind of works now. (This used to be commit abe39ebcc125362125f0f900102b0f8d6011324b)
* Don't include py_spoolss_conv.h by default. We want to hide theseTim Potter2002-04-051-1/+0
| | | | | functions from method functions. (This used to be commit bbf905e29e787ac350c0b4153c0b7050d8bf5734)