1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-24 15:17:06 +03:00

62 Commits

Author SHA1 Message Date
Tim Potter
3a11ce31ca Added enumerate trusted domains. -
Tim Potter
d586289197 New file to hold common prototypes. -
Tim Potter
8e0457f8aa Moved security descriptor routines into their own file. -
Tim Potter
f006bcf8e5 Moved function prototypes to py_common_proto.h -
Tim Potter
2d2c925014 Added copyright.
Added lookup_names() and lookup_sids() functions.
-
Tim Potter
703e0a6ce2 Made a comment clearer. -
Tim Potter
5dbd716b99 Generate proto for lsa.
Updated patch.
-
Tim Potter
5c44397803 Starting work on lsa module. -
Tim Potter
7f2c814237 More open_pipe_creds() refactoring. -
Tim Potter
14e4d889a2 Moved open_pipe_creds() function to common file. -
Tim Potter
094a51edb9 Implemented a setup_logging() function that takes two keywords:
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.
-
Tim Potter
6c7b5e15c2 Implemented a setup_logging() function that takes two keywords:
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.
-
Tim Potter
f8673bd499 Added a whole bunch more permission constants. -
Tim Potter
908b70f3e2 Added WERR_INVALID_FORM_NAME constant. -
Tim Potter
ecba275cf7 Fixed setform and addform functions. -
Tim Potter
5ef5e805d5 Added constants for form types and WERROR values. -
Tim Potter
50f331ff33 New version of patch. -
Tim Potter
0448c12a56 make proto -
Tim Potter
f9f1d80f6e Added new files for drivers, forms and ports conversion routines. -
Tim Potter
847e310921 Fixed dodgy looking prototypes for py_to_* functions. -
Tim Potter
e0a209bf29 Removed unused label. -
Tim Potter
ed0a6480f7 Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
-
Tim Potter
d1e2356f13 Added py_spoolss_printers_conv.c to spoolss extension. -
Tim Potter
c8278b0a92 make proto -
Tim Potter
07d79f4aa8 New routines to convert between structures and python dictionaries. We now
hide to_struct() and from_struct() from the caller so we can add custom
fields nicely.
-
Tim Potter
abe39ebcc1 Throw a spoolss.werror exception when the rpc client routines return
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.
-
Tim Potter
bbf905e29e Don't include py_spoolss_conv.h by default. We want to hide these
functions from method functions.
-
Tim Potter
cb243e2766 Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors.
-
Tim Potter
e84cc7ea84 Start to make argument ordering consistent. -
Tim Potter
f05c3c6fc5 Docstring updates. -
Tim Potter
ba5364b306 Use Py_InitModule3() instead of Py_InitModule4() when we only want to set
the docstring for the module.

Doc updates.
-
Tim Potter
1e48f872a4 Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
-
Tim Potter
26a7333347 Use winbind separator in sid_to_name() function.
Implemented auth() and auth_crap() functions.

Expanded docstrings for exported functions, with examples.  Now 'pydoc
winbind' returns a nice looking manual page!

Wrote module docstring.
-
Tim Potter
a66e04711a Updated version. -
Tim Potter
54f2aa437a Script to generate patch to Makefile.in and configure.in
Run like:

python/mkpatch
-
Tim Potter
992cbfe98b Converted to #include *.c format. -
Tim Potter
9eb3eb8513 Broke out stuff into other files. -
Tim Potter
723bfa1a85 Moved pyconv definitions across.
Fixed misc compile problems.
-
Tim Potter
22990c3dda Fixed bug in guards. -
Tim Potter
0f179ebf7e Converted to #include *.c format to avoid namespace pollution and
header file madness.
-
Tim Potter
eb8cd68bc9 Moved general printer related calls here. -
Tim Potter
d4b8000e1f Moved printer driver related calls here. -
Tim Potter
1e894487f5 Moved conv functions to separate file.
Converted remaining functions to methods.
-
Tim Potter
2c935bc1ea #include "py_conv.h" -
Tim Potter
eff595d068 Added ports and conversion routines. -
Tim Potter
34cc49d929 Regenerated patch. -
Tim Potter
5dc7e350ec Port related functions. -
Tim Potter
6c8a2ad167 Samba structure <-> Python dictionary helper functions. -
Tim Potter
7c4bcc48aa Moved form related functions as methods in the policy handle object. -
Tim Potter
ff52627566 Append $(srcdir) to include directories. -