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

Andrew Bartlett abartlet at samba.org
Thu Mar 10 08:43:22 UTC 2016


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.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list