[Samba] Generating keytabs for other hosts

Rowland Penny rowlandpenny at googlemail.com
Tue Jan 21 10:42:57 MST 2014


On 21/01/14 17:22, Pat Suwalski wrote:
> On 14-01-21 10:16 AM, steve wrote:
>> Create spns and keytabs on the DC:
>>
>> samba-tool spn add --help
>> samba-tool domain exportkeytab --help
>
> The format for "samba-tool spn add" takes "name" and "user" as 
> parameters.
>
> When one uses "net join", what "user" is used?
>
> Basically, how can I simulate the "net join" command to create a 
> keytab without actually joining the domain?
>
> --Pat
You could try msktutil, see here: https://fuhm.net/software/msktutil/

it is supposed to do what you want.

Rowland



More information about the samba mailing list