Reminder about Samba4's secrets.keytab

Andrew Bartlett abartlet at
Wed Dec 21 22:05:14 GMT 2005

On Wed, 2005-12-21 at 15:28 -0500, Michael B Allen wrote:
> On Thu, 22 Dec 2005 06:11:27 +1100
> Andrew Bartlett <abartlet at> wrote:
> > For windows domains, I'm intending to write a 'net samdump keytab'
> > utility, to directly dump the remote windows realm keys into a keytab.
> Meaning could you export a keytab entry from a W2K3 server for a
> workstation principal like mymachine$@REALM.COM? That would indeed be
> useful. Is there anyway to do this now?

To do this with -r 12411

Set 'password server = ncacn_np:<dc name>' in your smb.conf

net join <domain> bdc
net samdump keytab <keytab file>

Andrew Bartlett
Andrew Bartlett                      
Authentication Developer, Samba Team 
Student Network Administrator, Hawker College
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list