X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman5%2Fslapd-ldap.5;h=03a99a178583de8799c59ad0a3457896d5356737;hb=912b24d1c7ecaa4393a41f0a1efe572c2be362fb;hp=2df474253c40be1c8427429473aa29035264f4e7;hpb=3f3d1e48b6546fadcc62c6f15a9b85512a01e5a0;p=openldap diff --git a/doc/man/man5/slapd-ldap.5 b/doc/man/man5/slapd-ldap.5 index 2df474253c..03a99a1785 100644 --- a/doc/man/man5/slapd-ldap.5 +++ b/doc/man/man5/slapd-ldap.5 @@ -64,21 +64,20 @@ lastmod off .fi .RE .LP -for every +for .B ldap and .B meta -database. -This is because operational attributes related to entry creation and -modification should not be proxied, as they could be mistakenly written +databases. +This was required because operational attributes related to entry creation +and modification should not be proxied, as they could be mistakenly written to the target server(s), generating an error. -The current implementation automatically sets lastmod to off, so its use -is redundant and should be omitted, because the lastmod directive will -be deprecated in the future. +The current implementation automatically sets lastmod to \fBoff\fP, +so its use is redundant and should be omitted. .TP .B uri -LDAP server to use. Multiple URIs can be set in in a single +LDAP server to use. Multiple URIs can be set in a single .B ldapurl argument, resulting in the underlying library automatically call the first server of the list that responds, e.g. @@ -86,10 +85,10 @@ call the first server of the list that responds, e.g. \fBuri "ldap://host/ ldap://backup-host/"\fP The URI list is space- or comma-separated. -.\"This statement is mandatory. -.\".TP -.\".B server -.\"Obsolete option; same as `uri ldap:///'. +Whenever the server that responds is not the first one in the list, +the list is rearranged and the responsive server is moved to the head, +so that it will be first contacted the next time a connection +needs be created. .HP .hy 0 .B acl-bind @@ -98,16 +97,25 @@ The URI list is space- or comma-separated. .B [authcId=] [authzId=] .RS Allows to define the parameters of the authentication method that is -internally used by the proxy to collect info related to access control. +internally used by the proxy to collect info related to access control, +and whenever an operation occurs with the identity of the rootdn +of the LDAP proxy database. The identity defined by this directive, according to the properties associated to the authentication method, is supposed to have read access on the target server to attributes used on the proxy for ACL checking. + There is no risk of giving away such values; they are only used to check permissions. The default is to use .BR simple bind, with empty \fIbinddn\fP and \fIcredentials\fP, which means that the related operations will be performed anonymously. +If not set, and if \fBidassert-bind\fP is defined, this latter identity +is used instead. See \fBidassert-bind\fP for details. + +The connection between the proxy database and the remote server +associated to this identity is cached regardless of the lifespan +of the client-proxy connection that first established it. .B This identity is by no means implicitly used by the proxy .B when the client connects anonymously. @@ -226,7 +234,8 @@ or parameters). Otherwise, the default .B proxyauthz -is used, i.e. the proxyAuthz control is added to all operations. +is used, i.e. the proxyAuthz control (Proxied Authorization, RFC 4370) +is added to all operations. The supported modes are: @@ -297,7 +306,7 @@ useful when the asserted identities do not exist on the remote server. Flags can be -\fBoverride,{prescriptive|non-prescriptive}\fP +\fBoverride,[non-]prescriptive\fP When the .B override @@ -321,6 +330,10 @@ whose assertion is not allowed by the .B idassert-authzFrom patterns. +The identity associated to this directive is also used for privileged +operations whenever \fBidassert-bind\fP is defined and \fBacl-bind\fP +is not. See \fBacl-bind\fP for details. + This directive obsoletes .BR idassert-authcDN , .BR idassert-passwd , @@ -334,6 +347,16 @@ and This directive causes a cached connection to be dropped an recreated after it has been idle for the specified time. +.TP +.B network-timeout