[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-241-g2a01737

SATOH Fumiyasu fumiya at samba.gr.jp
Fri Nov 9 13:29:53 GMT 2007


At Thu, 08 Nov 2007 23:57:31 -0500,
simo 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.

Not 64. The maximum length is 63.

-- 
-- Name: SATOH Fumiyasu / fumiyas @ osstech.co.jp
-- Business Home: http://www.OSSTech.co.jp
-- Personal Home: http://www.SFO.jp/blog/


More information about the samba-technical mailing list