[PATCH] Remove HDB requirement from 'samba-tool domain exportkeytab'

Andreas Schneider asn at samba.org
Thu Mar 10 09:43:30 UTC 2016


On Thursday 10 March 2016 21:43:22 Andrew Bartlett wrote:
> On Tue, 2016-03-01 at 16:00 +0100, Andreas Schneider wrote:
> > Hello,
> > 
> > we can export all or one principal using 'samba-tool domain
> > exportkeytab'. The
> > code loaded the HDB module to export the keytab and HDB loads samdb.
> > This
> > makes the code Heimdal specific. However ever there is no need to
> > talk trough
> > HDB we could directly use samdb too as the rest of samba-tool is
> > already
> > working directly on sambdb.
> > 
> > The attached patchset first creates the infrastructure and then
> > directly get
> > the information from the samdb and creates a keytab.
> > 
> > 
> > Review and push appreciated, thanks!
> 
> Going via hdb and the hdb_keytab layer was always a disgusting hack
> upon a hack, which was very handy to quickly get this functionality.
>  I'm glad you found a way past it.  I'll look at the details tomorrow.

Metze already reviewed and pushed it, it landed in master ...

Thanks anyway ... ;)

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list