[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-241-g2a01737
Jeremy Allison
jra at samba.org
Fri Nov 9 05:03:27 GMT 2007
On Thu, Nov 08, 2007 at 11:57:31PM -0500, simo wrote:
>
> On Thu, 2007-11-08 at 19:28 -0600, Jeremy Allison wrote:
> > #ifndef HOST_NAME_MAX
> > -#define HOST_NAME_MAX 64
> > +#define HOST_NAME_MAX 255
> > #endif
>
> I assume this is the size of a single hostname component.
> Per RFC any single DNS name component can be 64 chars at most with the
> full DNS name being 255 at most.
>
> So a 64 byte limit for each single component is correct (if this was
> used for the full hostname it is of course wrong).
We weren't differentiating between the two cases.
Jeremy.
More information about the samba-technical
mailing list