Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCB60107B3 for ; Mon, 4 Nov 2013 18:36:10 +0000 (UTC) Received: (qmail 7138 invoked by uid 500); 4 Nov 2013 18:36:10 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 7102 invoked by uid 500); 4 Nov 2013 18:36:10 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 7094 invoked by uid 99); 4 Nov 2013 18:36:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 18:36:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 18:36:05 +0000 Received: by mail-we0-f178.google.com with SMTP id q59so2430785wes.37 for ; Mon, 04 Nov 2013 10:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=YjtvZ2W0gkIEV9OB/lEdBobDqngWxHQSjl3m6m7UThk=; b=oXQdz5f6eJDlgoD3D5QLpcqwMBCFNVtQR5yBtw6erCeIWDl7HhMzmCTLH95scD7wCa iFO4pybGKZ5HE/7mgCmqlsIXXO0VjbWcMdrIrBdDCadTs1B43TPuM4PVkt4bwCdFvzEX uxReDhOFMQlzbmya+Kin4UMMhje9OZVO7b11k8BHcbkhFEF63MEgDXVFROQLC53V7Iuf x6a/zOA6ouc/clm7JkFK09Far33uCxguTeU+upIpqqTQkQmw+WtFu6/qcJlTWNPf2ZmZ B0gHH2FLguZQsWVllvdqJMLqzww2ar/h3FxLd8b8Zt0nFLc/5F0HoEFgRr8lE7z+/pzf Bj+w== X-Received: by 10.194.20.202 with SMTP id p10mr3528259wje.39.1383590143612; Mon, 04 Nov 2013 10:35:43 -0800 (PST) Received: from new-host-3.home (AMontsouris-651-1-34-207.w82-123.abo.wanadoo.fr. [82.123.109.207]) by mx.google.com with ESMTPSA id td6sm6373926wic.10.2013.11.04.10.35.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Nov 2013 10:35:42 -0800 (PST) Message-ID: <5277E8FD.4030805@gmail.com> Date: Mon, 04 Nov 2013 19:35:41 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: installation issue with presumed user naming format References: <169C7BAC03C46747A97D6E544E0B71F2999EB6B487@MSPMSGCCR000.corp.fairisaac.com> In-Reply-To: <169C7BAC03C46747A97D6E544E0B71F2999EB6B487@MSPMSGCCR000.corp.fairisaac.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 11/4/13 7:26 PM, Heu, Tou-Soua a écrit : > I had this installation issue since I first worked with Apache DS 2.0 in M10 and it is still present in the latest M15: the installation script makes the incorrect assumption that the user used to run the server always has its group name equal to its user name. > > In another word, the user name apacheds will have a presumed group name of apacheds. In our organization, this is not always true: the primary group name may be spelled differently from the user name due to various reasons, including historical as well as mergers and acquisitions. For example, wsadmin:wsadming > > This causes the apacheds installation to blow up in the "sh/install.sh" script where it tries to use "$RUN_AS_USER:$RUN_AS_USER" which is invalid since the group name is not equal to $RUN_AS_USER. > > So far we have resolved to edit the installation script when this situation happens, but it would be best to have the installation script enhanced to handle this condition (e.g. something like a RUN_AS_GROUP). > > Thanks. Can you crate a JIRA ? That would help us traking the pb and be sure not to forget to fix this. Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com