Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Clearpass automatic email notifications

This thread has been viewed 12 times
  • 1.  Clearpass automatic email notifications

    Posted Sep 02, 2015 09:45 AM

    Hi friends,

     

     I need to send an automatic email to notifiy each user his credentials when I do a massive guest user from a csv file. I've looked for different options but I do not know which field do I have to use and how to activate automatic email sending. How can I do it?

     

    Bye.



  • 2.  RE: Clearpass automatic email notifications

    Posted Sep 03, 2015 07:55 AM

    I've done this before. 

     

    First make sure SMTP is working for a single account.

     

    Next you have to do some small scall import testing.  What I did was created 5 test accounts with valid email addresses in Guest one at a time.  I confirmed I got individual mails for those.  Then I exported all accounts to a csv file.  One of the fields in the csv file should include the field "Auto SMTP" and it should be populated to value of "yes".

     

    Next I deleted my five test accounts and then used the csv file to import them back in to test if I was getting the mails.  When you import the csv make sure you are importing all the fields.  Should work if SMTP is working.



  • 3.  RE: Clearpass automatic email notifications

    EMPLOYEE
    Posted Apr 21, 2016 04:52 PM

    A couple points here on import.  One is that you generally want the csv to have the real data and the real field names.  So 'auto_send_smtp' with a value '1' trumps 'Auto SMTP' with a value 'Yes'.  The latter is asking for problems if a field label was renamed or someone had another language in play.

     

    Secondly, ensure that you are including an email column.  The system falls back to the settings in 'Configuration » Receipts » Email Receipt' for the email and auto send fields.  If you are just passing username it is not going to pick that up.

     

    So:

    username,email,auto_send_smtp

    joe@acme.com,joe@acme.com,1

     

    When you know all the usernames are email you can use email for the username label and the import should do its thing.

    email,auto_send_smtp,visitor_name

    joe@acme.com,1,Joe

     



  • 4.  RE: Clearpass automatic email notifications

    Posted Jun 09, 2016 01:22 PM
    Hi there,
    this was very useful considering an Aruba TAC engineer relayed a senior engineers position that it wasn't possible to send an email when importing!.

    Can you elaborate on how to substitute the email address as the username as opposed having it entered twice?

    Thanks
    Ken


  • 5.  RE: Clearpass automatic email notifications

    EMPLOYEE
    Posted Jun 09, 2016 04:39 PM

     Ken, did you try my example?  Create defaults to email if it is there.  Once saved both fields will be the email address.  One stage of the import may have a random username in there but the final receipt will have it right.

     

    There was a time when imports could not send emails.  It was fixed awhile back.



  • 6.  RE: Clearpass automatic email notifications

    Posted Jun 09, 2016 05:20 PM
    I guess I am not understanding your comment "defaults to email" otherwise all is working.

    Thanks
    Ken

    Sent from my iPhone


  • 7.  RE: Clearpass automatic email notifications

    EMPLOYEE
    Posted Jun 09, 2016 05:52 PM

    All creation logic, including import, goes through some basic logic to determine the username.  Simplistically the order goes:

     

    1. 'username' if it is there
    2. 'random_username_method' if it is there
    3. 'email' if it is there
    4. The global random_username_method otherwise

    The import logic has some logic to confirm that first row is a header row.  if it gets it wrong there is a way to force it on step 1.  It wants 'username' but I think we added a few other guesses too.

     

    I cannot tell what your problem is.  Paste the first few lines of the csv and what you want to happen with it.