From owner-freebsd-questions@FreeBSD.ORG Mon May 21 20:35:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CD1016A400 for ; Mon, 21 May 2007 20:35:13 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 6862413C4C4 for ; Mon, 21 May 2007 20:35:12 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so37772ugh for ; Mon, 21 May 2007 13:35:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=ovAT/dISdLIUewvN8QHElC6dG/Ub7S6DaP8BH8J98uABlWheZvO/9LHU9lOVYXo5YbN0YtBwtwpe+1HXwXNeITsz26CVvcLXgn17D3bBfbLbQasNed0e7pdPKojRGVOGU4VME+RIuavfqtioJOizx0Ge8V9CI0unILd6PUiB36w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=IaUey+Vkm1Zm477I5B8iTgbMb0e/nxJI3Q4xsdgywo5A6nmT4r9t2EG3vY6VAZk3tmnoxBuZHHeHVZE/46TrYjCK64mFKI5PcYUzRqmLn7LYOGeJ0wtxCuJ5Y3wfiA9Zq496F1+DursEYDMmy9i8PiUN9ULC8GP8Szg+7LRQwbk= Received: by 10.66.232.10 with SMTP id e10mr25896ugh.1179779700701; Mon, 21 May 2007 13:35:00 -0700 (PDT) Received: from ?192.168.179.11? ( [81.206.93.205]) by mx.google.com with ESMTP id u6sm100679uge.2007.05.21.13.34.59; Mon, 21 May 2007 13:34:59 -0700 (PDT) Message-ID: <46520271.8080004@gmail.com> Date: Mon, 21 May 2007 22:34:57 +0200 From: WarrenHead User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: configuring nis 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: Mon, 21 May 2007 20:35:13 -0000 Hi, I have been having some trouble with getting NIS working on my freebsd server. Mainly because I have never before used this. I now have it working, but there is an odd inconsistency which I don't know how to remove/update. I changed the gid of a user with: 'pw usermod -n sam -g 1000', but this change is not reflected in the yp maps. I did recreate the maps again with 'ypinit -m', but I guess that was not the trick I needed to update the maps. So, now when I run 'ypcat passwd', I see something like this: sam:*:1000:1001:Sam Genter:/home/sam:/usr/local/bin/bash while I also see this: 'id sam' uid=1000(sam) gid=1000(sam) groups=1000(sam), 100(users) The difference is thus the gid. I can find information about updating/pushing the maps onto slave servers, but not about getting changes into the maps on the sole nis server I have. Cheers, Warren