[Samba] How to tell a machine is properly joined to a domain?
denis.cardon at tranquil-it-systems.fr
Mon Sep 30 12:40:49 MDT 2013
> I have been using 'net ads testjoin' but the issue is it seems to ask for a
> password when the box is not joined to a domain (even if I specify '-U
> username%pass'). This *seems* like a bug - I would expect it to pass or
> fail using the creds passed in.
> Is this by design and if so, why? Is there a better alternative? ('net ads
I think that wbinfo -t should do it. It checks the trust relation ship.
[root at srvfichiers.tranq ~]# wbinfo -t
checking the trust secret for domain TRANQUILIT via RPC calls succeeded
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0) 126.96.36.199.55
More information about the samba