LDAP plugin on 1.3.0
-
Unless it is an update. Please try installing manuallt
-
php-ldap was not installed. I’ll restart and see what happens. I also looked in /opt/fog/.fogsettings and didn’t see php-ldap or a package that depends on it.
-
@iyoung FWIW: You only need to restart apache when you update php
-
You will probably have other issues since you did not supply a bind DN. AD does not allow blind binds via ldap.
-
Success! I was able to login with a domain user, after installing php-ldap, without issue.
-
@iyoung Ok so now the question is why didn’t the installer install that for you?? (just an open question).
That’s great it worked for you, Tom spent quite a bit of time working out the details on that plugin to make it a bit more universal.
Marking issue as solved.
-
@george1421 @tom-elliott I’ll spin up a host to see if it’s an issue on fresh installs of 1.3.0.
-
I had this working last week but it’s mysteriously stopped working now. I didn’t spend a lot of time looking into it, just giving this tidbit of info here.
-
Just looking at FOG installing now, I can see php7.1-ldap in the “Packages to be installed.” The only things I changed before installing FOG were installing aptitude and ssh-server.
OS: Ubuntu 16.10 Server
FOG: 1.3.0 (SVN 6051) -
@iyoung I think the difference was your “fresh” install knows to install ldap already. The upgrade, however, doesn’t.
-
@Tom-Elliott I looked at the creation date of my main FOG server and it looks like it was created on 09/15/2016, and I know that I went right to trunk when I installed FOG. I skimmed this thread which is, for the most part, newer than that. Was php-ldap added more recently?
-
@iyoung yes I think october ish timeframe
-
@iyoung That is most likely the case, the php-ldap module, before the thread, was a user responsibility to add it in and not provided by the fog installer (if I remember correctly). Once Tom updated the ldap plugin it was logical that if The FOG Project supplied the plugin that the installer should install all required modules.
-
@iyoung Test completed. LDAP plugin added and test login succeeded.