<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Translate GUID in Windows Event Log during Searchtime? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Translate-GUID-in-Windows-Event-Log-during-Searchtime/m-p/104215#M21939</link>
    <description>&lt;P&gt;I would assume you could do it with a lookup (scripted or CSV) that does an LDAP search against your AD tree.  From what I'm seeing here, objectGUID is an operational attribute of each object.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc221017%28v=PROT.10%29.aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/cc221017%28v=PROT.10%29.aspx&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's not perfect yet, but I got close using just ldapsearch, as follows:&lt;/P&gt;

&lt;P&gt;ldapsearch -h my.ad.server -x -D "CN=bindaccount,CN=Users,DC=my,DC=com" -W -b DC=my,DC=com "(objectGuid=*)" distinguishedName objectGuid&lt;/P&gt;

&lt;P&gt;This dumps (in ldif format) every object that has a GUID, showing its GUID and its DN.  There's some non-entirely-trivial reformatting to turn this into a CSV for lookup purposes.  The same thing might be more easily done with the Python LDAP modules:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.packtpub.com/article/installing-and-configuring-the-python-ldap-library-and-binding-to-an-ldap-directory" rel="nofollow"&gt;http://www.packtpub.com/article/installing-and-configuring-the-python-ldap-library-and-binding-to-an-ldap-directory&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.packtpub.com/article/python-ldap-applications-ldap-opearations" rel="nofollow"&gt;http://www.packtpub.com/article/python-ldap-applications-ldap-opearations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.packtpub.com/article/python-ldap-applications-more-ldap-operations-and-the-ldap-url-library" rel="nofollow"&gt;http://www.packtpub.com/article/python-ldap-applications-more-ldap-operations-and-the-ldap-url-library&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2010 23:30:34 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2010-12-14T23:30:34Z</dc:date>
    <item>
      <title>Translate GUID in Windows Event Log during Searchtime?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Translate-GUID-in-Windows-Event-Log-during-Searchtime/m-p/104214#M21938</link>
      <description>&lt;P&gt;Is there a way to translate any GUID's to their corresponding AD objects as with "evt_resolve_ad_obj," but during Searchtime?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2010 03:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Translate-GUID-in-Windows-Event-Log-during-Searchtime/m-p/104214#M21938</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2010-12-14T03:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Translate GUID in Windows Event Log during Searchtime?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Translate-GUID-in-Windows-Event-Log-during-Searchtime/m-p/104215#M21939</link>
      <description>&lt;P&gt;I would assume you could do it with a lookup (scripted or CSV) that does an LDAP search against your AD tree.  From what I'm seeing here, objectGUID is an operational attribute of each object.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc221017%28v=PROT.10%29.aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/cc221017%28v=PROT.10%29.aspx&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's not perfect yet, but I got close using just ldapsearch, as follows:&lt;/P&gt;

&lt;P&gt;ldapsearch -h my.ad.server -x -D "CN=bindaccount,CN=Users,DC=my,DC=com" -W -b DC=my,DC=com "(objectGuid=*)" distinguishedName objectGuid&lt;/P&gt;

&lt;P&gt;This dumps (in ldif format) every object that has a GUID, showing its GUID and its DN.  There's some non-entirely-trivial reformatting to turn this into a CSV for lookup purposes.  The same thing might be more easily done with the Python LDAP modules:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.packtpub.com/article/installing-and-configuring-the-python-ldap-library-and-binding-to-an-ldap-directory" rel="nofollow"&gt;http://www.packtpub.com/article/installing-and-configuring-the-python-ldap-library-and-binding-to-an-ldap-directory&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.packtpub.com/article/python-ldap-applications-ldap-opearations" rel="nofollow"&gt;http://www.packtpub.com/article/python-ldap-applications-ldap-opearations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.packtpub.com/article/python-ldap-applications-more-ldap-operations-and-the-ldap-url-library" rel="nofollow"&gt;http://www.packtpub.com/article/python-ldap-applications-more-ldap-operations-and-the-ldap-url-library&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2010 23:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Translate-GUID-in-Windows-Event-Log-during-Searchtime/m-p/104215#M21939</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-12-14T23:30:34Z</dc:date>
    </item>
  </channel>
</rss>

