添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • Starling Identity Analytics & Risk Intelligence
  • Starling Two-Factor Authentication
  • TPAM Appliance
  • Overview
  • Customer Service
  • Licensing Assistance
  • Renewal Assistance
  • Technical Support
  • Download Software
  • Knowledge Base
  • My Products
  • My Service Requests
  • My Licenses
  • My Groups
  • My Profile
  • Policies & Procedures
  • Professional Services
  • Technical Documentation
  • One Identity University
  • User Forums
  • Video Tutorials
  • Overview
  • Partner Circle Log In
  • Become a Partner
  • Find a Partner
  • Partner Community
  • Blogs A to Z
  • One Identity Community
  • AD Account Lifecycle Management
  • Cloud
  • Identity Governance & Administration
  • Privileged Access Management
  • syslog-ng Community
  • All Product Forums
  • Active Roles
  • Identity Manager
  • Password Manager
  • Safeguard
  • Unix Access Management
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube
  • We have configured the SMTP service account in Mail notification. But we kept getting authentication error

    <x><w>2020-05-21 11:06:08 +12:00 - \oneidentityfst - VI.JobService.JobComponents.MailComponent - 64b5bed0-8214-423a-bd48-5871d4602681: Errors occurred
    Server supported authentication mechanisms: NTLM, LOGIN
    Component supported authentication mechanisms: XOAUTH2, SCRAM-SHA-256, SCRAM-SHA-1, CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN
    [MailKit.Security.AuthenticationException] AuthenticationInvalidCredentials: 5.7.3 Authentication unsuccessful
    at VI.JobService.ProcessorThread._ExecuteJob(Job job, JobResult result)
    at VI.JobService.JobComponents.MailComponent.Activate(String task)
    at VI.JobService.JobComponents.MailComponent._TaskSendMail()
    at VI.JobService.JobComponents.MailComponent._Send(MimeMessage message, MailSecurity security)
    at VI.JobService.JobComponents.MailComponent._GetOrOpenSmtpConnection()
    at MailKit.Net.Smtp.SmtpClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)

    I have made sure the credentials are working because I use the same credential can send email via powershell on the server

    After set the use default credential parameter it works! Same credential, but not working if I put the name and password in SMTPAccount and Password.

    Because the Job service is running ok so that credential…

    I think that something is wrong with the setup see the error message which points to the server and the component not having matching authentication types:

    Errors occurred Server supported authentication mechanisms: NTLM, LOGIN
    Component supported authentication mechanisms: XOAUTH2, SCRAM-SHA-256, SCRAM-SHA-1, CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN

    Maybe it is trying to do NTLM which is not supported by the component when it should be using just LOGIN. You could always do a network capture to see what is happening when attempting to authenticate.

    Are  you using an encrypted connection to the SMTP server using a certificate?

    How did you configure the mail notification system of OneIM? Described in the installation guide https://support.oneidentity.com/technical-documents/identity-manager/8.1.1/installation-guide/11#TOPIC-1250162 .

    Did you set the parameter SMTPUseDefaultCredentials? And if so, what credentials is the Job Service, executing the mail tasks, using?

    After set the use default credential parameter it works! Same credential, but not working if I put the name and password in SMTPAccount and Password.

    Because the Job service is running ok so that credential works with OneID.

    Thanks for your help Markus. It is working now