<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LDAP Plugin install]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I’ve tried installing the LDAP plugin on our Fog Server (v1.5.7), but not sure what I’ve done wrong.</p>
<p dir="auto">I’ve installed php-ldap, restarted the Fog server, confirmed the php module is loaded. Installed the LDAP plugin.</p>
<p dir="auto">Configured a new LDAP server, with what I believe to be the correct settings for our Active Directory domain controller, but I’m not able to login to Fog with any LDAP credentials.</p>
<p dir="auto">I’m not really sure where to go looking for logs, I’ve grep’d /var/log/apache2/error.log and I see this error:</p>
<pre><code>[Wed Feb 05 04:15:40.799757 2020] [proxy_fcgi:error] [pid 3604] [client 172.16.32.102:31678] AH01071: Got error 'PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/fog/lib/fog/fogpage.class.php on line 832\n', referer: http://172.16.17.5/fog/management/index.php?node=ldap&amp;sub=list
</code></pre>
<p dir="auto">Any suggestions on how to troubleshoot further?</p>
<p dir="auto">Thanks heaps,</p>
]]></description><link>http://forums.fogproject.org/topic/14178/ldap-plugin-install</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 13:16:35 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/14178.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Feb 2020 07:00:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDAP Plugin install on Wed, 19 Feb 2020 00:27:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28061">@Sebastian-Roth</a> said in <a href="/post/133154">LDAP Plugin install</a>:</p>
<blockquote>
<p dir="auto">Did you see Tom’s post? There seemed to be an issue in the version check script on our webserver which led to it saying you are “up to date” eventhough you are running the years old 1.5.5 version. Tom fixed it. You can always be sure the version number in the bottom right corner is the one you have.</p>
</blockquote>
<p dir="auto">Hey sorry about the confusion I did see his comment, but clearly did not understand. It’s a huge relief that we aren’t dealing with a failed upgrade.</p>
<p dir="auto">Thanks for all your help with this everyone, I have finally got the plugin working. As <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/150">@Kiweegie</a> suggested early on the password complexity seemed to be the issue. I had made sure there was no special characters in it, but I had made the password obscenely long. Changing it &lt; 24 characters seems to have done the trick.</p>
<p dir="auto">Apologies for all the confusion and thanks again for all the help.</p>
]]></description><link>http://forums.fogproject.org/post/133177</link><guid isPermaLink="true">http://forums.fogproject.org/post/133177</guid><dc:creator><![CDATA[stuhad]]></dc:creator><pubDate>Wed, 19 Feb 2020 00:27:16 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Tue, 18 Feb 2020 20:58:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a></p>
<p dir="auto">We are running on the dev version here 1.5.7.109 and can confirm that LDAP plugin works on this version.</p>
<p dir="auto">Re your FOG install showing 1.55 but earlier not I think you’re seeing the issue that <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> referred to below and has fixed.</p>
<p dir="auto">As to why the LDAP plugin is not working it will be down to something in the LDAP config I suspect rather than anything linked to the FOG version. I’ve had LDAP plugin working on both 1.55 and 1.57.</p>
<p dir="auto">Do you have anything in the following log file at all in reference to LDAP users?</p>
<pre><code>/var/log/apaches/error.log
</code></pre>
<p dir="auto">Looking through your LDAP config and comments from previous post</p>
<p dir="auto"><strong>LDAP connection name: dc1</strong><br />
<em>(fine as long as each connection name is unique)</em><br />
<strong>LDAP Server Address: IP Address (is an IP ok?)</strong><br />
<em>IP address OK, thats what I’ve used</em><br />
<strong>LDAP Server Port: 389</strong><br />
<em>OK</em><br />
<strong>Use Group Matching: ticked</strong><br />
<em>OK</em><br />
<strong>Search Base DN: ou=fog users,dc=company,dc=com,dc=au</strong><br />
<em>I’ve set my search base here to the root of the domain so try just dc=company,dc=com,dc=au</em><br />
<strong>Group Search DN: ou=fog users,dc=company,dc=com,dc=au</strong><br />
<em>Should be fine - spaces in OU names also OK.</em><br />
<strong>Admin group: cn=fog admins,ou=fog users,dc=company,dc=com,dc=au</strong><br />
<em>Try just using the group name here “fog admins” don’t need the cn entry. Also try removing space. Should be ok but something to rule out</em><br />
<strong>Mobile group: cn=fog admins,ou=fog users,dc=company,dc=com,dc=au</strong><br />
<em>As above</em><br />
<strong>User Name Attribute: sAMAccountName</strong><br />
<em>OK</em><br />
<strong>Group Member Attribute: member</strong><br />
<em>OK</em><br />
<strong>Search Scope: Subtree and below</strong><br />
<em>OK</em><br />
<strong>Bind DN: cn=ldapadmin,ou=services,dc=company,dc=com,dc=au</strong><br />
<em>This user should have delegated rights to add and delete computer objects. If unsure try adding as member of Domain Admins group to test</em><br />
<strong>Bind password: added in plaintext</strong><br />
<em>OK</em></p>
<p dir="auto"><strong>Ninja Edit: With the password remember to ensure no special characters!!</strong></p>
<p dir="auto">Give the above a whirl and let us know how you get on.</p>
<p dir="auto">regards Tom</p>
]]></description><link>http://forums.fogproject.org/post/133172</link><guid isPermaLink="true">http://forums.fogproject.org/post/133172</guid><dc:creator><![CDATA[Kiweegie]]></dc:creator><pubDate>Tue, 18 Feb 2020 20:58:31 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Tue, 18 Feb 2020 16:36:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a> said in <a href="/post/133128">LDAP Plugin install</a>:</p>
<blockquote>
<p dir="auto">OK sorry I’m not sure what changed but it seems like the GUI is now saying we are in fact not running 1.5.7 but actually 1.5.5,</p>
</blockquote>
<p dir="auto">Did you see Tom’s post? There seemed to be an issue in the version check script on our webserver which led to it saying you are “up to date” eventhough you are running the years old 1.5.5 version. Tom fixed it. You can always be sure the version number in the bottom right corner is the one you have.</p>
<p dir="auto">Updating to a newer version might surely help. Though I can’t promise you this particular issue has been fixed between 1.5.5 and 1.5.7 I am sure people use the LDAP plugin with 1.5.7.</p>
<p dir="auto">But you might want to wait a few more days because we are preparing the 1.5.8 release to come out soon.</p>
]]></description><link>http://forums.fogproject.org/post/133154</link><guid isPermaLink="true">http://forums.fogproject.org/post/133154</guid><dc:creator><![CDATA[Sebastian Roth]]></dc:creator><pubDate>Tue, 18 Feb 2020 16:36:37 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Tue, 18 Feb 2020 03:53:35 GMT]]></title><description><![CDATA[<p dir="auto">OK sorry I’m not sure what changed but it seems like the GUI is now saying we are in fact not running 1.5.7 but actually 1.5.5, which at least makes sense as no one remembers upgrading Fog, and it matches the log output. Just not sure why it was reporting 1.5.7 before… perhaps a DNS issue?</p>
<p dir="auto"><img src="/assets/uploads/files/1581997368183-6b8da88d-60e5-4a0f-bb96-2cbed0665a5a-image.png" alt="6b8da88d-60e5-4a0f-bb96-2cbed0665a5a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The only change I can think of is I performed an apt install to install ldap-utils so I could troubleshoot if it was perhaps a network issue between our fog server and the domain controllers not sure why this would make any difference to what the GUI was reporting.</p>
<p dir="auto">I’ve confirmed I can query the domain controllers using ldapsearch from the fog server without issue so it doesn’t appear to be a network problem. Unfortunately, ldap logins still aren’t working to the fog server.</p>
<p dir="auto">Would you recommend I try actually upgrading to 1.5.7?</p>
<p dir="auto">Cheers,</p>
]]></description><link>http://forums.fogproject.org/post/133128</link><guid isPermaLink="true">http://forums.fogproject.org/post/133128</guid><dc:creator><![CDATA[stuhad]]></dc:creator><pubDate>Tue, 18 Feb 2020 03:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 23:16:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28061">@Sebastian-Roth</a></p>
<pre><code>$ grep FOG_VERSION /var/www/html/fog/lib/fog/system.class.php
        define('FOG_VERSION', '1.5.5');
