cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7
Report Inappropriate Content
Message 1 of 2

MWG LDAP query

Jump to solution

Hello,

I have a requirement where immediate alerts should go to manager of an user if some event occurs. Using ldap query I can find out the name of the manager but this isn't good engough for the requirement. An email should automatically shoot to the user's manager. Can we find out email address of the manager using display name attribute in ldap query?

Regards,

Satbir

1 Solution

Accepted Solutions
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: MWG LDAP query

Jump to solution

Hello,

this is possible with external lists, I have just set it up in my lab.

Certainly you need some knowledge about your LDAP (I used AD). I did the following:

- I have my Username "andre" which is the windows logon account and stored in the sAMAccountName attribute in LDAP in the "Authentication.Username" property because I already did authentication.

- Now I create an extended list call to my LDAP Server which searches for all objects which have (sAMAccountName=Authentication.UserName) and return the LDAP object "manager". I store this in a user-defined property called "User-Defined.Manager".

Now I have the DN of my manager in the property "User-Defined.Manager".

- Now I do another call to LDAP to get my managers mali address. So this time I search for all objects which have (distinguishedName=User-Defined.Manager) and return the LDAP object "mail". I store this in a user-defined property called "User-Defined.ManagerMail".

Now I have the mail address of my manager in "User-Defined.ManagerMail".

- Now I add a rule which sends an eMail to "User-Defined.ManagerMail".

Thats it.

I will attach my rule set. Now that this rule set is for my test environment, it will not work for you. But hopefully you can use it to start your own rules.

Best,

Andre

Nachricht geändert durch asabban on 12.04.13 13:17:39 MESZ

View solution in original post

1 Reply
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: MWG LDAP query

Jump to solution

Hello,

this is possible with external lists, I have just set it up in my lab.

Certainly you need some knowledge about your LDAP (I used AD). I did the following:

- I have my Username "andre" which is the windows logon account and stored in the sAMAccountName attribute in LDAP in the "Authentication.Username" property because I already did authentication.

- Now I create an extended list call to my LDAP Server which searches for all objects which have (sAMAccountName=Authentication.UserName) and return the LDAP object "manager". I store this in a user-defined property called "User-Defined.Manager".

Now I have the DN of my manager in the property "User-Defined.Manager".

- Now I do another call to LDAP to get my managers mali address. So this time I search for all objects which have (distinguishedName=User-Defined.Manager) and return the LDAP object "mail". I store this in a user-defined property called "User-Defined.ManagerMail".

Now I have the mail address of my manager in "User-Defined.ManagerMail".

- Now I add a rule which sends an eMail to "User-Defined.ManagerMail".

Thats it.

I will attach my rule set. Now that this rule set is for my test environment, it will not work for you. But hopefully you can use it to start your own rules.

Best,

Andre

Nachricht geändert durch asabban on 12.04.13 13:17:39 MESZ

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community