Bug#653562: Fix for non-DNS-compliant host names in GOsa²

2012-03-06 Thread Mike Gabriel

Hi Cajus,

On Mo 05 Mär 2012 09:10:00 CET Cajus Pollmeier wrote:


Am Samstag, 3. März 2012, 18:41:01 schrieben Sie:

Hi Caius,

Could you please check, if GOsa² 2.7.x in Debian sid also contains
such a fix for this issue?
https://forge.fusiondirectory.org/projects/fd/repository/revisions/136a4f59
a0315b4e2314657b2643f1ee6b1298c4/diff/include/class_tests.inc



2.7 does not allow an underscore there - and additionally does a couple of
additional checks there.


Would it make sense to grep the code from 2.7 and inject it into 2.6.  
I know that you are more into pushing upstream development, but from  
the Debian Edu perspective there is an interest in getting the old  
code more fool proof (which it mostly already is :-) ).


Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

pgp4r2u2pz90i.pgp
Description: Digitale PGP-Unterschrift


Bug#653562: Fix for non-DNS-compliant host names in GOsa²

2012-03-05 Thread Cajus Pollmeier
Am Samstag, 3. März 2012, 18:41:01 schrieben Sie:
 Hi Caius,
 
 Could you please check, if GOsa² 2.7.x in Debian sid also contains
 such a fix for this issue?
 https://forge.fusiondirectory.org/projects/fd/repository/revisions/136a4f59
 a0315b4e2314657b2643f1ee6b1298c4/diff/include/class_tests.inc

Mike,

2.7 does not allow an underscore there - and additionally does a couple of 
additional checks there.

To be nitpicking, the fusiondirectory fix is only working for hostnames, but 
not for dns names. It just removes the underscore from the list of valid 
characters, but at the time of checking the provided string may be a complete 
DNS name. And underscores are in fact allowed for domain names (RFC 1034, 
Preferred name syntax). Thats why 2.6 initially allowed the underscore.

Cheers,
Cajus


signature.asc
Description: This is a digitally signed message part.


Bug#653562: Fix for non-DNS-compliant host names in GOsa²

2012-03-03 Thread Mike Gabriel

Hi Caius,

Could you please check, if GOsa² 2.7.x in Debian sid also contains  
such a fix for this issue?

https://forge.fusiondirectory.org/projects/fd/repository/revisions/136a4f59a0315b4e2314657b2643f1ee6b1298c4/diff/include/class_tests.inc

Thanks,
Mike




--

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

pgpjC2H6uLUww.pgp
Description: Digitale PGP-Unterschrift