$ find /var/www -name "system.class.php"
/var/www/fog/lib/fog/system.class.php
</code></pre>
]]></description><link>http://forums.fogproject.org/post/133127</link><guid isPermaLink="true">http://forums.fogproject.org/post/133127</guid><dc:creator><![CDATA[stuhad]]></dc:creator><pubDate>Mon, 17 Feb 2020 23:16:06 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 22:50:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a> The output looks fine from a technical point of view. Though I am wondering about the file change date of <code>/var/www/fog/</code> as 1.5.7 came out after March 14th 2019. Please run the two commands</p>
<pre><code>grep FOG_VERSION /var/www/html/fog/lib/fog/system.class.php
find /var/www -name "system.class.php"
</code></pre>
<p dir="auto">and post output here.</p>
]]></description><link>http://forums.fogproject.org/post/133125</link><guid isPermaLink="true">http://forums.fogproject.org/post/133125</guid><dc:creator><![CDATA[Sebastian Roth]]></dc:creator><pubDate>Mon, 17 Feb 2020 22:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 22:23:10 GMT]]></title><description><![CDATA[<p dir="auto">Hey Sebastion,</p>
<p dir="auto">I’m not certain if we are on 1.5.5 or 1.5.7, perhaps the upgrade failed? Is there any way I can tell definitively?</p>
<p dir="auto">Here is the output you requested.</p>
<pre><code>$ ls -al /var/www; ls -al /var/www/html; ls -al /var/www/html/fog
total 16
drwxr-xr-x  4 root     root     4096 Mar 14  2019 .
drwxr-xr-x 14 root     root     4096 Mar 14  2019 ..
drwxr-xr-x 10 www-data www-data 4096 Mar 14  2019 fog
drwxr-xr-x  2 root     root     4096 Mar 14  2019 html
total 20
drwxr-xr-x 2 root root  4096 Mar 14  2019 .
drwxr-xr-x 4 root root  4096 Mar 14  2019 ..
lrwxrwxrwx 1 root root    13 Mar 14  2019 fog -&gt; /var/www/fog/
-rw-r--r-- 1 root root 10918 Mar 14  2019 index.html
lrwxrwxrwx 1 root root 13 Mar 14  2019 /var/www/html/fog -&gt; /var/www/fog/ 
</code></pre>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28061">@Sebastian-Roth</a> said in <a href="/post/133061">LDAP Plugin install</a>:</p>
<blockquote>
<p dir="auto">ls -al /var/www; ls -al /var/www/html; ls -al /var/www/html/fo</p>
</blockquote>
]]></description><link>http://forums.fogproject.org/post/133120</link><guid isPermaLink="true">http://forums.fogproject.org/post/133120</guid><dc:creator><![CDATA[stuhad]]></dc:creator><pubDate>Mon, 17 Feb 2020 22:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 15:40:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a> So are you on 1.5.5 or 1.5.7 now?</p>
]]></description><link>http://forums.fogproject.org/post/133091</link><guid isPermaLink="true">http://forums.fogproject.org/post/133091</guid><dc:creator><![CDATA[Sebastian Roth]]></dc:creator><pubDate>Mon, 17 Feb 2020 15:40:38 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 12:46:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28061">@Sebastian-Roth</a> I fixed the versioning issue. No update needed to see this.</p>
<p dir="auto">There was a slight issue on the remote side code that checks the version information for us.</p>
]]></description><link>http://forums.fogproject.org/post/133071</link><guid isPermaLink="true">http://forums.fogproject.org/post/133071</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Mon, 17 Feb 2020 12:46:48 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 06:43:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a> said in <a href="/post/133058">LDAP Plugin install</a>:</p>
<blockquote>
<p dir="auto">But then it states under Kernel Versions:<br />
DefaultMember Fog Version: (1.5.5)<br />
and the bottom right hand corner of the GUI states: 1.5.5</p>
</blockquote>
<p dir="auto">Seems like something went wrong with your install. Please run the following command and post output here:<br />
<code>ls -al /var/www; ls -al /var/www/html; ls -al /var/www/html/fog</code></p>
]]></description><link>http://forums.fogproject.org/post/133061</link><guid isPermaLink="true">http://forums.fogproject.org/post/133061</guid><dc:creator><![CDATA[Sebastian Roth]]></dc:creator><pubDate>Mon, 17 Feb 2020 06:43:04 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 01:45:18 GMT]]></title><description><![CDATA[<p dir="auto">Sorry we are running Ubuntu 18.04.4 LTS</p>
<p dir="auto">Under Fog Configuration &gt; Fog Version Information  it says we’re running the latest stable version: 1.5.7</p>
<p dir="auto">But then it states under Kernel Versions:<br />
DefaultMember Fog Version: (1.5.5)</p>
<p dir="auto">and the bottom right hand corner of the GUI states: 1.5.5</p>
<p dir="auto"><img src="/assets/uploads/files/1581903904021-bdb77a4d-a863-457c-9313-6ec089ec4d69-image.png" alt="bdb77a4d-a863-457c-9313-6ec089ec4d69-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forums.fogproject.org/post/133058</link><guid isPermaLink="true">http://forums.fogproject.org/post/133058</guid><dc:creator><![CDATA[stuhad]]></dc:creator><pubDate>Mon, 17 Feb 2020 01:45:18 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Mon, 17 Feb 2020 01:23:12 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the quick response guys, and sorry about the late reply.</p>
<p dir="auto">Glad that I installed the correct php plugin, I’ve restarted the fog server a couple of times after installing as well.</p>
<p dir="auto">Based on Kiweegie’s example I’ve changed the Search scope to Subtree and below, but unfortunately this doesn’t seem to have fixed the issue.</p>
<p dir="auto">How does the LDAP plugin handle spaces in the DN search list? for example:<br />
Search Base DN: ou=fog users,dc=company,dc=com,dc=au</p>
<p dir="auto">Here’s our (edited for privacy) config for one of our DCs</p>
<p dir="auto">LDAP connection name: dc1<br />
LDAP Server Address: IP Address (is an IP ok?)<br />
LDAP Server Port: 389<br />
Use Group Matching: ticked<br />
Search Base DN: ou=fog users,dc=company,dc=com,dc=au<br />
Group Search DN: ou=fog users,dc=company,dc=com,dc=au<br />
Admin group: cn=fog admins,ou=fog users,dc=company,dc=com,dc=au<br />
Mobile group: cn=fog admins,ou=fog users,dc=company,dc=com,dc=au<br />
User Name Attribute: sAMAccountName<br />
Group Member Attribute: member<br />
Search Scope: Subtree and below<br />
Bind DN: cn=ldapadmin,ou=services,dc=company,dc=com,dc=au<br />
Bind password: added in plaintext</p>
]]></description><link>http://forums.fogproject.org/post/133057</link><guid isPermaLink="true">http://forums.fogproject.org/post/133057</guid><dc:creator><![CDATA[stuhad]]></dc:creator><pubDate>Mon, 17 Feb 2020 01:23:12 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Fri, 14 Feb 2020 11:58:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/28061">@Sebastian-Roth</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> thanks both</p>
<p dir="auto">We need the current live FOG install to JFDI at the moment so can’t play with the live environment but I’m putting together a virtual box lab to test version 1.6 with location plugin, LDAP etc.</p>
<p dir="auto">Update once i get that up and running.</p>
<p dir="auto">cheers Tom</p>
]]></description><link>http://forums.fogproject.org/post/133013</link><guid isPermaLink="true">http://forums.fogproject.org/post/133013</guid><dc:creator><![CDATA[Kiweegie]]></dc:creator><pubDate>Fri, 14 Feb 2020 11:58:59 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 18:42:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/150">@Kiweegie</a> Just be aware that <code>working-1.6</code> is still under strong development and there is no easy way back to 1.5.x unless you have snapshots to go back to.</p>
]]></description><link>http://forums.fogproject.org/post/132996</link><guid isPermaLink="true">http://forums.fogproject.org/post/132996</guid><dc:creator><![CDATA[Sebastian Roth]]></dc:creator><pubDate>Thu, 13 Feb 2020 18:42:55 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 16:58:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/150">@Kiweegie</a> We’re aware of that, and 1.5.x GUI was a step toward the right direction. If you want a much nicer GUI, you are more than welcome to test working-1.6.</p>
]]></description><link>http://forums.fogproject.org/post/132992</link><guid isPermaLink="true">http://forums.fogproject.org/post/132992</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Thu, 13 Feb 2020 16:58:03 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 16:54:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> ok cool that makes sense ref the one UI being more responsive. If I check the UI on my phone (Samsung S10+ running Android 10) the UI is not as good as it could be. Not a criticism in any way but pointing it out. Its certainly usable but the display is a little “janky”</p>
<p dir="auto">Same using Chrome (80.0.3987.87) or Firefox (68.5.0)</p>
<p dir="auto"><img src="/assets/uploads/files/1581612799900-96fab836-f9e6-4b41-a15e-173c1c87f8b2-image.png" alt="96fab836-f9e6-4b41-a15e-173c1c87f8b2-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1581612845397-f8cfc7ae-594e-4532-8f48-cd094b9edc14-image.png" alt="f8cfc7ae-594e-4532-8f48-cd094b9edc14-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">regards Tom</p>
]]></description><link>http://forums.fogproject.org/post/132990</link><guid isPermaLink="true">http://forums.fogproject.org/post/132990</guid><dc:creator><![CDATA[Kiweegie]]></dc:creator><pubDate>Thu, 13 Feb 2020 16:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 15:50:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/150">@Kiweegie</a> In the past the mobile group was setup for users who you didn’t want access to the main gui, but allowed access to the mobile gui.</p>
<p dir="auto">This has kind of fallen down the wayside as we moved to making a responsive gui vs. two seperate gui’s.</p>
<p dir="auto">Now there is really not much difference between them, though it’s kept more as a safety as you can code things around based on it if you so needed.</p>
<p dir="auto">Now, though, if you need to limit controls, I’d suggest using the AccessControl plugin. This isn’t a catch-all by any means, but is probably light years better at managing user’s and controlling what they can and cannot do in the GUI than anything FOG had prior to 1.5.x.</p>
]]></description><link>http://forums.fogproject.org/post/132987</link><guid isPermaLink="true">http://forums.fogproject.org/post/132987</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Thu, 13 Feb 2020 15:50:49 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 14:58:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> Excellent stuff, added to my notes <img src="http://forums.fogproject.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=p5dn7rglfv4" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Edit: actually I had that format under the Admin group but not the Mobile group. Which leads me to a question of my own - what is the Mobile group actually used for?</p>
]]></description><link>http://forums.fogproject.org/post/132983</link><guid isPermaLink="true">http://forums.fogproject.org/post/132983</guid><dc:creator><![CDATA[Kiweegie]]></dc:creator><pubDate>Thu, 13 Feb 2020 14:58:14 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 14:54:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/150">@Kiweegie</a> I should add that the Admin group and Mobile Groups should not need to be full DNs.</p>
<p dir="auto">So, for example, you have “Admin Group” set as a DN in your example, but you can just do: fogserver_admins</p>
<p dir="auto">Similarly, you can also add multiple groups to allow by using a comma such as:</p>
<pre><code>domain admins,domain manager computer objects,desktop administrators
</code></pre>
<p dir="auto">You can do the same for Mobile Group.  You do not need both to be filled out.</p>
]]></description><link>http://forums.fogproject.org/post/132982</link><guid isPermaLink="true">http://forums.fogproject.org/post/132982</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Thu, 13 Feb 2020 14:54:02 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Thu, 13 Feb 2020 12:26:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a></p>
<p dir="auto">I have this working on 1.5.7 dev branch on Ubuntu 18.04 so can walk you through what I’ve done in case that helps? Also check out <a href="https://forums.fogproject.org/topic/11531/how-to-setup-microsoft-ad-ldap-for-fog-1-5-0" target="_blank" rel="noopener noreferrer nofollow ugc">this post</a> by <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/38682">@m144</a> which got me started in the right direction.</p>
<p dir="auto">Need to install the php plugin and restart apache first off</p>
<pre><code>sudo apt-get install php-ldap
sudo systemctl restart apache2
</code></pre>
<p dir="auto">One important note which doesn’t seem to be documented anywhere - the AD Bind password does not like special characters. I’ve not had time to test which ones are ok and which are not so just went with an alphanumeric password to get  up and running.</p>
<p dir="auto">Assuming your domain is <a href="http://example.com" target="_blank" rel="noopener noreferrer nofollow ugc">example.com</a> and you have 2 domain controllers:</p>
<p dir="auto"><a href="http://dc01.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">dc01.example.com</a><br />
<a href="http://dc02.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">dc02.example.com</a></p>
<p dir="auto">Create a security group to house the users you want to log in over LDAP here we will use group fogserver admins in the OU=security groups. And a service account which has been delegated the rights to add and delete computer objects on your domain or in a pinch added as member of the Domain Admins group.</p>
<p dir="auto">In the FOG ui click on the LDAP icon and then create new LDAP link on the left and fill in details as follows</p>
<p dir="auto"><strong>LDAP connection name:</strong> <a href="http://dc01.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">dc01.example.com</a> (each connection name must be unique)<br />
<strong>LDAP Server Address:</strong> <a href="http://dc01.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">dc01.example.com</a><br />
<strong>LDAP Server Port:</strong> 389<br />
<strong>Search Base DN:</strong> dc=example,dc=com<br />
<strong>Group Search DN:</strong> dc=example,dc=com<br />
<strong>Admin group:</strong> cn=fogserver_admins,ou=security groups,dc=example,dc=com<br />
<strong>Mobile group:</strong> cn=fogserver_admins,ou=security groups,dc=example,dc=com<br />
<strong>User Name Attribute:</strong> sAMAccountName<br />
<strong>Group Member Attribute:</strong> member<br />
<strong>Search Scope:</strong> Subtree and below<br />
<strong>Bind DN:</strong> cn=service fogserver,ou=service_accounts,dc=example,dc=com<br />
<strong>Bind password:</strong> &lt;password for service account - add in plain text)</p>
<p dir="auto">You can (and should) add multiple entries here with your other DCs for redundancy, just fill in another LDAP entry with unique connection name.</p>
<p dir="auto">You should then be able to login to the FOG web portal with a domain username e.g. <strong>foguser</strong> (no need to add as example\foguser)</p>
<p dir="auto">If a user who is not a member of your fogserver admins group tries to login it will fail on the UI with error</p>
<pre><code>fogserver_admins))(member=CN=Jake Fake,OU=Users,OU=Sales,DC=example,DC=com)); Result: 0\nPHP message: Plugin LDAP::_result(). Search Method: search; Filter: (&amp;(|(name=cn=fogserver_admins)(name=ou=security groups)(name=dc=example)(name=dc=com))(member=CN=Jake Fake,OU=Users,OU=Sales,DC=example,DC=com)); Result: 0\nPHP message: Plugin LDAP::authLDAP() Access level is still 0 or false. No access is allowed!\n', referer: http://fogserver/fog/management/index.php?node=home
</code></pre>
<p dir="auto">Try that and if you’re still having issues let us know what OS you’re running and what entries you’re using in the LDAP setup - feel free to edit the entries for privacy reasons.</p>
<p dir="auto">regards Tom</p>
]]></description><link>http://forums.fogproject.org/post/132963</link><guid isPermaLink="true">http://forums.fogproject.org/post/132963</guid><dc:creator><![CDATA[Kiweegie]]></dc:creator><pubDate>Thu, 13 Feb 2020 12:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP Plugin install on Wed, 05 Feb 2020 13:06:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/43221">@stuhad</a> You might need to share more information for us to be able to help. I do understand that people are afraid of posting OUs and such information publicly. But it’s very hard to help from the FOG side if we don’t know what settings you use.</p>
<p dir="auto">Unfortunately the plugin does not do much logging I think.</p>
<p dir="auto">The warning posted does not cause the issue I am sure. As far as I know this is fixed in current <code>dev-branch</code> already.</p>
]]></description><link>http://forums.fogproject.org/post/132641</link><guid isPermaLink="true">http://forums.fogproject.org/post/132641</guid><dc:creator><![CDATA[Sebastian Roth]]></dc:creator><pubDate>Wed, 05 Feb 2020 13:06:13 GMT</pubDate></item></channel></rss>