LDAP Plugin - ID Must Be Set To Edit Error
-
@noelpd sure enough its exactly as you said. Let me check
-
Just for clarity you need to adjust your fields a bit.
search base == the base where to start searching for users
group search dn == the base where the plugin will start searching for groups (you need this, can be the same as search base). -
@george1421 @Developers could you look at this code. I did enter the correct fields and I’m getting the same error. Its almost like the page isn’t in the right mode, like view instead of edit/insert.
I can confirm that I get the same error on my dev box running 1.4.4. Removing and adding back the plugin doesn’t help either.
-
@noelpd @george1421 not sure if this helps, but we had a similar issue with the location plugin and the fix was in this thread from Tom. This also solved an issue with the Wol Broadcast… Needed to remove and add the plugins back after running the fix…
https://forums.fogproject.org/topic/10364/issues-after-upgrading-from-1-4-3-to-1-4-4
-
@jason-shoemake I just tried the fix and that didn’t solve the issue. So close though. Thank you for bringing that to my attention. (whoops I didn’t remove and add back).
Update: Confirm that the fix referenced by Jason does work
- Open a linux command prompt on your FOG server.
- Key in the following command:
sudo wget -O /var/www/fog/lib/fog/plugin.class.php https://raw.githubusercontent.com/FOGProject/fogproject/6717f382177e714c1bd22eb11627133cfd4e0ebe/packages/web/lib/fog/plugin.class.php
- Remove the ldap plugin
- Reinstall the ldap plugin
- Add in your ldap settings and save
-
@jason-shoemake This fix let me successfully add our LDAP. Moving forward, how do I make sure that people can log in with it? Will a reboot be required? Anything else that needs to be configured or installed?
-
@noelpd The change will be automatic, once installed.
For people to be able to login using ldap they must be listed on the group identified by admin group field.
-
This post is deleted! -
@george1421 said in LDAP Plugin - ID Must Be Set To Edit Error:
For people to be able to login using ldap they must be listed on the group identified by admin group field.
They are, but the login is still not working.
-
@noelpd OK have someone login and then tail the apache error log we print debugging info there .
rhel/centos: /var/log/httpd/error_log
debian/ubuntu: /var/log/apache2/error.logFrom there we can understand what is going wrong. We have tested the ldap plugin against openldap, but we have had more success (of course) with MS AD.
-
@noelpd Please follow George’s instructions and report back.
-
I had the same issue, updating the plugin.class.php file did the trick.
Thank you.