Ticket #497 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

maiadbtool.pl doesn't observe the auto-issue passwords flag

Reported by: rjl Owned by: rjl
Priority: normal Milestone: 1.0.3
Component: Perl scripts Version: 1.0.2
Severity: normal Keywords: maiadbtool.pl auto-issue passwords
Cc:

Description

When new users are added with maiadbtool.pl and internal authentication is used, temporary passwords are generated and a welcome email is issued to these new users, even if the auto-issue passwords flag is not set.

This is because of the unfortunate naming of a variable called internal_auth, which is a column in the maia_config table set by the "Auto-issue passwords to new accounts" feature on the System Configuration page. The maiadbtool.pl script should be checking maia_config.internal_auth, but instead it is mistakenly checking $auth_method, which is set in maia.conf and means something altogether different.

In the longer term, maia_config.internal_auth really needs to be renamed to something more accurate, e.g. maia_config.issue_passwords.

Change History

Changed 13 months ago by dmorton

Due to the new authentication methods in the 1.1 branch, the config value will be pulled from the database on a per-domain fashion anyway.

Changed 13 months ago by rjl

  • status changed from new to closed
  • resolution set to fixed

Fixed in [1234].

Note: See TracTickets for help on using tickets.