From nobody Mon Oct 9 13:00:29 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3zfP6Rcqz4wTBB for ; Mon, 9 Oct 2023 13:00:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3zfP608Gz4bNN; Mon, 9 Oct 2023 13:00:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696856429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=12JQUrYvn2o02w8PWOYzVBZj1UTK3s5RtdQeuVgpAOY=; b=vYPQ7KXLAjDfxuP+x3mloofVY87PAjzYxUyO2PsJf42QUOeWriV9Q8sZFnpbsxnBd2zSUE 5JBeIV0PJ0qM0350gbVaP+s/W4+8Zd+0LSxgZNRJog70X/fEaLsiuEqA6Gk/RkKCah+Qli uny7s7ndeZft1BEcZO2MCJLc1/NENKaaXA1MG7kKgWET98SPIM6ln9zbxbMNeWgS2fOCSo ncKUKi5EdhTy4C+kJ9faFErCEAiIku7SVqEuKOYidT58xaGeFgzKjvD4cGWPdNFyaHXeXN imW0RnxSWsrOZccVT7eg5gx9qblpYd+xJ5xQOWNSG/6go79JEAxcfxboAkzRyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696856429; a=rsa-sha256; cv=none; b=ez3fM/Mb0KYBPt4Ji8Yn1fg9JRhRXlTKkaMSgVMJ03SMN/2jtNyD6c1s7hTh5lVuPKXZ2V UC99me7uNdf/I2pcF+kVcxRxlx7WN24vfbGWDwpemQomiHEf8XYrfZJbqHC1fxl22OBuEI Ipk0O2HRc45qJ10qFlGbiuyrdte2JpUlwOoKaRqr97XnkpoU1CZiZcNAeQgaJQhXkZhgpd 3IEzuYJsDChuIS3E/y81Z7R7Z6wPbjx9S6LxUtPArZyEfeDqdgV6dZHs+e+yeGca4Srtll 6a2c/o96pBXwYA7EsWJOp6/Cu06sAAzpfD0PwPpJA4Skg/J6uI5muIdlCRyLMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696856429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=12JQUrYvn2o02w8PWOYzVBZj1UTK3s5RtdQeuVgpAOY=; b=dlwYW8fR/v9QWHZHnB+CurIZq04p9mmskyP0bMXvk6KOu6zdz0XJDkW2vydeeKSLorrcyC UjR5xNVM1bl1fKr7X3pOOYhiaAhFYl4Nyo4URD5ckT8/rkqc12s09pYIy0K7DC9+WJmoxL CG0u+3uAmY8nz+2+0JVs4ZOZydAbaYOFu0QuE+ZlbD58f5DuURkUl0TztjE/8GVfDU4rCB PbTtBliZ8r5TL0T/kDYfyABcJIHASkmR80jeoxOImRPGfog2N2A+oCDyN48Jnp6ztxASuL 1xoUUjcqJwbQaH2aDFdOq70/uaHIvMkh8qC9XlCJRZ0p2hGTGzV6aIuRuxSiHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S3zfP53KPzx3N; Mon, 9 Oct 2023 13:00:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 399D0TLI049549; Mon, 9 Oct 2023 13:00:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 399D0TB2049546; Mon, 9 Oct 2023 13:00:29 GMT (envelope-from git) Date: Mon, 9 Oct 2023 13:00:29 GMT Message-Id: <202310091300.399D0TB2049546@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 65f5328ae3 - main - Articles - LDAP Auth: Upgrade from OpenLDAP 2.4 to OpenLDAP 2.6 List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 65f5328ae3ab9e9b098a9e346e021d654aecde9b Auto-Submitted: auto-generated The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=65f5328ae3ab9e9b098a9e346e021d654aecde9b commit 65f5328ae3ab9e9b098a9e346e021d654aecde9b Author: Matthew D. Fuller AuthorDate: 2023-10-09 12:59:56 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2023-10-09 12:59:56 +0000 Articles - LDAP Auth: Upgrade from OpenLDAP 2.4 to OpenLDAP 2.6 PR: 274220 --- documentation/content/en/articles/ldap-auth/_index.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/content/en/articles/ldap-auth/_index.adoc b/documentation/content/en/articles/ldap-auth/_index.adoc index 5ae1f8681a..10bba18534 100644 --- a/documentation/content/en/articles/ldap-auth/_index.adoc +++ b/documentation/content/en/articles/ldap-auth/_index.adoc @@ -70,8 +70,8 @@ Its most recent specifications are in http://www.ietf.org/rfc/rfc4510.txt[RFC451 Essentially it is a database that expects to be read from more often than it is written to. The LDAP server http://www.openldap.org/[OpenLDAP] will be used in the examples in this document; while the principles here should be generally applicable to many different servers, most of the concrete administration is OpenLDAP-specific. -There are several server versions in ports, for example package:net/openldap24-server[]. -Client servers will need the corresponding package:net/openldap24-client[] libraries. +There are several server versions in ports, for example package:net/openldap26-server[]. +Client servers will need the corresponding package:net/openldap26-client[] libraries. There are (basically) two areas of the LDAP service which need configuration. The first is setting up a server to receive connections properly, and the second is adding entries to the server's directory so that FreeBSD tools know how to interact with it. @@ -97,7 +97,7 @@ First, install OpenLDAP: [source,shell] .... -# cd /usr/ports/net/openldap24-server +# cd /usr/ports/net/openldap26-server # make install clean .... @@ -209,7 +209,7 @@ ldap slapd 3261 7 tcp4 *:389 *:* [[ldap-connect-client]] ==== Configuring the Client -Install the package:net/openldap24-client[] port for the OpenLDAP libraries. +Install the package:net/openldap26-client[] port for the OpenLDAP libraries. The client machines will always have OpenLDAP libraries since that is all package:security/pam_ldap[] and package:net/nss_ldap[] support, at least for the moment. The configuration file for the OpenLDAP libraries is [.filename]#/usr/local/etc/openldap/ldap.conf#. @@ -317,7 +317,7 @@ If it does, your database is properly configured to be used as an LDAP authentic [[client]] == Client Configuration -The client should already have OpenLDAP libraries from <>, but if you are installing several client machines you will need to install package:net/openldap24-client[] on each of them. +The client should already have OpenLDAP libraries from <>, but if you are installing several client machines you will need to install package:net/openldap26-client[] on each of them. FreeBSD requires two ports to be installed to authenticate against an LDAP server, package:security/pam_ldap[] and package:net/nss_ldap[].