Discussion:
[Samba] Problem in samba-tool ldapcmp
Fernando Favero
2016-08-04 10:42:52 UTC
Permalink
Hello

I am running samba-tool ldapcmp, but is giving the following error.
What may be happening?


samba-tool ldapcmp ldap://dc-server1 ldap://dc-server2 -Uadministrator
domain --filter=msDS-NcType,serverState
Password for [UEL.BR\administrator]:

* Comparing [DOMAIN] context...
Failed search of base=DC=campus,DC=uel,DC=br
ERROR(ldb): uncaught exception - LDAP client internal error:
NT_STATUS_CONNECTION_DISCONNECTED
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py",
line 981, in run
outf=self.outf, errf=self.errf)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py",
line 698, in __init__
self.dn_list = self.get_dn_list(context)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py",
line 841, in get_dn_list
res = self.con.ldb.search(base=self.search_base,
scope=self.search_scope, attrs=["dn"])
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Loading...