• Formatting LDAP Server Connection

    Unsolved FOG Problems
    1
    1 Votes
    1 Posts
    420 Views
    No one has replied
  • 0 Votes
    7 Posts
    1k Views
    F

    @Miodog This is for 1.5.5 version.
    But you can do a workaround:

    go to FOG_DIRECTORY/lib/plugin/ldap/hooks Do a copy of ldappluginhook.hook.php #cp ldappluginhook.hook.php ldappluginhook.hook.php.ori Lets go to edit one line of the code: # vim ldappluginhook.hook.php /** * Sets our user type to filter from user list * * @param mixed $arguments the item to adjust * * @return void */ public function setTypeFilter($arguments) { $arguments['types'] = array(990,991); } Change the line: $arguments['types'] = array(990,991);

    To:

    $arguments['types'] = array(991);

    With this change you can see the local users and LDAP admin users

  • LDAP plugin in 1.3 causes login issue

    FOG Problems
    10
    0 Votes
    10 Posts
    5k Views
    Lee RowlettL

    quickest fix rather than re-installing everything is: on the server rename /var/www/fog/lib/plugins/LDAP to something else like: LDAP1

    this will essentially stop the LDAP Plugin “loading”

    now you have access back - login to the GUI, deactivate/remove the LDAP plugin (under installed plugins) then rename /var/www/fog/lib/plugins/LDAP1 back to LDAP

    if you want to try again and re-check your setting you can now enable LDAP plugin again and if it fails follow the process above again to regain access…logs will be your friend here to figure out what’s wrong 🙂