NIS: how to fetch input files from another directory than /etc (please, i am desperated)

2007-09-01 Thread Gustavo Rios
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,

Re: NIS: how to fetch input files from another directory than /etc (please, i am desperated)

2007-09-01 Thread Mats O Jansson
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

Re: NIS: how to fetch input files from another directory than /etc (please, i am desperated)

2007-09-01 Thread John Nietzsche
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