xref: /freebsd/contrib/sendmail/cf/feature/authinfo.m4 (revision 39beb93c3f8bdbf72a61fda42300b5ebed7390c8)
1divert(-1)
2#
3# Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
4#	All rights reserved.
5#
6# By using this file, you agree to the terms and conditions set
7# forth in the LICENSE file which can be found at the top level of
8# the sendmail distribution.
9#
10#
11
12divert(0)
13VERSIONID(`$Id: authinfo.m4,v 1.9 2002/06/27 23:23:57 gshapiro Exp $')
14divert(-1)
15
16define(`_AUTHINFO_TABLE_', `')
17
18LOCAL_CONFIG
19# authinfo list database: contains info for authentication as client
20Kauthinfo ifelse(defn(`_ARG_'), `', DATABASE_MAP_TYPE MAIL_SETTINGS_DIR`authinfo',
21		 defn(`_ARG_'), `LDAP', `ldap -1 -v sendmailMTAMapValue,sendmailMTAMapSearch:FILTER:sendmailMTAMapObject,sendmailMTAMapURL:URL:sendmailMTAMapObject -k (&(objectClass=sendmailMTAMapObject)(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j))(sendmailMTAMapName=authinfo)(sendmailMTAKey=%0))',
22		 `_ARG_')
23