Tâche #20444
Scénario #20318: Traitement express MEN (19-21)
Horus 2.5 et login utilisateur en majuscule
Description
Bonjour,
Des établissements ont créés des utilisateurs avec des logins en majuscule. (sans ESU d'activé)
Les scripts "UTILISATEUR.bat" ne sont pas créés et/ou ne sont pas à jour.
Les utilisateurs n'ont aucune connexion avec les partages du Horus (sauf si on cré le fichier à la main).
Est il possible de corriger ces soucis ou de mettre une alerte interdisant la création des logins avec des majuscules ?
Cordialement,
Related issues
Associated revisions
Les noms d'utilisateurs en majuscules n'avaient pas les partages spéciaux.
ref #20444
History
#1 Updated by Fa Bu over 5 years ago
Les seules informations mentionnant la génération du .bat se situe ici : http://eole.ac-dijon.fr/documentations/2.5/completes/HTML/ModuleHorus/co/40b-scripts-perso.html
#2 Updated by Scrum Master over 5 years ago
- Assigned To set to Fabrice Barconnière
#3 Updated by Fabrice Barconnière over 5 years ago
- Tracker changed from Demande to Tâche
- Status changed from Nouveau to En cours
- Estimated time set to 3.00 h
- Parent task set to #20318
- Remaining (hours) set to 3.0
#4 Updated by Fabrice Barconnière over 5 years ago
- % Done changed from 0 to 50
#5 Updated by Fabrice Barconnière over 5 years ago
La correction touche un template. Il n'y aura pas de rétro-portage en 2.5 de ce correctif.
Un errata sera proposé avec le patch correctif.
#6 Updated by Christophe Dezé over 5 years ago
ca aurait pu etre corrigé il y a 7 ans ^^
https://dev-eole.ac-dijon.fr/issues/594
#7 Updated by Gérald Schwartzmann over 5 years ago
root@horus:~# Query-Auto -C Mise à jour le jeudi 11 mai 2017 17:23:23 *** horus 2.6.1 (0000000A) *** Maj-Auto - (VERSION CANDIDATE) - Augmenter le niveau de mise à jour peut empêcher de revenir au niveau de mise à jour stable. Voulez-vous continuer ? [oui/non] [non] : oui Configuration du dépôt Ubuntu avec la source test-eole.ac-dijon.fr Configuration du dépôt EOLE avec la source test-eole.ac-dijon.fr Action update pour root Action list-upgrade pour root 0 nouveau, 4 mis à jour, 0 à enlever Paquets à mettre à jour : eole-common-pkg (2.6.1-99) (root) eole-resolvconf (2.6.1-99) (root) eole-scribehorus (2.6.1-1) (root) eole-server (2.6.1-99) (root) root@horus:~#
root@horus:~# locate smb-include_shares.conf /usr/share/eole/creole/distrib/smb-include_shares.conf
La correction est présente :
%if %%activer_esu == 'oui' and %%is_defined('horus_frontend') root preexec = python /usr/share/eole/client/dyn-logon-clieole.py --user="%u" --os="%a" --machine="%m" --ip="%I" --pid="%d" %else root preexec = python /usr/share/eole/fichier/dyn-logon.py --user="%u" --os="%a" --machine="%m" --ip="%I" --pid="%d" %end if profile acls = yes
root@horus:~# locate USER.test /home/USER.test /home/USER.test/.ftp /home/USER.test/perso /home/USER.test/.ftp/perso root@horus:~#
#8 Updated by Gérald Schwartzmann over 5 years ago
- Remaining (hours) changed from 3.0 to 2.5
#9 Updated by Fabrice Barconnière over 5 years ago
- Related to Anomalie #594: probleme de casse avec identifiant horus added
#10 Updated by Fabrice Barconnière over 5 years ago
- File smb-include_shares.conf.patch View added
- % Done changed from 50 to 100
- Remaining (hours) changed from 2.5 to 0.5
ERRATA¶
Pour corriger ce problème sur Horus 2.4.x, 2.5.x et 2.6.0, il faut appliquer ce patch sur vos serveurs :
Il faudra également supprimer les fichier .bat
du répertoire /home/netlogon
#12 Updated by Fabrice Barconnière over 5 years ago
- Project changed from Horus to Distribution EOLE
- Status changed from En cours to Résolu
#13 Updated by Fabrice Barconnière over 5 years ago
Le problème reste entier sur Scribe/Amonecole
#14 Updated by Gérald Schwartzmann over 5 years ago
<pre> root@horus:~# ll -rtl /home/netlogon/ total 36 drwxr-xr-x 2 root root 4096 mai 10 23:25 profil.V2/ drwxr-xr-x 2 root root 4096 mai 10 23:25 profil/ drwxr-xr-x 2 root root 4096 mai 10 23:25 icones/ drwxr-xr-x 6 root root 4096 mai 10 23:25 scripts/ -rwxr-xr-x 1 admin root 171 mai 12 15:17 adminVista.bat* drwxr-xr-x 12 root root 4096 mai 12 15:23 ../ -rwxr-xr-x 1 test root 334 mai 12 15:25 testVista.bat* drwxr-xr-x 6 root root 4096 mai 12 15:34 ./ -rwxr-xr-x 1 USER root 334 mai 12 15:35 USERVista.bat* -rw-r--r-- 1 USER root 0 mai 12 15:37 userVista.bat root@horus:~# </pre>
#15 Updated by Gérald Schwartzmann over 5 years ago
- Related to Bac à idée #20500: Supporter les noms d'utilisateur en majuscule sur Scribe/Amonecole added
#16 Updated by Scrum Master over 5 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.5 to 0.0