1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

31 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
aa3f749575 s4:scripting/python/modules.c - remove a really unnecessary variable
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
2011-02-17 16:01:44 +01:00
Andrew Tridgell
edd8c9ea2a s4-python: get ordering right on python paths
we need to have PYTHONARCHDIR first, as that is where we currently
install. That will minimise problems with upgrades from old installs.

We also don't need to add the path twice if PYTHONDIR is the same as
PYTHONARCHDIR (as happens on debian based systems)

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Bartlett
15d0166340 s4-python Don't force "bin" into the python sys.path
This patch uses the fact that dyn_PYTHONDIR and dyn_PYTHONARCHDIR is
now set properly at all times, incluidng for installed and
build-directory binaries.  So we don't need to make assumptions about
bin being magic any more.

Andrew Bartlett
2011-02-07 13:22:02 +11:00
Andrew Tridgell
46a3588d3f waf: use PYTHONARCHDIR for installing python shared libs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
2011-01-14 08:19:39 +01:00
Jelmer Vernooij
55ef0ecea8 s4-python: Remove cruft to deal with static python modules, which are no
longer supported.
2010-05-31 00:21:42 +02:00
Matthias Dieter Wallnöfer
67b2c424ce s4:scripting/python/modules.c - fix "asprintf" calls 2010-05-28 10:04:47 +02:00
Andrew Tridgell
1f7da85c77 s4-python: added PYTHONDIR to python search path
we put it after the scripting/python dir, so we look in the build
directory (if applicable) first.
2010-04-20 20:59:24 +10:00
Jelmer Vernooij
588b3e6181 python: When updating sys.path to include the Samba python path, avoid throwing away the changes made by site.py. 2009-12-29 16:26:20 +01:00
Andrew Tridgell
3050f83288 s4-python: we need to include Python.h first
If we don't include Python.h first then we get a pile of warnings due
to broken redefines of XOPEN_SOURCE in the Python includes.
2009-10-23 16:23:01 +11:00
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
6267dd7853 Clean up some git merges gone wrong.
(This used to be commit 42eb6b3346)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd42068)
2008-04-25 10:04:20 +01:00
Jelmer Vernooij
8db14bf26b Add manually written Python binding for libnet_Join.
(This used to be commit 374654b43d)
2008-04-08 05:16:07 +02:00
Jelmer Vernooij
b5d84a74d1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/makefile.pm
	source/heimdal_build/config.mk
	source/lib/events/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/registry/config.mk
	source/lib/socket_wrapper/config.mk
	source/lib/tdb/config.mk
	source/lib/tls/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/scripting/ejs/config.mk
	source/smbd/process_model.mk
(This used to be commit 760378e029)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
5cf6c42658 Add python bindings for drsuapi.
(This used to be commit ba3f0312f0)
2008-04-08 03:23:53 +02:00
Jelmer Vernooij
f253c3ad91 Add python bindings for unixinfo.
(This used to be commit 068c2f858a)
2008-04-08 03:18:43 +02:00
Jelmer Vernooij
57bf8d2e33 Add Python bindings for DFS.
(This used to be commit 4319971ccb)
2008-04-08 02:48:54 +02:00
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
21f5f4d440 python: Give precedence to Samba's syspath over the already set system one.
(This used to be commit f3ebaf0a0c)
2008-01-25 12:16:13 +01:00
Jelmer Vernooij
42a793107e python: Fix init functions.
(This used to be commit 4b057b9bff)
2008-01-21 03:54:43 +01:00
Jelmer Vernooij
d869de531c python: Enable building of the wkssvc python bindings.
(This used to be commit 7a00d48a47)
2008-01-14 20:14:53 +01:00
Jelmer Vernooij
506f643288 python: Compile in svcctl Python bindings.
(This used to be commit 567099b66d)
2008-01-14 20:08:04 +01:00
Jelmer Vernooij
2aa8cbca8b python: Work around the fact that there are two "security" modules now.
This well demonstrates the fact we need hierarchy.
(This used to be commit df7e349882)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
d28eb21a98 python: Compile security module, handle uint.
(This used to be commit dee64344fb)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
a896c8940c python: Enable python bindings for samr and lsa interfaces.
(This used to be commit 3dfcefd8ac)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
fa5397fbed python: Build epmapper module.
(This used to be commit 6cb78c7634)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
e42322848b python: Start building winreg module.
(This used to be commit f1a9fad83c)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
1548d8d2be r26658: pidl: Register Python modules.
(This used to be commit f47044aacc)
2008-01-03 15:51:02 -06:00
Jelmer Vernooij
68b6982704 r26624: libnet/python: Use standard function for constructing context, allow overriding credentials.
(This used to be commit a5fb3caede)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
e8bca8dd71 r26594: Add right paths to the Python sys.path setting so we don't have to set magic environment variables when running from the build directory.
(This used to be commit 2d2674ad79)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0)
2007-12-24 01:51:06 -06:00