Is there a way to retrieve the domain info for a domain from AD using tdbsearch or ldap searches?

Matthieu Patou mat at matws.net
Fri Aug 21 17:05:41 UTC 2015


On 08/21/2015 09:11 AM, Richard Sharpe wrote:
> Hi folks,
>
> rpcclient does not seem to take credentials in the form of user at REALM,
> which is understandable.
>
> Can we retrieve the same info as rpcclient -c querydominfo using an LDAP query?
>
Which domain info are you looking for.

Do you want to know how to translate user at DNS.TYPE.REALM.TLD to 
NETBIOSDOM\user ?

Matthieu.



More information about the samba-technical mailing list