[shib_auth] help with a couple of error messages please
Patterson, Christina
chris at oit.ucla.edu
Fri Feb 28 21:37:50 CET 2014
I have shib_auth 7.x-4.0 installed on a Drupal 7 site. I'm getting two errors.
I have this configuration under Attribute Settings:
Server variable for username: REMOTE_USER
Server variable for email address: [empty]
UNCHECKED - User-defined usernames
CHECKED - User-defined email addresses
UNCHECKED - Account linking
Basically I want to use an attribute acquired from IdP to generate the username and NOT let user change it. And I want to allow the user to enter the email address and NOT provide them with a default.
Error 1) With configuration settings as described above, user successfully authenticates via shibboleth and is directed to get_custom_data. It displays this error:
Notice: Undefined index: in shib_auth_custom_data() (line 173 of /var/www/html/sites/all/modules/shib_auth/shib_auth_forms.inc).
To resolve this I entered REMOTE_USER for the email address, so now the configuration is:
Server variable for username: REMOTE_USER
Server variable for email address: REMOTE_USER
UNCHECKED - User-defined usernames
CHECKED - User-defined email addresses
UNCHECKED - Account linking
This gets rid of the error message. But I would prefer to have the email field be empty/blank when the user reaches the forum.
Error 2) After submitting get_custom_data, it creates the user but returns this error:
Notice: Undefined variable: custom_username in shib_auth_custom_form() (line 610 of /var/www/html/sites/all/modules/shib_auth/shib_auth.module).
Are these bugs? Should I submit issues to the issue queue? Or is it a misconfiguration on my part?
Chris Patterson
UCLA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.niif.hu/pipermail/shib_auth/attachments/20140228/8f1b8ae5/attachment.html>
More information about the shib_auth
mailing list