I've using the Upload Users method of adding AD users because this is a pilot project that will likely replace Blackboard. Staff and Students really like it. However, I went to upload a user from a file yesterday just like I have always been doing and the LDAP option is no longer listed as an option. Only Manual, No Login and Email Auth are available. LDAP is obviously still running because my other users are still able to get in and use Moodle. Something must've happened when I upgraded at the end of November as I haven't had to add a user since the upgrade or I would have noticed this before. We upgraded from 2.0 to 2.1. Any ideas would be greatly appreciated.
LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
I've tried with the 'auth' column and the message was that the LDAP plugin was not supported. I have disabled it and re-enabled it. Is there another work around/
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
Was this an option in 1.9? We have never noticed it in our version of 2.0, and now testing 2.1.
Would be very useful to have this option and no password submitted on upload.
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
In my case I had to rise memory limits. See here: http://moodle.org/mod/forum/discuss.php?d=174277
Rosario
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
I don't think the memory limits related to this issue.
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
I've had this issue since v2.0.2, but we resolved it by adding the auth field to the csv file with ldap as the entry. Yes it will complain about it not being supported, just ignore it and upload anyway and it works.
Have successfuly done this for the past few months and still works with v2.1.1. I'm pretty certain I even tried on a standalone fresh 2.2 XAMP.
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
Dear Cameron,
I don't know how to say my thousands THANKS to you! You saved my life.
You saved Moodle on my school as well. If I can not get the Uploads users done. Our School will get rid of Moodle soon.
Sure, as you said:
- Add one column as 'auth', then upload.
- Moodle error says: 'auth plug in in not supported here.'. IGNORE it.
- 'Continue'..check it , all WORKS!
I will report a bug for this.
Upload users, even LDAP users in file is very IMPORTANT and very USEFULL feature. It should be Kept for ever.
Why? Because, by upload users from a .csv file, which is generated from a spreed sheet, Admin can add users into the right courses/groups/cohorts, before a new term starts.
When new staff and students come to a classroom at the first day, they login and see EVERYTHING in the RIGHT places! Then they can start a class without any hassle.
We NEVER rely on a staff (any staff, no matter they are clever or not) to enroll students into a group/course. It is impossible!
Moodle geeks, please fix the 'Upload Users' problem, add the option for LDAP as in 1.9, and keep this function forever!!!
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
You're most welcome William.
Our department had very lenghty conversations over enrolment methods and came to the same conclusions you did. csv files are quick and clean,
Thanks for reporting the bug to moodle. Lets hope they do keep it working.
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
I am having exacting same problem. I need to upload hundreds student use LDAP auth as soon as possible.
It is a BIG loss, if the option LDAP disappeared.
I am in Moodle2.2.1, MySql5.0.51/PHP5.3.8.
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
Issue created: http://tracker.moodle.org/browse/MDL-31454
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
OK, now I ran into this issue because I extended the built in uploaduser.php to uploadusersandcourses.php with a silent version to be run as nightly cron job uploadusersandcourses_silently.php you will find in these forums.
I am rewriting my code for Moodle 2.3 now and it is vital, that I can choose the auth column in the csv-file to contain either ldap or shibboleth Authentication while creating/enrolling the students and teachers during this unattended job where I create new courses in the first pass through the csv-file and enroll the users in the second pass through the file.
For the moment I added 'ldap' and 'shibboleth' to the code that validates the input columns of the csv-file. But I have no clue, whether this could have any impact on the Moodle-Database.
If you succeeded in importing with ldap auth, then I assume that the user-table didn't change from Moodle 1.9 to 2.x regarding this aspect and so I do not see any reason why the core programmers changed the uploaduser.php code of Moodle 1.9 which admitted/accepted the auth column in the csv-file to be any value of the enabled auth plugins. This code should be restored as soon as possible I think, so as not to hardcode 'manual' as the only possible authorization when uploading users. Any other enabled auth-plugin should be possible as before.
I made an according comment in the mentioned tracker-issue, hoping that a core programmer will answer, as the case was already closed. Aha, might be I have to reopen it first. I'll see if I have the rights to do so.
Rosario
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
the message is just a warning, not an error. I.e., the users are still added and work flawlessly. And as far as I know, nothing has changed in the mdl_user table (only a couple of additional fields added from 1.9 to 2.3, as far as I can see).
What Petr says in the bug entry (well, my interpretation of what he says) is that the warning is there for a reason. If you upload your users via CSV and then you also use LDAP sync, (some or all of) your CSV-uploaded users might disappear (depending on your LDAP settings).
It's exactly the same situation for external db, CAS, or any other external authentication plugin (specially if they have sync scripts). That's why only the internal authentication plugins are availble in the drop down menu (i.e., they are safe in this respect), and why you get the warning (not error!) with any other external auth plugin.
Saludos.
Iñaki.
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
Hi
I just found this post because I wanted to know why I can't use "Shibboleth" as authentication for the "Upload users".
In my case users normaly login with shibboleth and enroll themselves into courses.
But I have also courses where we don't use self enrollment.
Therefore I have to upload users manually. Some users are already in Moodle others not. Authentication for new users should be Shibboleth of course.
Why should this not be a "normal task"?
I would appreciate to have this feature in the "Upload users"
Re: LDAP not listed in Upload Users menu after upgrade from 2.0 to 2.1
As I said before, this is just a warning to the administrator. That if she uses any external authentication plugin and upload users manually specifiying that particular plugin, she should know what she's doing and is fully aware of the implications of, e.g., running auth/shibboleth/cli/sync.php (in case that would exist, but you get the idea).
Other than that, it just works (i.e., users are created, enrolled, etc.).
Saludos.
Iñaki.