Quantcast
Channel: Authentication
Viewing all 7917 articles
Browse latest View live

Re: A required parameter (auth) was missing

$
0
0
by Craig Gray.  

Did you ever get this worked out? I am having the same issue in Windows


Re: PHP LDAP module does not seem to be present

$
0
0
by Craig Gray.  

This is what is set in our system

ldap
LDAP Support enabled
RCS Version $Id$
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20319
SASL Support Enabled

Procedural Issue

$
0
0
by Katelyn Crumpley.  

My company has one training course that we enroll students in. Currently the students have to login, go to the front page, and click on the course.

My questions is if there is a way to create a bridge between the login and the course. To eliminate the front page. There is no need for it and it is an unnecessary step we are requiring our students to take.

I have read on a few forums that to do this I can alter the code on the login page, but I can't change the code? Is there something I need to install to have the access to change the codes or another way that I can avoid being sent to the front page?

ANY opinions on this issue would be greatly appreciated!

-Kate

Re: PHP LDAP module does not seem to be present

$
0
0
by Craig Gray.  

The failure seems to be in the auth_config.php file, at least that is where it stops.  

Re: Procedural Issue

$
0
0
by Tim Hunt.  

Where are the users coming from when then get to the Moodle front page?

If you can sent them straight to the URL like .../coures/view.php?id=123, then they will be redirected to the log-in page to log in, and once they have logged in, they will be redirected back to the course.

Re: Procedural Issue

$
0
0
by Katelyn Crumpley.  

I've tried that. For some reason anytime they have to login they go directly to the front page. For Example: If i send them a link to a quiz/lesson, they click it, login and go directly to the front page. It is almost like the moodle site redirects all logins to the front page. If it's going to do that I'd rather it redirect them to the course itself.

I've contacted someone from the support team at Moodle and she said they can't change anything. I then spoke with our account manager who said it's possible and to simply reword my issue. When I did this, the support staff asked if I had received their previous response and that no changes to the login could be made.

Where I'm confused is that on some forums I've seen where moodlers changed the code so the root of the login went straight to the course of choice. I can't change the source/code though since we aren't hosting it. It's hosted by Remote-learner.

Thank you so much for the suggestion though!

Re: Procedural Issue

$
0
0
by Tim Hunt.  

Well, normally it works. For example, log out of this site now, then go to the URL http://moodle.org/mod/forum/post.php?reply=911653. You should be redirected to the login page, and then once you have logged in, redirected to the form to reply to the post this message is in reply to. Actually, because of the way this particular site is set up, there is one extra screen asking if you are sure you want to log in.

So, it can be made to work, and the fact it does not work in your case may be a bug. To make progress, you would need to track down why it works here, but not on your site.

One cause might be the authenitcation plugin you are using. Which auth method are you using? I cannot think what else might cause the problem.

If you want to look at the code that should make this work, search the Moodle code for "$SESSION->wantsurl".

The other way you might be able to diagnose what is going on is to use a tool like the net tab in Firebug to examine all the HTTP requests that go back and forth as you try to log in and get redirected somewhere afterwards.

Chaning Username Creates New Account in LDAP

$
0
0
by Zak Fleming.  

Hi,

I know its not a bug or anything but when the Username in AD changes a brand new account in moodle is created.

Is there a way i can tell moodle to identify accounts using another LDAP attribute that is populated with a unique number and when sync_users.php is run it will change the username please?

Thanks


external database x field added (tests)

$
0
0
by Claudio Carvalho.  

moodle2.3 newly installed for testing
localhost
external database - enabled (localhost default)
field added to the user registration

"data mapping" (setting of external database) shows no field added

Does anyone know anything about it?

Thanks?

Re: This Course Does Not Allow Public Access

$
0
0
by Patricia Salgado Abreu.  

hi... if i want to create a meta course and

when i enroll then i get "this course dose not allow to public accass"

and i want to enroll meta course with child so how i do that??

Error Reading from Database (LDAP sync)

$
0
0
by allen mauer.  

I get a message saying, "

Connecting to LDAP server...
Creating temporary table tmp_extuser
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Got 707 records from LDAP
!!! Error reading from database !!!"  

 

I have tried to troubleshoot the configuration settings but nothing seems to have an effect. Does anyone have any idea what this error message is resulting from? 

?errorcode=3 on alternate login page

$
0
0
by F. Dehmel.  

I have an alternate login page to moodle with only one problem:
When users put in a wrong username or password the only feedback they got is "?errorcode=3" in the URL.

How can I put this into a userfriendly error message in the login form?

Thanks for your support smile

Re: Procedural Issue

$
0
0
by Katelyn Crumpley.  

If I download Firebug, can I make HTML changes even though we aren't hosting the website? Remote-learner hosts it but we run it. Can I make HTML/Code changes wtih Firebug?

Re: Procedural Issue

$
0
0
by Tim Hunt.  

Firebug is just a diagnostic tool - albeit a very powerful one. It will let you work out what the problem is, and hence, perhaps what the solution is. .Implementing the solution, is, however, another problem.

The solution might just be some configuration changes, in which case no problem, or it may require something more, in which case you will have to discuss it with Remote Learner.

Removed from AD users still in database after ldap sync

$
0
0
by Michael Williams.  

We are experiencing an issue with user accounts not being removed from moodle's database once they are removed from LDAP.  The LDAP plugin setting for "Removed ext user" is set to "full delete internal".   However, some fields for the users (removed from AD) in the user table are getting changed.  See the attached image.  The last two students you see there are active students.  All the ones above are students who have been removed from AD.  The LDAP script runs every night.  We're curious if we can just manually remove those records from the DB without causing any problems.  Is this a known issue that a newer version should fix going forward?

Moodle 2.3.1 (Build: 20120706)


Re: Removed from AD users still in database after ldap sync

$
0
0
by Michael Williams.  

We've also noticed when running the sync_users.php ldap sync that we get the following error...

.....................................
3436 records from LDAP
User entries to be removed: 6
!!! Error reading from database !!!

Re: Removed from AD users still in database after ldap sync

$
0
0
by Iñaki Arenaza.  

Hi Michael,

this is expected behaviour. Moodle doesn't remove the deleted user records from the user table. It simply marks them 'deleted' and modifies some fields (as you've seen) to avoid collisions with newer users.

This is so content "owned" by the old user (like forum posts, etc.) can still be present in the system. Otherwise, it would need to either delete them (and all the content dependent on them, like forum replies) or assign them to another user.

If you remove those user records, the content "owned" by them will be orphan. I suspect some code will not handle this situation gracefully wink

Saludos.
Iñaki.

Re: Removed from AD users still in database after ldap sync

$
0
0
by Iñaki Arenaza.  

Hi Michael,

you should have a look at your database error logs to see what's causing the error. If you can't, you might get some additional information about the error adding three lines of code to lib/setuplib.php. Around line 144 (in moodle 2.3.1+ current as of today) you will see these lines:


      if (defined('PHPUNIT_TEST') and PHPUNIT_TEST and $debuginfo) {
            $message = "$message ($debuginfo)";
      }
 


you need to change it to:


      if (defined('PHPUNIT_TEST') and PHPUNIT_TEST and $debuginfo) {
            $message = "$message ($debuginfo)";
      }
      else {
            $message = "$message ($debuginfo)";
      }
 


That should print some additional debugging information about the exact database error.

Saludos.
Iñaki.

Re: [M2.2] Users buy course access on external site, how to authenticate/enrol/open course directly from external site?

$
0
0
by Amarnath M S .  

Hi Tim, I am also looking for the implementation something similar to this. Assuming the user account is present in the moodle and user is enrolled to a course, I need to launch the course page directly after authenticating the user. I am also very new to this moodle development. Please let me know if you have implemented the above? Many Thanks in Advance.

ldap auth doesn't work

$
0
0
by Martin Schulte.  

Hi,

the following situation: Im using a server (ubuntu) for moodle with two network cards. The first card is connect to the internet. The second card to the local lan. Inside the local lan is a ldap-server, The moodle server can achieve this ldap-server using 10.0.0.2 or the hostname ldap.intern. I tested this e.g. using ldapvi.

I also can connect the moodle-server from the internet.


In former times, i always used moodle locally, and everything was ok.


No the moodle server can't authenticate to the ldap server anymore. This ist the error message:

LDAP-module cannot connect any LDAP servers. Server: 'ldap.intern', Connection: 'Resource id #47', Bind result: ''


Is this because, moodle always use only one network card, the one connected to the internet? Has anybody an idea, how to solve this problem?

 

Thanks, Martin

 

LDAP-module cannot connect any LDAP servers

Viewing all 7917 articles
Browse latest View live




Latest Images