From owner-freebsd-questions Tue Nov 6 14:13:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sdsl-216-36-101-146.dsl.chi.megapath.net (sdsl-216-36-101-146.dsl.chi.megapath.net [216.36.101.146]) by hub.freebsd.org (Postfix) with SMTP id AE1DA37B405 for ; Tue, 6 Nov 2001 14:13:44 -0800 (PST) Received: (qmail 71997 invoked from network); 6 Nov 2001 22:14:01 -0000 Received: from apu.five.sight (HELO apu.five.sight.fivesight.com) (lucas@192.168.0.102) by wiggum.five.sight with SMTP; 6 Nov 2001 22:14:01 -0000 From: Lucas Bergman MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15336.24744.487888.574245@apu.five.sight> Date: Tue, 6 Nov 2001 16:14:00 -0600 To: ann kok Cc: freebsd-questions@FreeBSD.ORG Subject: Re: service file In-Reply-To: <20011106213145.74148.qmail@web20104.mail.yahoo.com> References: <20011106213145.74148.qmail@web20104.mail.yahoo.com> X-Mailer: VM 6.96 under 21.4 (patch 5) "Civil Service" XEmacs Lucid Reply-To: lucas@fivesight.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I am wandering what is the function of the file 'service' You mean /etc/services. The answer to the question, "What is the function of the file /etc/services?" is: Translating service names to and from port/protocol pairs. > I can run the openldap '389' and don't need to add the port in the > service file. Why? Why not? If you tell OpenLDAP to run on port 389, then it has no need to translate a service name to or from a port number/protocol. Therefore, it has no need to look at /etc/services. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message