upgrade samba 4 alpha9 to samba 4 alpha 11-error

Matthieu Patou mat at samba.org
Tue Sep 14 01:09:50 MDT 2010


  Hi Hesam,

On 14/09/2010 10:39, hesam mohamadian wrote:
> Hi Mat and thanks for your response i do following  but still have a problem
>
>
> 1. install samba master in /root/samba-master
> 2. update it with git pull
> 3. compile new  samba source4
> 4. backup my old samba and put it in /usr/local/backupprovision
> 5. edit smb.conf path and sysvol and netlogon
> 6. in new samba source4 (samba-master/source4) i type :
> /scripting/bin/upgradeprovision --full -s
> /usr/local/backupprovision/etc/smb.conf
> Traceback (most recent call last):
>    File "./scripting/bin/upgradeprovision", line 36, in<module>
>      import ldb
> ImportError: No module named ldb
> *
> my git version is : commit 123712840f99e633ea8eb2a6491dec8767316aa4
>   my os is : ubuntu server 9.10
> *can you help me please ?
Frankly speaking  I have not a lot of ideas.
Can you check that:
* you have a folder bin/python
* in this folder there is a file or a link called ldb.so
* the following command is working:
export PYTHONPATH=./bin/python:$PYTHONPATH; python -c "import ldb"


If not well tell us !

Matthieu

-- 
Matthieu Patou
Samba Team        http://samba.org



More information about the samba-technical mailing list