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

Re: Ynt: Verification of user at Random Intervals

$
0
0
by Thomas Beard.  

My boss is paying some to write a code to do this. It will work as a module in the learning path. Not random, but enough to keep The Texas Real Estate Commission happy.



Moodle 3.9 can not send Notifications to newly created Users

$
0
0
by Bruce Musinguzi.  

I have configured Moodle 3.9 to send messages, i used the test tool and it worked. I also tested the "Forgotten your username or password?" function it works... So it sends Emails

Now, i create users by uploading them into Moodle, I wanted Moodle to generate passwords and send instruction to the user on how login, but this has failed, how do i go about this???

Re: How to prevent account creation when authenticating just for one issuer?

$
0
0
by Iñaki Arenaza.  

Hi Osvaldo,

you need to change this line:

    if (!empty($CFG->authpreventaccountcreation)) {

to this one:

    if (!empty($CFG->authpreventaccountcreation) && ($issuer->get('name') !== 'my-identity-issuer-name')) {

Saludos.

Iñaki.

Re: How to prevent account creation when authenticating just for one issuer?

$
0
0
by Osvaldo Canato.  

Thanks a lot, Iñaki!

Re: Run Now

$
0
0
by Susmitha Nori.  

Hi

I have same issue in my setup. I cannot see 'Run now' button like the demo in some of the videos. Any one can help please ?

Thank you

Re: Run Now

LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Humayun Kabir Mamun.  

I have installed Moodle 3.9.2 version in a Windows 10 local machine and configured LDAP authentication and the LDAP authentication working fine. Later on I have installed Moodle 3.9.2+ version in a CentOS VM machine and configured the LDAP authentication with same setting's value provided for Windows machine but I am getting this error "LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

Can anyone please help me what am I missing?

Re: LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Emma Richardson.  

Check that SELinux is not blocking it.

Re: Run Now

$
0
0
by Mai Nguyen.  

I set Path to PHP CLI : /usr/bin/php. I cannot see 'Run now' button like the demo in some of the videos. please help me.

Re: LDAP Sync breaks when user created on external source

$
0
0
by Iñaki Arenaza.  

Hi Emma,

I know I'm quite late to this, but I've had a look at the code, and fixing this in the general case is going to be tricky. We have three settings that affect where Moodle looks for users, both when syncing them and when the user tries to log in:

  • general user contexts
  • context for externally created users
  • whether to search subcontexts of the previous two or not.

The root of the issue is the three of them are use together to decice where to look for, but are configured and "validated" independently. That is, when processing and storing the setting for general user contexts, we don't get a chance to see what's configured in the setting for externally created users, or the setting for type of search. This is a consquence of how admin configuration settings library works.

So that makes it tricky to detect any duplicates among general user contexts and the context for externally created users while configuring the plugin. So we need to defer that "duplicates" check until we try to use the contexts in the login or sync operation.

The second factor that complicates things further is that the "duplicates" check depends on the value of the search subcontexts setting. If set to "false", things are a little bit easier, as we can rather easily identify duplicated contexts: we just need to compare them all (case insensitively) and remove exact duplicates.

But if search subcontexts is set to "true", we need to compare if any given context from the two context-related settings is a subcontext of the others, and remove those that are subcontexts of another "higer level" context. And we would probably need to do this recursively until there are no subcontexts left, as an "ancestor" context of a given subcontext could itself be a subcontext of another "ancestor" context.

So I think it's doable, but we'd need to be very careful not to "loose" any context by accident while removing duplicates.

Saludos.

Inaki.

Re: LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Humayun Kabir Mamun.  

Hi Emma:
I have disabled the SeLinux option in the config file in /etc/selinux/config, but still get same error. see below picture



Some Background: My AD server is Windows Server and my moodle installation is in CentOS VM. I can ping my AD server from CentOS VM and vice-versa. I have checked the network traffic and getting status 200.




Re: Run Now

$
0
0
by Leon Stringer.  

Is /usr/bin/php the correct path on your system? You should see a green check mark on the right of the field if the path is correct:

Path to PHP CLI set correctly

If you don't see the green check mark, try running which php at the command line which should show the correct path.

Re: LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Leon Stringer.  

To confirm SELinux is disabled, what does the command getenforce show?

Can you telnet to 192.x.x.x server on the expected port, probably 389? This is done with the command telnet 192.x.x.x 389 (you may need to install telnet with dnf install telnet).

In Moodle is the Host URL field exactly the same on the Windows and CentOS VMs on the LDAP Server page?

Re: LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Emma Richardson.  

Recheck your settings, especially your bind user settings - the bind user has to have the correct credentials. Also, check the context entry to make sure that you have that in there correctly - both of those can cause the bind error...

Re: LDAP Sync breaks when user created on external source

$
0
0
by Emma Richardson.  

Lol - and that is why you are a coder and I am not!! Thank you for explaining the complications. I do now see why this would be so tricky. I was able to get everything working very well on my site (with your help on the LDAP group adding) so I forget why I was struggling with this at first - I know it was something to do with how I reference the OU that my users are all in but I have not had any issues the new users in a different ou as yet.

Having issues with Ldap Authentication settings

$
0
0
by VALENTINE HUNDU.  

Hello, I am new into moodle . I am having a serious challenge settting up my connection with my company active directory(Ldap).

1. I can connect to server but once i enter values in the Contexts it and click on test settings it returns this error

LDAP error 1 reading ou=abxxxx,dc=trxxxxxxxxx,dc=net: Operations error.

×Connecting to your LDAP server was successful
Continue
2. Its compulsory to set bind setting?3. if yes which account in my active directory domain should i use?(admin or any user)
kindly help, am becoming frustrated.
Thank you

Re: Having issues with Ldap Authentication settings

$
0
0
by Emma Richardson.  

I have always set a bind user.  It is a good idea to create a user just for this connection.  The user has to have sufficient privileges (read/write/execute etc) on the ou that your users are in.  

Re: LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Humayun Kabir Mamun.  

Dear Leon Stringer:
Thanks for your help. Now my Linux vm can connect to my AD server. Can you please tell me which type of permission needed for the bind user?

Re: LDAP-module cannot connect to any servers: Server: '192.X.X.X', Connection: 'Resource id #567', Bind result: ''

$
0
0
by Humayun Kabir Mamun.  

Dear Emma:
Thanks for your help. Now my Linux vm can connect to my AD server. Can you please tell me which type of permission needed for the bind user in AD?

Re: Having issues with Ldap Authentication settings

$
0
0
by VALENTINE HUNDU.  

Thank you. I appreciate.
Viewing all 8253 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>