[Samba] samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO

itsaheb itsaheb at gmail.com
Wed Jul 31 04:11:12 MDT 2013


Thanks Andrew for your reply.

This time i have setup Samba4 on new test server but im still getting the
same error message:

# /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/samba3/
 --use-xattrs=yes --realm=mydomain.com /samba3/smb.conf
 --dns-backend=BIND9_DLZ

Reading smb.conf
Provisioning
smbldap_search_domain_info: Searching
for:[(&(objectClass=sambaDomain)(sambaDomainName=MYDOMAIN))]
smbldap_open_connection: connection opened
ldap_connect_system: successful connection to the LDAP server
The LDAP server is successfully connected
smbldap_search_domain_info: Problem during LDAPsearch: Timed out
smbldap_search_domain_info: Query was: dc=mydomain,dc=com,
(&(objectClass=sambaDomain)(sambaDomainName=MYDOMAIN))
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://x.x.x.x/ 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://x.x.x.x/' 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 616, in upgrade_from_samba3
    s3db = samba3.get_sam_db()
  File
"/usr/local/samba/lib64/python2.6/site-packages/samba/samba3/__init__.py",
line 390, in get_sam_db
    return passdb.PDB(self.lp.get('passdb backend'))

Can you please help on this or direct me in right direction?

Thanks in Advance.

Regards
Saheb


2013/7/30 Andrew Bartlett <abartlet at samba.org>

> On Tue, 2013-07-30 at 10:27 +0530, itsaheb wrote:
> > Even after cleaning etc and private directories im still getting the
> same error:
> >
> >
> > Provisioning
> > convert_string_talloc: Conversion not supported.*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://localhost 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://localhost' backend
> > (-1073741606,NT_STATUS_CANT_ACCESS_DOMAIN_INFO)
> >
>
> I think you may have cleaned too much, or not have the right settings -
> this means that the ldap server listning on port 389 localhost does not
> have a copy of your Samba3 domain.
>
> Andrew Bartlett
>
> --
> Andrew Bartlett
> http://samba.org/~abartlet/
> Authentication Developer, Samba Team           http://samba.org
> Samba Developer, Catalyst IT                   http://catalyst.net.nz
>
>
>


More information about the samba mailing list