Quantcast
Channel: Symantec Connect - Products - Discussions
Viewing all articles
Browse latest Browse all 19521

Putting Static Data in a custom attribute on the basis of a LDAP lookup

$
0
0
I need a solution

Morning,

I have 3 LDAP lookups currently for the three seperate companies for which DLP covers in my organisation. 

The lookups work fine for what I need where they extract the USERID and the Name based on the key unique email address. They are also practically identical for the lookup itself.The only thing changing is the source of the data.

The look up is below:

attr.Name=:(|(mail=$sender-email$)(sAMAccountName=$endpoint-user-name$)(sAMAccountName=$data-owner-name$)):cn
attr.Employee\ Email=:(|(mail=$sender-email$)(sAMAccountName=$endpoint-user-name$)(givenName=$sender-email$)):mail
attr.UserID=:(|(mail=$sender-email$)(givenName=$sender-email$)(sAMAccountName=$endpoint-user-name$)):sAMAccountName

What I would like to do is after LDAP lookup 1 to put "company 1" in the custom attribute "Company" that I have created and to do "company 2" for the LDAP 2 etc etc. however it should only fill this attribute if it finds the user in the lookup. Otherwise even if incident 1 is company 1 and incident 2 is company 2 then all the custom attributes for Company will say company 3 based on LDAP 3 being the last lookup.

Is this possible and if so how ?

Thanks for any help.

Kind Regards,

Jeremy


Viewing all articles
Browse latest Browse all 19521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>