[PATCH] Improve guessing of the kerberos service principal

Andreas Schneider asn at samba.org
Tue Sep 23 06:22:49 MDT 2014


On Monday 22 September 2014 15:34:00 Andrew Bartlett wrote:
> 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?

Yes, we can. See the attached patch.


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-libads-Improve-service-principle-guessing.patch
Type: text/x-patch
Size: 4756 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140923/da00b008/attachment.bin>


More information about the samba-technical mailing list