upgrade samba 4 alpha9 to samba 4 alpha 11-error

Michael Wood esiotrot at gmail.com
Thu Sep 16 05:51:13 MDT 2010

On 16 September 2010 10:05, hesam mohamadian <hesam.mohamadian at gmail.com> wrote:
> hi Mat
> I type below command in / (root)
> *# find . | grep -ir ldb.so *

This command is wrong (even if it told you want you wanted to know).


# find / -type f -name '*ldb.*'


# locate ldb.

if you've got locate installed and configured correctly and it has had
a chance to update its database.

> ./root/samba-master/source4/bin/default/source4/lib/ldb/pyldb.so
> ./root/samba-master/source4/bin/default/source4/lib/ldb-samba/python-samba--ldb.so
> ./root/samba-master/source4/bin/python/samba/_ldb.so
> ./root/samba-master/source4/bin/python/ldb.so

You should generally not compile things as root.  Rather compile as a
normal user and then just use root for the "make install".

> ./usr/local/new-samba/lib/python2.6/site-packages/ldb.so
> ./usr/local/new-samba/lib/python2.6/site-packages/samba/_ldb.so
> ./usr/local/backupprovision/lib/python2.6/site-packages/ldb.so
> ./usr/local/backupprovision/lib/libldb.so.0.0.1
> ./usr/local/backupprovision/lib/libldb.so
> *
> samba-master* is source of samaba-alpha11 that i download
> *new-samba* is samba-aplha11 that i configure &make&make install
> *backupprovision* is my old samba that i installed it before

Where is the source of the current version from GIT?

> now i must set python path in which of them and execute* upgradeprovision
> script * form new-samba or samba-master  ?
> what should i do ?

I think it's best to get the latest source code from GIT and compile
that.  e.g. in a directory called /home/user/samba-git/source4.

Then run the upgradeprovision from inside the samba-git source code.

If that doesn't work, post the output.

Michael Wood <esiotrot at gmail.com>

More information about the samba-technical mailing list