Hallo,
ich habe gerade die neue schueler.txt eingespielt und den Dreiklang
sophomorix-check
sophomorix-add
sophomorix-move
auf der Konsole durchgeführt. Die Skripte laufen durch (/usr/sbin/sophomorix-move terminated regularly). Es kommen aber bei jedem User gleichlautende Fehlermeldungen in sophomorix-move
Removing user hanswurst(10892) from all projects
* /usr/sbin/smbldap-usermod -G '' hanswurst
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 145.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 146.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 147.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 148.
New Group of hanswurst is: attic
Adding user hanswurst to the projects ...
... done!
* /usr/sbin/smbldap-usermod -G 'attic' hanswurst
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 145.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 146.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 147.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 148.
Das passiert nicht nur bei den Schülern, die in den attic verschoben werden sondern bei allen.
Edit 1: Und bei nochmaligem sophomorix-check kommen die Meldungen auch in sophomorix-check:
Replacing ldap account dn: uid=hanswurst,ou=accounts,dc=anne-frank-rsengen,dc=de
* ldap: Disabling samba account (/usr/sbin/smbldap-usermod -I hanswurst)
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 145.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 146.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 147.
Use of uninitialized value $value in substitution (s///) at /usr/share/perl5/smbldap_tools.pm line 154, <CONFIGFILE> line 148.
* ldap: Disabling posix account of hanswurst:
Edit 2: Und auch bei sophomorix-kill kommen die Meldungen.
Außerdem sind da noch immer irgendwelche Abläufe rund um die längst obsoleten __tauschen etc. Verzeichnisse im Skript:
Managing pointers (bind mounts, links, ...) of karlheinz
1) r7a (adminclass):
WARNING: Directory/file /home/students/r7a/karlheinz/__tauschen does not exist.
Doing nothing.
WARNING: Directory/file /home/students/r7a/karlheinz/__vorlagen does not exist.
Doing nothing.
umount /home/students/r7a/karlheinz/__tauschen/tausch-r7a &> /dev/null
rmdir /home/students/r7a/karlheinz/__tauschen/tausch-r7a &> /dev/null
umount /home/students/r7a/karlheinz/__vorlagen/vorlagen-r7a &> /dev/null
rmdir /home/students/r7a/karlheinz/__vorlagen/vorlagen-r7a &> /dev/null
WARNING: Directory/file /home/students/r7a/karlheinz/__tauschen does not exist.
Doing nothing.
WARNING: Directory/file /home/students/r7a/karlheinz/__vorlagen does not exist.
Doing nothing.
2) School-share:
WARNING: Directory/file /home/students/r7a/karlheinz/__tauschen does not exist.
Doing nothing.
umount /home/students/r7a/karlheinz/__tauschen/tausch-Schule &> /dev/null
rmdir /home/students/r7a/karlheinz/__tauschen/tausch-Schule &> /dev/null
WARNING: Directory/file /home/students/r7a/karlheinz/__tauschen does not exist.
Doing nothing.
Wäre es nicht sinnvoll um die ganzen Warnings zu vermeiden und damit die Ausgabe extrem zu kürzen das mal zu bereinigen?
Viele Grüße
Steffen