Changeset 268 for trunk/doc/pam_pkcs11.xml
- Timestamp:
- 05/09/07 08:48:00 (5 years ago)
- File:
-
- 1 edited
-
trunk/doc/pam_pkcs11.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pam_pkcs11.xml
r228 r268 1664 1664 This mapper is still under development. 1665 1665 </para> 1666 <para> 1667 ldap_mapper configuration file shows like: 1668 <screen> 1669 # Directory ( ldap style ) mapper 1670 mapper ldap { 1671 debug = false; 1672 module = /usr/lib/pam_pkcs11/ldap_mapper.so; 1673 ldaphost = ""; 1674 ldapport = ; 1675 URI = ""; 1676 scope = 2; 1677 binddn = "cn=pam,o=example,c=com"; 1678 passwd = ""; 1679 base = "ou=People,o=example,c=com"; 1680 attribute = "userCertificate"; 1681 filter = "<![CDATA[(&(objectClass=posixAccount)(uid=%s))]]>" 1682 # SSL/TLS-Settings 1683 ssl = tls 1684 # tls_randfile = ... 1685 tls_cacertfile = /etc/ssl/cacert.pem 1686 # tls_cacertdir = ... 1687 tls_checkpeer = 0 1688 #tls_ciphers = ... 1689 #tls_cert = ... 1690 #tls_key = ... 1691 } 1692 </screen> 1693 The following options are recognized by 1694 1695 <varlistentry> 1696 <term><token>ldaphost</token></term> 1697 <listitem>The FQDN (hostname) oder IP-address of the ldap server.</listitem> 1698 </varlistentry> 1699 1700 <varlistentry> 1701 <term><token>URI</token></term> 1702 <listitem>A space separated list of LDAP URIs. The URIs are used in the given order. 1703 If a ldaphost is also submitted, it will be appended to the URI list. 1704 </listitem> 1705 </varlistentry> 1706 1707 <varlistentry> 1708 <term><token>ldapport</token></term> 1709 <listitem>The LDAP Port on the server (default: 1710 389 for LDAP and LDAP-TLS and 636 for SSL) 1711 </listitem> 1712 </varlistentry> 1713 1714 <varlistentry> 1715 <term><token>scope</token></term> 1716 <listitem>Scope of search: 0-2 1717 <itemizedlist> 1718 <listitem><option> 0 </option> "base", search only the basedn 1719 </listitem> 1720 1721 <listitem><option> 1 </option> "one", only the set of records one 1722 level below the basedn is searched (default) 1723 </listitem> 1724 1725 <listitem><option> 2 </option> "sub" means the union of entries 1726 at the "base" level and all levels below are searched 1727 </listitem> 1728 </itemizedlist> 1729 </listitem> 1730 1731 </varlistentry> 1732 1733 <varlistentry> 1734 <term><token>binddn</token></term> 1735 <listitem>The bind-DN if needed. 1736 </listitem> 1737 </varlistentry> 1738 1739 <varlistentry> 1740 <term><token>passwd</token></term> 1741 <listitem>Password for bind-DN 1742 </listitem> 1743 </varlistentry> 1744 1745 <varlistentry> 1746 <term><token>base</token></term> 1747 <listitem>The DN of the searchbase (see scope) 1748 </listitem> 1749 </varlistentry> 1750 1751 <varlistentry> 1752 <term><token>attribute</token></term> 1753 <listitem>The user attribute in LDAP entry, which contains 1754 the certificate. This can be an multi-value attribute. That 1755 implies you can store more than one certificate under this 1756 attribute. All certificates are utilized. 1757 </listitem> 1758 </varlistentry> 1759 1760 1761 <varlistentry> 1762 <term><token>filter</token></term> 1763 <listitem>LDAP filter string. You can use ist to restrict 1764 the entries returned by the LDAP server, e.g. by checking 1765 other attributes of the user entry. 1766 %s is substituted by the user name. 1767 1768 <![CDATA[(&(objectClass=posixAccount)(uid=%s))]]> 1769 means, only that 1770 LDAP entry is returned which has an objectClass 1771 "posixAccount" and the uid with the user name. 1772 1773 <lineannotation>IMPORTANT NOTE:</lineannotation> The filter string 1774 must be choosen in such a way that only one entry for the user is 1775 returned. If an user has more certifactes than these should be 1776 collected under the attribute. 1777 </listitem> 1778 </varlistentry> 1779 1780 <varlistentry> 1781 <term><token>ssl</token></term> 1782 <listitem>Enable or disable the usage of TLS or SSL 1783 <itemizedlist> 1784 <listitem><option> off </option> TLS/SSL off(default) 1785 </listitem> 1786 1787 <listitem><option> tls </option> enable TLS 1788 </listitem> 1789 1790 <listitem><option> on|ssl </option> enable SSL 1791 </listitem> 1792 </itemizedlist> 1793 </listitem> 1794 </varlistentry> 1795 1796 <varlistentry> 1797 <term><token>tls_randfile</token></term> 1798 <listitem>Specifies the path to an entropy source. 1799 </listitem> 1800 </varlistentry> 1801 1802 <varlistentry> 1803 <term><token>tls_cacertfile</token></term> 1804 <listitem>Specifies the path to the X.509 certificate for peer authentication. 1805 </listitem> 1806 </varlistentry> 1807 1808 <varlistentry> 1809 <term><token>tls_cacertdir</token></term> 1810 <listitem>Specifies the directory containing X.509 certificates for peer authentication. 1811 </listitem> 1812 </varlistentry> 1813 1814 <varlistentry> 1815 <term><token>tls_checkpeer</token></term> 1816 <listitem>Specifies whether to require and verify the server certificate or not. 1817 <option> 1 </option> check the certificate 1818 <option> 0 </option> off (default) 1819 </listitem> 1820 </varlistentry> 1821 1822 <varlistentry> 1823 <term><token>tls_ciphers</token></term> 1824 <listitem>Specifies the ciphers to use. 1825 </listitem> 1826 </varlistentry> 1827 1828 <varlistentry> 1829 <term><token>tls_cert</token></term> 1830 <listitem>Specifies the path to the file containing the local certificate for client TLS authentication if required. 1831 </listitem> 1832 </varlistentry> 1833 1834 <varlistentry> 1835 <term><token>tls_key</token></term> 1836 <listitem>Specifies the path to the file containing the private key for client TLS authentication. 1837 </listitem> 1838 </varlistentry> 1839 1840 </para> 1841 1842 1843 1666 1844 </sect2> 1667 1845
Note: See TracChangeset
for help on using the changeset viewer.
