[Samba] Unable to rejoin domain, LDAP error 50

Rowland Penny rpenny at samba.org
Sun Apr 8 10:49:12 UTC 2018


On Sun, 08 Apr 2018 12:31:26 +0200
Kris via samba <samba at lists.samba.org> wrote:

> I should try this command sooner. Now I have made full backup and 
> something is missing:
> 
> [root at dc ~]# cd /opt/samba-4.7.6/bin
> [root at dc bin]# ./samba_upgradeprovision --realm=DOMAIN.NET.PL -U 
> Administrator
> Traceback (most recent call last):
>    File "./samba_upgradeprovision", line 36, in <module>
>      import ldb
> 
> I have the same output running the script from 
> /opt/samba-4.7.6/source4/scripting/bin/ directory.
> OS is CentOS 6. Google returns nothing really special about it.
> 
> Any hint?
> 

Have you got python-ldb installed ?
I think it is called pyldb on Centos.

Rowland





More information about the samba mailing list