From owner-freebsd-questions@FreeBSD.ORG Fri Jul 23 13:34:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9E0516A4CE for ; Fri, 23 Jul 2004 13:34:03 +0000 (GMT) Received: from mail.emu.edu.tr (mail.emu.edu.tr [193.140.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0A3C43D1F for ; Fri, 23 Jul 2004 13:34:02 +0000 (GMT) (envelope-from ilker.ozupak@mail.emu.edu.tr) Received: from eniac.emu.edu.tr ([213.208.49.139]) by mail.emu.edu.tr with Microsoft SMTPSVC(5.0.2195.5329); Fri, 23 Jul 2004 16:33:59 +0300 From: Ilker OZUPAK To: freebsd-questions@freebsd.org Date: Fri, 23 Jul 2004 16:32:58 +0300 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <200407231633.21627.ilker.ozupak@emu.edu.tr> X-OriginalArrivalTime: 23 Jul 2004 13:33:59.0630 (UTC) FILETIME=[B5E71EE0:01C470B9] Subject: NIS maps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ilker.ozupak@emu.edu.tr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 13:34:03 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, i am trying to create a NIS domain contatining a master and 5 clients. I did init. part acording to handbook and had no problem. (just server) my master server is binding to itself (running: ypbind -S domain,server) but when adding users -- still fallowing the HB -- i end up with local users on the master server, but this users are not getting into NIS maps.=20 =46allowing HB section 23.4.8: pascal# pwd /var/yp pascal# pw user add tester pascal# make abacus `abacus' is up to date. =20 Using adduser gives the same result. After some trial and err. i found the following way working. pascal# cd /var/yp pascal# pw user add newuser -V /var/yp/ -n newuser2 \ =2D -u 2000 -c "new user" -d /home/newuser -g 1001 \ =2D -m -s /bin/tcsh -N >> master.passwd pascal# make=20 =2D -- makes update and everything seems working fine. It needed a symlink to be created in /var/yp to /etc/group or a copy of group file. so here are the questions: 1 - is there any configration undocumented for this that i should do. for the HB's instructions to work.. 2 - woul the way i crete accounts create problems for me ?? *** i think i should manually delete them from /var/yp/master.passwd and=20 update NIS maps =2D -- IO =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBAROZvxSBSqT0G9ARAjoUAKCCTy4NtlsGazUny4ILbRQediP/VgCg9r1W qxPOwaqhHz2aQOE0y2BC478=3D =3DLPuJ =2D----END PGP SIGNATURE-----