Re: [Samba] Samba NT4 to AD- LDAP
- Date: Sat, 24 Mar 2018 12:36:20 +0000
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Samba NT4 to AD- LDAP
On Sat, 24 Mar 2018 11:59:38 +0000
Praveen Ghimire via samba <samba@xxxxxxxxxxxxxxx> wrote:
> Hi All,
> Following the link, tried to migrate NT4 to AD using LDAP but came
> across some issues.
> I have done this step multiple times using TDB as the backend and it
> has always worked.
> The issue I am seeing is when I run the following, we get
> ERROR(<type 'exceptions.IndexError'>): uncaught exception - list
> index out of range File
OK, the above tells you what the error is
> File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 664,
> in upgrade_from_samba3 urls = samba3.lp.get("passdb
The above shows you where it is coming from
> passdb backend = ldapsam
Because of the above ;-)
If you look closely at what fails:
It takes the 'passdb backend' line and tries to split it at the ':'
character and then removes any ' " '
Now you know what is wrong, how to fix it ?
In the short term, try changing the 'passdb backend' line in smb.conf to
passdb backend = ldapsam:"ldap://lin-pdc.lin/"
To unsubscribe from this list go to the following URL and read the