Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2004 16:32:58 +0300
From:      Ilker OZUPAK <ilker.ozupak@emu.edu.tr>
To:        freebsd-questions@freebsd.org
Subject:   NIS maps
Message-ID:  <200407231633.21627.ilker.ozupak@emu.edu.tr>

next in thread | raw e-mail | index | archive | help
=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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407231633.21627.ilker.ozupak>