[Samba] Using net ads user to get child domain users on Samba 4.10.7

Rowland penny rpenny at samba.org
Tue Sep 10 09:49:58 UTC 2019


> On 10/09/2019 04:57, Jeremy via samba wrote:
> Hi Rowland,
>
> Thank you for your reply. Yes, i have tried "net ads user -w HARDWARE 
> -P", but it's still fail.
> I have add -d10 to llookup the debug mode and got the info below:
>
> ads_find_dc: (ldap) looking for realm '' and falling back to domain 
> 'HARDWARE'
> Opening cache file at /mnt/pool/SYSPOOL/cache/samba/lock/gencache.tdb
> sitename_fetch: Returning sitename for realm 'QSAN.AD.COM':
> Could not look up dc's for domain HARDWARE
> ads_connect: No logon servers are currently available to service the logon
> request.
> return code = -1
>
> it says " Could not look up dc's for domain HARDWARE ". Did i have the
> wrong configs or others else?

No idea, you haven't posted your smb.conf (yet) ;-)

Rowland




More information about the samba mailing list