[Bug 1365] New: passwd script in /usr/share/debian-edu-config/tools is broken in debian lenny
http://bugs.skolelinux.org/show_bug.cgi?id=1365
Summary: passwd script in /usr/share/debian-edu-config/tools is
broken in debian lenny
Product: Skolelinux
Version: lenny-test
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: debian-edu-config
AssignedTo: debian-edu@lists.debian.org
ReportedBy: osth@sunrise.ch
This script uses the return text of ldappasswd to determine success or failure.
Current ldappasswd (lenny version of ldap-utils 2.4.11) remains quiet in case
of success
but sets the return value properly; Result: the script does not recognize
success and bails out.
Solution: replace
[ "$RESULT" != "Result: Success (0)" ]
by
[ $? -ne 0 ]
The script is quite useful to convert a test installation with weak passwords
into a real installation
with strong passwords for admin and smbadmin users.
--
Configure bugmail: http://bugs.skolelinux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reply to: