Stuart,<div><br></div><div>I have tried the procedure but the faculty still reports the wrong association. If I grep for the ID I get the correct username (and only that username). If I grep for the "false" ID I still get his username. If I grep for the zeroed name I find that one.</div>
<div><br></div><div>I will need further help with the GDBM file.</div><div><br></div><div>Paul<br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 2:11 PM, Stuart Raeburn <span dir="ltr"><<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
What you will need to do as Domain Coordinator is to use the web GUI:<br>
<br>
Main Menu -> Create users or modify the roles and privileges of users ->  Add/Modify a User<br>
<br>
to change the StudentID of the account for the *correct* username to something you will never use, but is not null, with the checkbox checked for:<br>
<br>
"Disable Student/Employee ID Safeguard and force change of conflicting IDs<br>
(only do if you know what you are doing.) "<br>
<br>
Then repeat the procedure, again for the account with the *correct* username, but this time enter the correct value for the StudentID, again with the checkbox checked for:<br>
<br>
"Disable Student/Employee ID Safeguard and force change of conflicting IDs<br>
(only do if you know what you are doing.) "<br>
<br>
Based on your description it seems likely that a user account already existed in your LON-CAPA domain for the "correct" username, but the addition of the incorrect account (with complete e-mail address as username) overwrote the entry for the StudentID in the folowing GDBM file:<br>

<br>
/home/httpd/lonUsers/ndsu/ids.<u></u>db<br>
<br>
The procedure I describe should correct that issue. You'll be able to check if that is so from the command line using:<br>
<br>
/home/httpd/perl/debug/<a href="http://dump_db.pl" target="_blank">dump_<u></u>db.pl</a> -u /home/httpd/lonUsers/ndsu/ids.<u></u>db |grep <studentID><br>
<br>
replacing <studentID> with the "correct" studentID number (lower case), both before and after using the web GUI to make fix the problem.<br>
<br>
Let me know the issue remains unresolved and I can provide additional information on how to modify the GDBM file directly.<br>
<br>
<br>
Stuart Raeburn<br>
LON-CAPA Academic Consortium<div><div class="h5"><br>
<br>
<br>
Quoting Paul Omernik <<a href="mailto:paul.omernik@ndsu.edu" target="_blank">paul.omernik@ndsu.edu</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings,<br>
<br>
I had a faculty member enroll a student and accidentally use the student's<br>
e-mail address as their username. Afterward he created a student account<br>
with the "proper" name, but both accounts have the same StudentID.<br>
<br>
Now the faculty member is attempting to upload scantron results from an<br>
exam and is running into problems where the results are associating with<br>
the e-mail address name.<br>
<br>
I have attempted changing the StudentID of the e-mail address account to<br>
zeroes and disabling/updating the ID for both accounts. I have revoked and<br>
deleted the e-mail account from the course. I have even moved the e-mail<br>
student's files into a bak directory on the library server. The faculty<br>
member is still having issues with the scantron linking to the e-mail<br>
student ID.<br>
<br>
Is there any way I can 1) delete the student's misnamed account (from what<br>
I've read here on the list, no), or 2) relink the scantron to the<br>
appropriate student account?<br>
<br>
In case it helps, the most recent e-mail I've received from the faculty<br>
says:<br>
<br>
"It's still uploading to the wrong account.<br>
<br>
It's interesting that the information for the account, including ID, shows<br>
up when I look at "Previously Had Access" users, but when I click on the<br>
username to look at its information, all the fields are blank."<br>
<br>
Thanks!<br>
<br>
Paul</blockquote></div></div></blockquote></div></div>