From owner-freebsd-questions@FreeBSD.ORG Fri Sep 7 22:26:13 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 161BD16A420 for ; Fri, 7 Sep 2007 22:26:13 +0000 (UTC) (envelope-from averay@adam.com.au) Received: from levanto.mail.adnap.net.au (levanto.mail.adnap.net.au [203.6.132.83]) by mx1.freebsd.org (Postfix) with ESMTP id BFAA713C467 for ; Fri, 7 Sep 2007 22:26:12 +0000 (UTC) (envelope-from averay@adam.com.au) Received: from 219-90-182-19.ip.adam.com.au ([219.90.182.19] helo=[192.168.250.3]) by levanto.mail.adnap.net.au with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1ITmHD-000Pav-Ka for freebsd-questions@freebsd.org; Sat, 08 Sep 2007 07:56:11 +0930 Message-ID: <46E1CFF9.7030403@adam.com.au> Date: Sat, 08 Sep 2007 07:56:01 +0930 From: Bronte Averay User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <46E12283.1050701@adam.com.au> <6.0.0.22.2.20070907090711.026eb2f0@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20070907090711.026eb2f0@mail.computinginnovations.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: UserID/Samba issue for wheel group members - newbie poster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2007 22:26:13 -0000 Derek Ragona wrote: > At 05:05 AM 9/7/2007, Bronte Averay wrote: >> Hello all, >> >> Firstly, apologies if this email appears more than once, just getting >> used to the protocols. >> >> I have an interesting but frustrating issue that I've not been able to >> diagnose and/or resolve. >> >> Scenario: >> >> FreeBSD 6.1 Release fileserver (generic kernel) running samba-2.2.12_2. >> >> Desktops are Windows XP SP2, all up to date patch-wise, mapping >> various Samba shares. >> >> Problem: >> >> When I run smbstatus, all users that are members of the wheel group >> show a UID of root and a GID of . >> >> Users who are not members of the wheel group show a UID of >> and a GID of . Equally, removing a user from the wheel >> group reverts them to / UID/GID at next logon. >> >> I have two sites running identical hardware/software configurations at >> both server and desktop level. But on the second site, members of the >> wheel group have a UID of and a GID of , which is >> precisely as it should be, based on passed experiences. >> >> I'll take this opportunity to mention that I also have a 4.11 server, >> again with some wheel group members, and in this case too, UID and GID >> for these wheel group members are and . >> >> I've kept this as simple as I could, but would happily provide more >> info if I've omitted anything critical or relevant. >> >> The issue is not causing any specific operational issues, but is >> annoying when I want to use smbstatus -u as I obviously get >> no result for wheel group members unless I specify a username of root, >> then I get more than I care to. >> >> If there's an obvious issue, and you wish to spare me embarrassment, >> feel free to contact me directly, with the obvious adjustments. If >> etiquette is that a response to the list is appropriate, I can live >> with the shame :) . >> >> I've extensively searched but can't find a match to my specific >> circumstances. >> >> Many thanks in advance of any suggestions. >> >> Regards, >> >> Bronte. > > You don't say how you are managing the users. Is the samba server > acting as a domain controller? Are you creating the accounts > automatically or manually? > > -Derek > Thanks Derek. Server is acting as a domain controller, yes. Most accounts were created manually (i.e. at server console) on an earlier version of FreeBSD (4.10-STABLE) (including smbpasswd accounts). The pwd.db, master.passwd and /etc/group files were *copied* from 4.10 server to new 6.1 server. I had to recreate the smbpasswd accounts manually on the new server. New users added to wheel group since the 6.1 install exhibit same root/ GID/PID problem. I should point out that precisely the same process was followed on the second site I mentioned earlier, but no problems of this type are evident.