Bug 2005 - tl-passwd tries to display the entire error message on one single line
Summary: tl-passwd tries to display the entire error message on one single line
Status: CLOSED WONTFIX
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.5.0
Hardware: PC Linux
: P2 Normal
Target Milestone: 4.13.0
Assignee: Peter Åstrand
URL:
Keywords: interesting_200, interesting_210
Depends on:
Blocks:
 
Reported: 2006-05-17 09:28 CEST by Peter Åstrand
Modified: 2021-04-29 08:09 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2006-05-17 09:28:42 CEST
When something goes wrong during a password change, tl-passwd tries to displays
the entire message on one single line. Often, this means that only parts of the
error message can be read.
Comment 2 Peter Åstrand cendio 2007-01-29 14:55:36 CET
Re-targeting to 1.7.0. What I've found out so far: I think the problem is that a
very long line is returned from PAM, that is: pam_winbind. I've not been able to
find any long strings with pam_unix. So, the best way to check this is probably
to setup up a machine that authenticates against AD. 

Also, there are functions in tldialog that can be useful. The tl-setup uses
tldialog.format a lot, but it actually makes things worse: It *removes* (single)
line breaks and replaces them with spaces. The (currently unused) function
tldialog.break_lines might be just what we need for this bug, though. 

(As a side note, tldialog is a little bit un-generic: It contains hardcoded
strings like "installer" etc. It should be more generic.)
Comment 3 Pierre Ossman cendio 2021-04-29 08:09:32 CEST
tl-passwd has been removed from the product.

Note You need to log in before you can comment on or make changes to this bug.