madnerdTRASH / webmanage

Automatically exported from code.google.com/p/webmanage
Other
0 stars 0 forks source link

Vérification du nom de l'ordinateur #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Vérification du nom de l'ordinateur

Il faut que le nom soit conforme aux normes windows

Original issue reported on code.google.com by sarrailh.remi on 7 Apr 2012 at 4:44

GoogleCodeExporter commented 8 years ago

Original comment by sarrailh.remi on 9 Apr 2012 at 5:09

GoogleCodeExporter commented 8 years ago

Original comment by sarrailh.remi on 9 Apr 2012 at 5:12

GoogleCodeExporter commented 8 years ago
Norme : Netbios d'après http://en.wikipedia.org/wiki/NetBIOS

The NetBIOS name is 16 ASCII characters, however Microsoft limits the host name 
to 15 characters

NetBIOS names can include almost any combination of alphanumeric characters 
except for spaces and the following characters:
 \ / : * ? " ; | +

Original comment by sarrailh.remi on 11 Apr 2012 at 6:51

GoogleCodeExporter commented 8 years ago
JS échappement
\   \\
.   \.
$   \$
[   \[
]   \]
(   \(
)   \)
{   \{
}   \}
^   \^
?   \?
*   \*
+   \+
-   \-

Original comment by sarrailh.remi on 11 Apr 2012 at 7:31

GoogleCodeExporter commented 8 years ago
J'ai étendu les interdictions sur tout les caractères spéciaux à 
l'exception du tiret (-) car il me semble que c'est quand même du BEST 
PRACTICE de faire ainsi 

(Pinger $pc) Oo?

Original comment by sarrailh.remi on 11 Apr 2012 at 7:38

GoogleCodeExporter commented 8 years ago
Caractères vérifiés: 
!@#$%^&*()+=[]\\\';,./{}|\":<>?\`~€¤£µ§\é\à\ù\² 

Test effectué ça roule.

Original comment by sarrailh.remi on 11 Apr 2012 at 8:17