[SAMBA4] removed smbpython

Jelmer Vernooij jelmer at samba.org
Wed May 21 12:37:38 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Samba 4 now no longer has a 'smbpython' binary. Instead, you should be
able to use the system-provided Python interpreter with the Samba
modules.

To make Python find these modules for your own scripts, it may be
necessary to adjust the Python library path. This can be done from
within your python script:

import sys
sys.append.insert(0, "bin/python")

or using an environment variable:

PYTHONPATH=/usr/local/samba/lib/python2.5/site-packages

I've already made those changes for the scripts inside Samba 4.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSDQXjwy0JeEGD2blAQIECAP/Uv2ItGIHmjdvoZ87gTCheu85B0m2JIDD
5tSnwmWiBYhYA4W5X9IwmGp3lH+SmSyMX6R6ISC16D2wwV5zF3OAiB4Z6B7QtIBD
Ch7eCW2yURhkBhgu6jJPZzDiyNyz11aFP0yLMfEJwTYb9oq53wakHVZssd01b6ki
fbjz4bFwKrs=
=MGej
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list