[Samba] Is there a listprincs equivalent?

Rowland Penny rowlandpenny at googlemail.com
Wed Mar 4 15:26:12 MST 2015


On 04/03/15 22:08, Lars Hanke wrote:
> I joined a machine. net ads testjoin says OK. The join exported a 
> keytab, which among others contains MACHINE$@REALM. However, trying 
> k5start I get "Client not found in Kerberos database". Also  kinit -t 
> /etc/krb5.keytab MACHINE\$@REALM claims that the client was not found. 
> But then, how did it come into the keytab?
>
> Is there a tool to list the principals in AD?
>
> Kind regards,
>  - lars.

samba-tool spn list <computer_name>$

will list spn's for a machine

Rowland


More information about the samba mailing list