From nobody@FreeBSD.org  Sat Nov  4 00:46:31 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4EA2B16A40F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Nov 2006 00:46:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3B54243DD7
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Nov 2006 00:45:48 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kA40jlKr045031
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 4 Nov 2006 00:45:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kA40jlc4045030;
	Sat, 4 Nov 2006 00:45:47 GMT
	(envelope-from nobody)
Message-Id: <200611040045.kA40jlc4045030@www.freebsd.org>
Date: Sat, 4 Nov 2006 00:45:47 GMT
From: Anthony Chavez<acc@anthonychavez.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net-im/ejabberd: new UID/GID collides with Samba WKRID
X-Send-Pr-Version: www-3.0

>Number:         105122
>Category:       ports
>Synopsis:       [PATCH] net-im/ejabberd: new UID/GID collides with Samba WKRID
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 04 00:50:30 GMT 2006
>Closed-Date:    Mon Mar 16 08:40:45 UTC 2009
>Last-Modified:  Mon Mar 16 08:40:45 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Nov 4 00:51:01 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105122 
State-Changed-From-To: open->analyzed 
State-Changed-By: shaun 
State-Changed-When: Mon Dec 25 17:33:58 UTC 2006 
State-Changed-Why:  
Deciding what to do about this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105122 
State-Changed-From-To: analyzed->closed 
State-Changed-By: delphij 
State-Changed-When: Mon Mar 16 08:39:51 UTC 2009 
State-Changed-Why:  
ports/128463 has been committed and this problem has been fixed. 


Responsible-Changed-From-To: shaun->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Mon Mar 16 08:39:51 UTC 2009 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105122 
>Unformatted:
