ldap-user-clean-attic.sh
Hi Finn-Arne! Hi rest of the world;-)
I just tried to get rid of some test-users with ldap-user-clean-attic.sh and
had to face
# /usr/share/debian-edu-config/tools/ldap-user-clean-attic.sh 0
touch: Erzeugen von
»/tmp//usr/share/debian-edu-config/tools/ldap-user-clean-attic.sh.1983«: Datei
oder Verzeichnis nicht gefunden
So the double-slash after /tmp looked quite ill and the path to the script
seems to be wrong here too, so i vi'd the script and changed line 31 from
TMPFILE=/tmp/$0.$$
to
TMPFILE=/tmp$?.$$
and - voila! - it seems to work. The home0's are deleted and a user with a
former used name could be created.
Regards
Frank
Reply to: