1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-28 00:49:42 +03:00

45 Commits

Author SHA1 Message Date
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. -
Tim Potter
1926828c5d Pass $(srcdir) to setup.py -
Tim Potter
9afd17f154 Renamed internal methods so as not to clash with symbols within Samba.
Set up and use winbind separator in config object.

Implemented:

 - uid to sid
 - gid to sid
 - sid to uid
 - sid to gid

Added RID constants.
-
Tim Potter
4d31151977 Added enumerate trusted domains and check secret.
Added configuration dictionary to retrieve smb.conf parameters.
-
Tim Potter
b1b7ae8bcf Actually use flags passed in PYTHON_CFLAGS variable.
Use py_common.c in winbind extension module for correct initialisation.

Some reformatting.
-
Tim Potter
ba0624d0c3 Added enum domain users and enum domain groups. -
Tim Potter
8e4bb2f8a0 Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS) -
Tim Potter
5e955b5fcc Added name_to_sid and sid_to_name functions. -
Tim Potter
19dd8ba826 Remove nsswitch from include directories. -
Tim Potter
b06fc0cc84 Ignore autogenerated setup.py -
Tim Potter
d35770d06f Initial version. -
Tim Potter
4d172b712f Patch to configure.in and Makefile.in for Python extensions. -
Tim Potter
85650ee3bc setup.py for samba python wrappers -