[Samba] samba-python

Sergey Badamshin basf at sbit.krasnoyarsk.su
Sat Jun 21 10:11:41 GMT 2003

Hello everybody.

Got a problem: need to access samba libs from python without installing
samba3 (samba2.2.8 is working well there and we're not going upgrade it to
3beta for a while). Is it possible at all?
I've tried to test that:
1) downloaded samba-3.0.0beta1 sources;
2) done './configure --with-python=python2' - OK
3) done 'make' - OK
4) done 'make python_ext' - OK
5) done 'make python_install' - OK
Now running python2 I'm trying:
>>> from samba import smb
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /usr/lib/python2.1/site-packages/samba/smb.so: undefined symbol:

Similar errors appear while importing other modules.

At last, what should I do?

        Yours, Sergey Badamshin

More information about the samba mailing list