Приветствую
Выполняю миграцию с ldap+samba на sambaAD
Общий алгоритм в соответствии с
https://forum.altlinux.org/index.php?topic=41733.0В процессе миграции, не удалось выполнить миграцию, а именно, в процессе переноса данных получаю невозможность соединиться с ldap:
samba-tool domain classicupgrade --dbdir=/opt/samba.PDC/dbdir/ --realm=titan.zn --dns-backend=SAMBA_INTERNAL /opt/samba.PDC/smb.conf
INFO 2020-02-26 13:20:13,069 pid:3947 /usr/lib64/samba-dc/python3.7/samba/netcmd/domain.py #1684: Reading smb.conf
Processing section "[netlogon]"
...
Processing section "[share]"
INFO 2020-02-26 13:20:13,081 pid:3947 /usr/lib64/samba-dc/python3.7/samba/netcmd/domain.py #1688: Provisioning
Attempting to register passdb backend samba_dsdb
Successfully added passdb backend 'samba_dsdb'
Attempting to register passdb backend samba4
Successfully added passdb backend 'samba4'
Attempting to find a passdb backend to match ldapsam:ldap://127.0.0.1/ (ldapsam)
No builtin backend found, trying to load plugin
load_module_absolute_path: Module '/usr/lib64/samba-dc/pdb/ldapsam.so' loaded
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend NDS_ldapsam
Successfully added passdb backend 'NDS_ldapsam'
Found pdb backend ldapsam
smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=TITAN))]
Failed to issue the StartTLS instruction: Connect error
Connection to LDAP server failed for the 1 try!
Failed to issue the StartTLS instruction: Connect error
...
Failed to issue the StartTLS instruction: Connect error
Connection to LDAP server failed for the 1 try!
smbldap_search_domain_info: Problem during LDAPsearch: Timed out
smbldap_search_domain_info: Query was: dc=titan,dc=zn, (&(objectClass=sambaDomain)(sambaDomainName=TITAN))
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably without it.
pdb backend ldapsam:ldap://127.0.0.1/ did not correctly init (error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO)
ERROR(<class 'passdb.error'>): uncaught exception - Cannot load backend methods for 'ldapsam:ldap://127.0.0.1/' backend (-1073741606,Configuration information could not be read from the domain controller, either because the machine is unavailable or access has been denied.)
File "/usr/lib64/samba-dc/python3.7/samba/netcmd/__init__.py", line 185, in _run
return self.run(*args, **kwargs)
File "/usr/lib64/samba-dc/python3.7/samba/netcmd/domain.py", line 1690, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/lib64/samba-dc/python3.7/samba/upgrade.py", line 489, in upgrade_from_samba3
s3db = samba3.get_sam_db()
File "/usr/lib64/samba-dc/python3.7/samba/samba3/__init__.py", line 391, in get_sam_db
return passdb.PDB(self.lp.get('passdb backend'))
в проессе выполнения slapd и bind в active при выполнении classicupgrade
в чем я не прав?