[PATCH] Improve guessing of the kerberos service principal

Andrew Bartlett abartlet at samba.org
Mon Sep 22 16:34:00 MDT 2014


On Mon, 2014-09-22 at 17:35 +0200, Andreas Schneider wrote:
> Hi,
> 
> attached find a patch to improve guessing of the kerberos service principal. 
> This fixes 'net ads' if you provide a long hostname with the -S option. If it 
> is longer than a netbios name we should construct a FQDN with it.
> 
> Please review and push if ok.

Can we do this with talloc strings and strupper_talloc(), rather than
fixed length buffers?

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