Zhia Chandra
2013-Nov-27 07:42 UTC
[Samba] [samba] Problem migrate samba 3 (based on clearos 5.2) into new samba 4 server
hii all i still have a problem migrating my samba3 base on clearos 5.2 into new samba 4 machice in centos6.4 some error messege while running classicupgrade : [root at pdc /]# /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/var/lib/samba --use-xattrs=yes --realm=terminix.co.id/etc/samba/smb.conf Reading smb.conf WARNING: The "idmap backend" option is deprecated WARNING: The "idmap uid" option is deprecated WARNING: The "idmap gid" option is deprecated Unknown parameter encountered: "idmap alloc backend" Ignoring unknown parameter "idmap alloc backend" WARNING: Ignoring invalid value 'cups' for parameter 'printing' Unknown parameter encountered: "force directory security mode" Ignoring unknown parameter "force directory security mode" NOTE: Service profiles is flagged unavailable. Provisioning Failed to issue the StartTLS instruction: Protocol error Connection to LDAP server failed for the 1 try! 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,NT_STATUS_CANT_ACCESS_DOMAIN_INFO) File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 1318, in run useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs) File "/usr/local/samba/lib64/python2.6/site-packages/samba/upgrade.py", line 615, in upgrade_from_samba3 s3db = samba3.get_sam_db() File "/usr/local/samba/lib64/python2.6/site-packages/samba/samba3/__init__.py", line 394, in get_sam_db return passdb.PDB(self.lp.get('passdb backend')) can somebody helpme to undestand this error -- Thx & Warm regards Zhia Chandra
mourik jan heupink
2013-Nov-27 11:38 UTC
[Samba] [samba] Problem migrate samba 3 (based on clearos 5.2) into new samba 4 server
> Failed to issue the StartTLS instruction: Protocol error > Connection to LDAP server failed for the 1 try! > 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,NT_STATUS_CANT_ACCESS_DOMAIN_INFO)Since the error is about TLS etc, why not make life simple and try without tls/ssl? And since you're connecting to localhost, you could even try to access ldap over a unix socket? Hope that helps, MJ
Seemingly Similar Threads
- Samba4 - Classicupgrade - pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain
- samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO
- samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO
- Samba + ldap + cannot find domain
- Samba4 / Open LDAP init DB