/etc/cron.daily/bugzilla3 fails to run sanity check if ldap authentication is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bugzilla (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am running bugzilla3 on a stock lucid LTS.
Using LDAP as authentication method where the uid is a plain username like "myadmin" the cronjob running sanitycheck.pl fails:
/etc/cron.
The name <email address hidden> is not a valid username. Either you
misspelled it, or the person has not registered for a Bugzilla account.
run-parts: /etc/cron.
My ADMIN_EMAIL is <email address hidden> but the login for that person is "myadmin".
However, the cronjob does extract the email address and pass this to sanitycheck.pl - this does only work if login is a email address.
[...]
admin=`perl -e "require \"$answerfile\"; print \\\$answer{
su www-data -c "/usr/share/
[...]
Login and E-Mail must not be the same persons and at least if they are, login must not be the email address - this needs to be separated.