UNSOLVED LDAP Plugin - ID Must Be Set To Edit Error
- FOG Version: 1.4.4
- OS: Windows 10
- Service Version: N/A
- OS: N/A
I was messing around with Open LDAP plugin. When I go to save my settings, I get the error message of “ID Must Be Set To Edit”. Any idea why it is giving me that error message? Thank you.
I had the same issue, updating the plugin.class.php file did the trick.
@noelpd Please follow George’s instructions and report back.
@noelpd OK have someone login and then tail the apache error log we print debugging info there .
From 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.
This post is deleted!
@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.
@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?
@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
@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…
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.
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).
@noelpd sure enough its exactly as you said. Let me check
would you mind posting a screen shot of the actual error so we can see what values are in the fields? That error is understandable and not at the same time.