Disable TREP authentication in ADS 3.2

I’m using an ADS POP trep3.2.1.L1.B1

This is an extract of my configuration file:

!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! DACS Parameters
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*ads*dacs*featureEnabled : True
*ads*dacs*fileDirectory : ./
*ads*dacs*fileSize : 6000
*ads*dacs*logFlushInterval : 20
*ads*dacs*connectRetryInterval : 10
*ads*dacs*usageLoggingLevel: External
*ads*dacs*usageFileName : DACS_usage.log
*ads*disconnectDacsDown : False
*ads*refuseConnectionsDacsDown : False
*ads*softwareStatsReportTime :
!!! DACS Multi-Connect
*ads*dacs*doMultiConnect : False
*ads*dacs*domainList : DACS_CHICAGO, DACS_NEW_YORK
*ads*dacs*DACS_CHICAGO*port : 8211
*ads*dacs*DACS_CHICAGO*forceLetterCase4Login : None
*ads*dacs*DACS_NEW_YORK*port : 9111
*ads*dacs*DACS_NEW_YORK*forceLetterCase4Login : None
!!! Authentication
*ads*authentication*tokenAuthenticationHosts :
*ads*authentication*authThreads : 1
*ads*authentication*connectTimeout : 15
*ads*authentication*compatibilityMode : allow
*ads*authentication*iauth2Trace : False

This is what the adsmon tell me: List of DACS Connection Managers

                       List of DACS Connection Managers
Role DACS Enabled Authentication Enabled
Consumer True False
Publisher True False

It seems like the TREP authentication is disabled, which is what I want.

But if it’s disabled, then why do I have an error message:

<xxxx.sop.ads.dacs: Error: Wed Jun 27 10:11:00 2018>
Cannot enable TREP authentication. No authentication hosts defined.
<END>

I want to disable this feature, but I don't want the error message when I start my ADS.

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    You can comment all authentication configurations in the configuration file.

    !!! Authentication
    !*ads*authentication*tokenAuthenticationHosts :
    !*ads*authentication*authThreads : 1
    !*ads*authentication*connectTimeout : 15
    !*ads*authentication*compatibilityMode : allow
    !*ads*authentication*iauth2Trace : False

    This will also disable this feature and there is no error log in the ADS log file.

Answers