Changeset 268 for trunk/etc/pam_pkcs11.conf.example
- Timestamp:
- 05/09/07 08:48:00 (5 years ago)
- File:
-
- 1 edited
-
trunk/etc/pam_pkcs11.conf.example (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/etc/pam_pkcs11.conf.example
r225 r268 182 182 debug = false; 183 183 module = /usr/lib/pam_pkcs11/ldap_mapper.so; 184 # where base directory resides 185 basedir = /etc/pam_pkcs11/mapdir; 186 # hostname of ldap server 187 ldaphost = "localhost"; 188 # Port on ldap server to connect 189 ldapport = 389; 190 # Scope of search: 0 = x, 1 = y, 2 = z 191 scope = 2; 192 # DN to bind with. Must have read-access for user entries under "base" 193 binddn = "cn=pam,o=example,c=com"; 184 # hostname of ldap server (use LDAP-URI for more then one) 185 ldaphost = ""; 186 # Port on ldap server to connect, this is also the default 187 # if no port is given in URI below 188 # if empty, then 389 for TLS and 636 for SSL is used 189 ldapport = ; 190 # space separted list of LDAP URIs (URIs are used by given order) 191 URI = ""; 192 # Scope of search: 0-2 193 # Default is 1 = "one", meaning the set of records one 194 # level below the basedn. 195 # 0 = "base" means search only the basedn, and 196 # 2 = "sub" means the union of entries at the "base" level 197 # and ? all or "one" level below ??? FIXME 198 scope = 2; 199 # DN to bind with. Must have read-access for user entries 200 # under "base" 201 binddn = "cn=pam,o=example,c=com"; 194 202 # Password for above DN 195 passwd = "test";203 passwd = ""; 196 204 # Searchbase for user entries 197 base = "ou=People,o=example,c=com";205 base = "ou=People,o=example,c=com"; 198 206 # Attribute of user entry which contains the certificate 199 attribute = "userCertificate"; 200 # Searchfilter for user entry. Must only let pass user entry for the login user. 201 filter = "(&(objectClass=posixAccount)(uid=%s))" 207 attribute = "userCertificate"; 208 # Searchfilter for user entry. Must only let pass user entry 209 # for the login user. 210 filter = "(&(objectClass=posixAccount)(uid=%s))" 211 # SSL/TLS-Switch 212 # This is a global switch, you can't switch between 213 # SSL or TLS and non secured connections per URI! 214 # values: off (standard), tls or on (ssl) or ssl 215 ssl = tls 216 # SSL specific settings 217 # tls_randfile = ... 218 tls_cacertfile = /etc/ssl/cacert.pem 219 # tls_cacertdir = ... 220 tls_checkpeer = 0 221 #tls_ciphers = ... 222 #tls_cert = ... 223 #tls_key = ... 202 224 } 203 225
Note: See TracChangeset
for help on using the changeset viewer.
