⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slapd.conf.5

📁 开放源码的ldap系统
💻 5
📖 第 1 页 / 共 2 页
字号:
.B update_transport=<n>specifies the transport security strength factor to require fordirectory updates..B update_tls=<n>specifies the TLS security strength factor to require fordirectory updates..B update_sasl=<n>specifies the SASL security strength factor to require fordirectory updates.Note that the.B transportfactor is measure of security provided by the underlying transport,e.g. ldapi:// (and eventually IPSEC).  It is not normally used..TP.B schemacheck { on | off }Turn schema checking on or off. The default is on..TP.B sizelimit <integer>Specify the maximum number of entries to return from a search operation.The default size limit is 500..TP.B sockbuf_max_incoming <integer>Specify the maximum incoming LDAP PDU size for anonymous sessions.The default is 262143..TP.B sockbuf_max_incoming_auth <integer>Specify the maximum incoming LDAP PDU size for authenticated sessions.The default is 4194303..TP.B srvtab <filename>Specify the srvtab file in which the kerberos keys necessary forauthenticating clients using kerberos can be found. This option is onlymeaningful if you are using Kerberos authentication..TP.B threads <integer>Specify the maximum size of the primary thread pool.The default is 32..TP.B timelimit <integer>Specify the maximum number of seconds (in real time).B slapdwill spend answering a search request.  The default time limit is 3600..SH TLS OPTIONSIf.B slapdis build with support for Transport Layer Security, there are more optionsyou can specify..TP.B TLSCipherSuite <cipher-suite-spec>Permits configuring what ciphers will be accepted and the preference order.<cipher-suite-spec> should be a cipher specification for OpenSSL.  Example:TLSCipherSuite HIGH:MEDIUM:+SSLv2To check what ciphers a given spec selects, use:openssl ciphers -v <cipher-suite-spec>.TP.B TLSCertificateFile <filename>Specifies the file that contains the.B slapdserver certificate..TP.B TLSCertificateKeyFile <filename>Specifies the file that contains the.B slapdserver private key that matches the certificate stored in the.B TLSCertificateFilefile.  Currently, the private key must not be protected with a password, soit is of critical importance that it is protected carefully. .TP.B TLSRandFile <filename>Specifies the file to obtain random bits from when /dev/[u]randomis not available.  Generally set to the name of the EGD/PRNGD socket.The environment variable RANDFILE can also be used to specify the filename..SH GENERAL BACKEND OPTIONSOptions in this section only apply to the configuration file sectionfor the specified backend.  They are supported by everytype of backend..TP.B backend <databasetype>Mark the beginning of a backend definition. <databasetype>should be one of.B ldbm,.B shell,or.B passwddepending on which backend will serve the database..SH GENERAL DATABASE OPTIONSOptions in this section only apply to the configuration file sectionfor the database in which they are defined.  They are supported by everytype of backend..TP.B database <databasetype>Mark the beginning of a new database instance definition. <databasetype>should be one of.B ldbm,.B shell,or.B passwddepending on which backend will serve the database..TP.B lastmod on | offControls whether.B slapdwill automatically maintain the modifiersName, modifyTimestamp, creatorsName, and createTimestamp attributes for entries.  By default, lastmod is on..TP.B readonly on | offThis option puts the database into "read-only" mode.  Any attempts to modify the database will return an "unwilling to perform" error.  Bydefault, readonly is off..HP.B replica host=<hostname>[:port] [tls=yes|critical].B [suffix=<suffix> [...]].B bindmethod=simple|sasl [binddn=<simple DN>] [credentials=<simple password>].B [saslmech=<SASL mech>] [secopts=<options>] [realm=<realm>].B [authcId=<authentication ID>] [authcId=<authentication ID>].RSSpecify a replication site for this database.  Refer to the "OpenLDAP Administrator's Guide" for detailed information on setting up a replicated.B slapddirectory service. Zero or more.B suffixinstances can be used to select the subtrees that will be replicated(defaults to all the database). A.B bindmethodof.B simplerequires the options.B binddn and.B credentials  and should only be used when adequate security services (e.g TLS or IPSEC) are in place. A.B bindmethod of.B sasl requires the option.B saslmech. If the .B mechanismwill use Kerberos, a kerberos instance should be given in .B authcId..RE.TP.B replogfile <filename>Specify the name of the replication log file to log changes to.  The replication log is typically written by.BR slapd (8)and read by.BR slurpd (8).See.BR slapd.replog (5)for more information.  The specified file should be locatedin a directory with limited read/write/execute access as the replicationlogs may contain sensitive information..TP.B rootdn <dn>Specify the distinguished name that is not subject to access control or administrative limit restrictions for operations on this database.This DN may or may not be associated with an entry.  An empty rootDN (the default) specifies no root access is to be granted.  It isrecommended that the rootdn only be specified when needed (such aswhen initially populating a database).  If the rootdn is withina namingContext (suffix) of the database, a simple bind passwordmay also be provided using the.B rootpwdirective..TP.B rootpw <password>Specify a password (or hash of the password) for the rootdn.  Ifthe rootdn is not within the namingContext of the database, theprovided password is ignored.This option accepts all RFC 2307 userPassword formats known tothe server (see .B password-hashdesription) as well as cleartext..BR slappasswd (8) may be used to generate a hash of a password.  Cleartextand \fB{CRYPT}\fP passwords are not recommended.  If empty(the default), authentication of the root DN is by other means(e.g. SASL).  Use of SASL is encouraged..TP.B suffix <dn suffix>Specify the DN suffix of queries that will be passed to this backend database.  Multiple suffix lines can be given and at least one is required for each database definition..TP.B updatedn <dn>This option is only applicable in a slave.B slapd.It specifies the DN allowed to make changes to the replica (typically,this is the DN.BR slurpd (8)binds as when making changes to the replica)..TP.B updateref <url>Specify the referral to pass back when.BR slapd (8)is asked to modify a replicated local database.If specified multiple times, each url is provided..\" .SH LDBM BACKEND-SPECIFIC OPTIONS.\" Options in this category only apply to the LDBM backend. That is,.\" they must follow "backend ldbm" line and come before any subsequent.\" "backend" or "database" lines.  The LDBM backend is a high-performance.\" database that makes extensive use of indexing and caching to speed.\" data access. .SH LDBM DATABASE-SPECIFIC OPTIONSOptions in this category only apply to the LDBM databases.That is, they must follow "database ldbm" line and come beforeany subsequent "backend" or "database" lines..TP.B cachesize <integer>Specify the size in entries of the in-memory cache maintained by the LDBM backend database instance.  The default is 1000 entries..TP.B dbcachesize <integer>Specify the size in bytes of the in-memory cache associated with each open index file. If not supported by the underlying database method, this option is ignored without comment.  The default is 100000 bytes..TP.B dbnolockingSpecify that no database locking should be performed.  Enabling this option may improve performance at the expense of data security.Do NOT run any slap tools while slapd is running..TP.B dbnosyncSpecify that on-disk database contents should not be immediatelysynchronized with in memory changes.  Enabling this option may improveperformance at the expense of data security..TP.B dbsync <frequency> <maxdelays> <delayinterval>Flush dirty database buffers to disk every.B <seconds>seconds.  Implies.B dbnosync(ie. indvidual updates are no longer written to disk).  It attempts to avoidsyncs during periods of peak activity by waiting.B <delayinterval>seconds if the server is busy, repeating this delay up to.B <maxdelays>times before proceeding.  It is an attempt to provide higher write performance with some amount of datasecurity.  Note that it may still be possible to get an inconsistent database if the underlying engine fills its cache and writes out individualpages and slapd crashes or is killed before the next sync..B <maxdelays>and.B <delayinterval>are optional and default to.B 12and.B 5respectively, giving a total elapsed delay of 60 seconds before a syncwill occur..B <maxdelays>may be zero, and.B <delayinterval>must be 1 or greater..TP.B directory <directory>Specify the directory where the LDBM files containing this database andassociated indexes live.  A separate directory must be specified foreach database.  The default is.BR LOCALSTATEDIR/openldap-ldbm ..TP.Bindex {<attrlist>|default} [pres,eq,approx,sub,<special>]Specify the indexes to maintain for the given attribute. If only an <attr> is given, the indices specified for \fBdefault\fRare maintained.  A number of special index parameters may bespecified.The index type.B subcan be decomposed into.BR subinitial ,.BR subany ,\ and.B subfinalindices.The special type.B langmay be specified to allow use of this index by language subtypes.The special type.B autolangmay be specified to automatically maintain separate indices for eachlanguage subtypes.The special type.B subtypesmay be specified to allow use of this index by named subtypes.The special type.B autosubtypesmay be specified to automatically maintain separate indices for eachother subtypes..TP.B mode <integer>Specify the file protection mode that newly created database index files should have.  The default is 0600..SH SHELL DATABASE-SPECIFIC OPTIONSOptions in this category only apply to the SHELL backend database. That is,they must follow a "database shell" line and come before any subsequent"backend" or "database" lines.  The Shell backend executes external programs toimplement operations, and is designed to make it easy to tie an existingdatabase to the.B slapdfront-end..TP.B bind <pathname>.TP.B unbind <pathname>.TP.B search <pathname>.TP.B compare <pathname>.TP.B modify <pathname>.TP.B modrdn <pathname>.TP.B add <pathname>.TP.B delete <pathname>.TP.B abandon <pathname>These options specify the pathname of the command to execute in response to the given LDAP operation..LPNote that you need only supply configuration lines for those commands youwant the backend to handle. Operations for which a command is notsupplied will be refused with an "unwilling to perform" error..SH PASSWORD DATABASE-SPECIFIC OPTIONSOptions in this category only apply to the PASSWD backend database.That is, they must follow a "database passwd" line and come before anysubsequent "backend" or "database" lines.  The PASSWD database serves up the useraccount information listed in the system.BR passwd (5)file..TP.B file <filename>Specifies an alternate passwd file to use.  The default is.B /etc/passwd..SH EXAMPLE"OpenLDAP Administrator's Guide" contains an annotatedexample of a configuration file..SH FILESETCDIR/slapd.conf.SH SEE ALSO.BR ldap (3),.BR slapd.replog (5),.BR locale (5),.BR passwd (5),.BR slapd (8),.BR slapadd (8),.BR slapcat (8),.BR slapindex (8),.BR slappassword (8),.BR slurpd (8),.LP"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/).SH ACKNOWLEDGEMENTS.B	OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B	OpenLDAPis derived from University of Michigan LDAP 3.3 Release.  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -