[Samba] Fwd: Migrating server

Rowland Penny
Wed, 28 Feb 2018 11:34:11 -0000

On Wed, 28 Feb 2018 20:41:43 +1000
Rob Thoman via samba <samba at lists.samba.org> wrote:

>
> root at sam3dc # smbldap-populate
> Use of qw(...) as parentheses is deprecated at /usr/share/perl5/
> smbldap_tools.pm line 1423, <DATA> line 522.
> Unable to open /etc/smbldap-tools/smbldap.conf for reading !
> Compilation failed in require at /usr/sbin/smbldap-populate line 30.
> BEGIN failed--compilation aborted at /usr/sbin/smbldap-populate line
> 30.
>

The problem is that smbldap-tools appears to be a dead project, last
time I looked, it had disappeared from the internet.
That's the bad news, the good news is, you do not need it ;-)

You have (in your smb.conf):

ldapsam:trusted = yes
ldapsam:editposix = yes

With these lines, Samba itself can admin ldap, I can provide you with
some notes I made last year when testing this very subject, interested ?

>
>
> The file in question doesn't even exist. Any ideas?
>
> Also, in one of the samba list articles, I read that we'll need to run
> pdbedit -i tdbsam -e ldapsam to import the info from tdb to ldap.
> When do we do this one?

Presumably, once you get your PDC up and running, the how is a
question I cannot answer ;-)

Rowland