<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Monitor_AD_Group_for_Changes</id>
	<title>Monitor AD Group for Changes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Monitor_AD_Group_for_Changes"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Monitor_AD_Group_for_Changes&amp;action=history"/>
	<updated>2026-05-06T16:03:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Monitor_AD_Group_for_Changes&amp;diff=223&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;The purpose behind this one is to monitor an AD group, and when an addition is made create a Google Authentication secret and email it to the new user. However the process is...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Monitor_AD_Group_for_Changes&amp;diff=223&amp;oldid=prev"/>
		<updated>2016-09-27T17:52:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The purpose behind this one is to monitor an AD group, and when an addition is made create a Google Authentication secret and email it to the new user. However the process is...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The purpose behind this one is to monitor an AD group, and when an addition is made create a Google Authentication secret and email it to the new user. However the process is broken down into the following pieces&lt;br /&gt;
#Create a baseline&lt;br /&gt;
#Every X minutes read the group and compare to the baseline&lt;br /&gt;
#If a difference is detected, kick off a script&lt;br /&gt;
#Update the baseline with the new user.&lt;br /&gt;
With this in mind the following is steps 1 and 4.&lt;br /&gt;
*Assuming you are already enrolled in a domain using SSSD&lt;br /&gt;
 getent group security_group@your.domain &amp;gt; /baseline&lt;br /&gt;
 sed -i 's|security_group@your.domain:*:&amp;lt;GID here&amp;gt;:||' /baseline&lt;br /&gt;
 sed -i 's/,/\n/g' /baseline&lt;br /&gt;
*Now that we have a baseline lets read from the group and compare if there are changes&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>