Lines Matching refs:MAP
71 for MAP in $CUST_LIST
73 CUST_MAP_LIST="$CUST_MAP_LIST ${N2LPREFIX}$MAP"
100 MAP=${N2LPREFIX}passwd.byuid
101 MAP_LIST="$MAP_LIST $MAP"
104 MAP=${N2LPREFIX}group.byname
105 MAP_LIST="$MAP_LIST $MAP"
108 MAP=${N2LPREFIX}hosts.byaddr
109 MAP_LIST="$MAP_LIST $MAP"
112 MAP=${N2LPREFIX}ipnodes.byaddr
113 MAP_LIST="$MAP_LIST $MAP"
116 MAP=${N2LPREFIX}ethers.byname
117 MAP_LIST="$MAP_LIST $MAP"
120 MAP=${N2LPREFIX}networks.byaddr
121 MAP_LIST="$MAP_LIST $MAP"
124 MAP=${N2LPREFIX}rpc.bynumber
125 MAP_LIST="$MAP_LIST $MAP"
128 MAP=${N2LPREFIX}services.byname
129 MAP_LIST="$MAP_LIST $MAP"
132 MAP=${N2LPREFIX}protocols.bynumber
133 MAP_LIST="$MAP_LIST $MAP"
136 MAP=${N2LPREFIX}netgroup
137 MAP_LIST="$MAP_LIST $MAP"
140 MAP=${N2LPREFIX}bootparams
141 MAP_LIST="$MAP_LIST $MAP"
144 MAP=${N2LPREFIX}mail.aliases
145 MAP_LIST="$MAP_LIST $MAP"
148 MAP=${N2LPREFIX}publickey.byname
149 MAP_LIST="$MAP_LIST $MAP"
152 MAP=${N2LPREFIX}netid.byname
153 MAP_LIST="$MAP_LIST $MAP"
156 MAP=${N2LPREFIX}netmasks.byaddr
157 MAP_LIST="$MAP_LIST $MAP"
160 MAP=${N2LPREFIX}passwd.adjunct.byname
161 MAP_LIST="$MAP_LIST $MAP"
164 MAP=${N2LPREFIX}group.adjunct.byname
165 MAP_LIST="$MAP_LIST $MAP"
168 MAP=${N2LPREFIX}timezone.byname
169 MAP_LIST="$MAP_LIST $MAP"
172 MAP=${N2LPREFIX}${SRC}
173 MAP_LIST="$MAP_LIST $MAP"
176 MAP=${N2LPREFIX}auth_attr
177 MAP_LIST="$MAP_LIST $MAP"
180 MAP=${N2LPREFIX}exec_attr
181 MAP_LIST="$MAP_LIST $MAP"
184 MAP=${N2LPREFIX}prof_attr
185 MAP_LIST="$MAP_LIST $MAP"
188 MAP=${N2LPREFIX}user_attr
189 MAP_LIST="$MAP_LIST $MAP"
192 MAP=${N2LPREFIX}audit_user
193 MAP_LIST="$MAP_LIST $MAP"
204 MAP=`basename $dbmfile .dir`
205 if [ -f $MAPDIR/${MAP}.pag ]; then
207 CUST_MAP_LIST="$CUST_MAP_LIST $MAP"
238 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
241 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
243 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
246 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
249 sort -n -t: -k3,3 $TMPDIR/${MAP}.cut > $TMPDIR/${MAP}.sort
255 UID=`head -1 $TMPDIR/${MAP}.sort | cut -f1 -d:`
256 PSWD=`head -1 $TMPDIR/${MAP}.sort | cut -f2 -d:`
260 cut -f 1,2 -d: $TMPDIR/${MAP}.sort |
268 {$2 = "x"; print}' $TMPDIR/${MAP}.sort > $OUTDIR/$SRCFILE
270 cp $TMPDIR/${MAP}.sort $OUTDIR/$SRCFILE
280 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
283 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
285 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
288 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
291 sort -n -t: -k3,3 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
299 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
302 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
304 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
307 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
310 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
318 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
321 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
323 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
326 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
328 grep -v "::" $TMPDIR/${MAP}.cut >$TMPDIR/${MAP}.V4
329 grep "::" $TMPDIR/${MAP}.cut >$TMPDIR/${MAP}.V6
332 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.V4 > $OUTDIR/$SRCFILE
336 sort $TMPDIR/${MAP}.V6 >> $OUTDIR/$SRCFILE
344 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
347 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
349 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
352 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
355 sort -b -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
363 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
366 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
368 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
371 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
374 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
382 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
385 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
387 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
390 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
393 sort -n -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
401 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
404 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
406 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
409 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
412 sort -n -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
420 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
423 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
425 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
428 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
431 sort -n -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
439 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
442 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
444 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
446 cp $TMPDIR/${MAP}.grep $OUTDIR/$SRCFILE
454 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
457 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
459 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
462 sort $TMPDIR/${MAP}.grep > $OUTDIR/$SRCFILE
470 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
473 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
475 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
478 sed 's/ /: /' $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.sed
481 sort $TMPDIR/${MAP}.sed > $OUTDIR/$SRCFILE
489 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
492 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
494 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
497 sort $TMPDIR/${MAP}.grep > $OUTDIR/$SRCFILE
505 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
508 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
510 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
514 grep -v "@${DOMAIN}" $TMPDIR/${MAP}.grep > $OUTDIR/$SRCFILE
522 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
525 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
527 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
530 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.grep > $OUTDIR/$SRCFILE
538 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
541 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
543 grep -v YP_MASTER_NAME | grep -v YP_SECURE > $TMPDIR/${MAP}.grep
546 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
550 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
558 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
561 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
563 grep -v YP_MASTER_NAME | grep -v YP_SECURE > $TMPDIR/${MAP}.grep
566 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
569 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
577 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
580 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
582 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
585 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
588 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
594 SRCFILE=$MAP
596 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
599 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
601 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
604 sort $TMPDIR/${MAP}.grep > $OUTDIR/$SRCFILE
612 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
615 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
617 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
620 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
623 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
631 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
634 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
636 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
639 cut -f 3- -d ":" $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut1
640 cut -f 2- -d " " $TMPDIR/${MAP}.cut1 > $TMPDIR/${MAP}.cut2
643 sort $TMPDIR/${MAP}.cut2 > $OUTDIR/$SRCFILE
651 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
654 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
656 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
661 cut -f1 -d: $TMPDIR/${MAP}.grep |
668 }' > $TMPDIR/${MAP}.cut1
670 cut -f2- -d: $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut2
671 paste -d ":" $TMPDIR/${MAP}.cut1 $TMPDIR/${MAP}.cut2 > $TMPDIR/${MAP}.cut
674 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
682 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
685 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
687 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
690 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
693 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
701 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
704 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
706 grep -v YP_MASTER_NAME | grep -v YP_SECURE > $TMPDIR/${MAP}.grep
709 cut -f 2- -d " " $TMPDIR/${MAP}.grep > $TMPDIR/${MAP}.cut
712 sort $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
788 MAP=`basename $dbmfile .dir`
789 if [ -f $MAPDIR/${MAP}.pag ]; then
790 NIS_ONLY_MAP_LIST="$NIS_ONLY_MAP_LIST $MAP"
796 MAP=`basename $dbmfile .dir`
797 if [ -f $MAPDIR/${MAP}.pag ]; then
798 NIS2LDAP_MAP_LIST="$NIS2LDAP_MAP_LIST $MAP"
847 for MAP in $MAP_LIST
849 [ $DEBUG -eq 1 ] && echo Processing MAP = $MAP
851 if [ ! -f $MAPDIR/${MAP}.dir ] || [ ! -f $MAPDIR/${MAP}.pag ]; then
854 echo ERROR : Missing DBM file for $MAP in $MAPDIR . Skipping..
857 echo No DBM file for $MAP in $MAPDIR . Skipping..
861 case $MAP in
935 CUST_MAP_LIST="$CUST_MAP_LIST $MAP"
941 for MAP in $CUST_MAP_LIST
943 [ $DEBUG -eq 1 ] && echo Processing Custom MAP = $MAP
945 if [ ! -f $MAPDIR/${MAP}.dir ] || [ ! -f $MAPDIR/${MAP}.pag ]; then
946 echo ERROR : Missing DBM file for $MAP in $MAPDIR . Skipping..
950 makedbm -u $MAPDIR/$MAP > $TMPDIR/$MAP
958 grep -v YP_LAST_MODIFIED $TMPDIR/$MAP |
960 grep -v YP_MASTER_NAME > $TMPDIR/${MAP}.grep
964 cp $TMPDIR/${MAP}.grep $OUTDIR/$MAP