Date: Sat, 4 Nov 2006 00:45:47 GMT From: Anthony Chavez<acc@anthonychavez.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/105122: [PATCH] net-im/ejabberd: new UID/GID collides with Samba WKRID Message-ID: <200611040045.kA40jlc4045030@www.freebsd.org> Resent-Message-ID: <200611040050.kA40oUEl053645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105122 >Category: ports >Synopsis: [PATCH] net-im/ejabberd: new UID/GID collides with Samba WKRID >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 04 00:50:30 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Anthony Chavez >Release: 6.1-RELEASE i386 >Organization: >Environment: >Description: The GID chosen for ejabberd (544) in ports/96001 is the same as the Samba well-known RID for the local Administrator group, as described here: http://samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html#WKURIDS This collision prevents a successful build of the port if group mapping is enabled for this GID and the system has been configured to query nss_winbind or nss_ldap for group lookups. The attached patch should remedy this. >How-To-Repeat: >Fix: --- GIDs.orig Mon Aug 28 14:15:56 2006 +++ GIDs Fri Nov 3 16:47:43 2006 @@ -75,7 +75,7 @@ courier:*:465: _bbstored:*:505: dkimproxy:*:525: -ejabberd:*:544: +ejabberd:*:543: qtss:*:554: ircdru:*:555: messagebus:*:556: --- UIDs.orig Mon Oct 30 19:43:54 2006 +++ UIDs Fri Nov 3 17:29:29 2006 @@ -87,7 +87,7 @@ courier:*:465:465:Courier Mail Server:/nonexistent:/sbin/nologin _bbstored:*:505:505:BoxBackup Store Daemon:/nonexistent:/bin/sh dkimproxy:*:525:525:DKIM Proxy Owner:/nonexistent:/sbin/nologin -ejabberd:*:544:544:ejabberd pseudo user:/var/spool/ejabberd:/bin/sh +ejabberd:*:543:543:ejabberd pseudo user:/var/spool/ejabberd:/bin/sh qtss:*:554:554:Darwin Streaming Server:/nonexistent:/sbin/nologin ircdru:*:555:555:Russian hybrid IRC server:/nonexistent:/bin/sh messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin --- net-im/ejabberd/pkg-install.orig Tue Apr 25 11:48:47 2006 +++ net-im/ejabberd/pkg-install Fri Nov 3 16:50:31 2006 @@ -6,7 +6,7 @@ USER=ejabberd GROUP=${USER} -UID=544 +UID=543 GID=${UID} USERS_HOME="/var/spool/ejabberd" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611040045.kA40jlc4045030>