xref: /freebsd/contrib/sendmail/cf/feature/authinfo.m4 (revision ee7b0571c2c18bdec848ed2044223cc88db29bd8)
140266059SGregory Neil Shapirodivert(-1)
240266059SGregory Neil Shapiro#
35dd76dd0SGregory Neil Shapiro# Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
440266059SGregory Neil Shapiro#	All rights reserved.
540266059SGregory Neil Shapiro#
640266059SGregory Neil Shapiro# By using this file, you agree to the terms and conditions set
740266059SGregory Neil Shapiro# forth in the LICENSE file which can be found at the top level of
840266059SGregory Neil Shapiro# the sendmail distribution.
940266059SGregory Neil Shapiro#
1040266059SGregory Neil Shapiro#
1140266059SGregory Neil Shapiro
1240266059SGregory Neil Shapirodivert(0)
13*4313cc83SGregory Neil ShapiroVERSIONID(`$Id: authinfo.m4,v 1.10 2013-11-22 20:51:11 ca Exp $')
1440266059SGregory Neil Shapirodivert(-1)
1540266059SGregory Neil Shapiro
1640266059SGregory Neil Shapirodefine(`_AUTHINFO_TABLE_', `')
1740266059SGregory Neil Shapiro
1840266059SGregory Neil ShapiroLOCAL_CONFIG
1940266059SGregory Neil Shapiro# authinfo list database: contains info for authentication as client
2040266059SGregory Neil ShapiroKauthinfo ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`authinfo',
21e92d3f3fSGregory Neil Shapiro		 defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=authinfo)(sendmailMTAKey=%0))',
2240266059SGregory Neil Shapiro		 `_ARG_')
23