Dear gentleman,
i am trying to get nis to build their maps from files located in
another directory than /etc.
So, my Makefile (inside /var/yp/`domainname`) has the following lines :
YPDBDIR=/var/yp
DIR=/asd/etc
AMDDIR=/asd/etc/amd
NOPUSH=
UNSECURE=
USEDNS=-b
So my ideia is to grab as input,
Do you have any understanding of YP?
You tell us that it builds ok. Is that all debugging you have done?
Have you verified that you get the correct entry for sioux from
master.passwd? ypmatch from root can be used to test that...
ypcat and ypwhich is other tools you can use to debug...
makedbm
Let's go for a detailed report:
My files are:
lion# cat /asd/etc/master.passwd
sioux:$2a$08$B8PLPgdw18I.TlnZC8RnZezg1Ed8gQL8WU/4rpxdyGdOk/PO/9Ude:1000:1000:mojave:0:0::/home/sioux:/bin/sh
mysql:*:1001:1002:mojave:0:0::/home/mysql:/usr/bin/false
3 matches
Mail list logo