autofs-5.0.3 - map type in map name fix From: Ian Kent Fix incorrect match of map type as a host name. Actually the original patch didn't match upstream or RHEL so this syncs the source with those. It appears the problem was fixed here some time ago but slightly differently. --- lib/master_tok.l | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- autofs-5.0.3.orig/lib/master_tok.l +++ autofs-5.0.3/lib/master_tok.l @@ -202,7 +202,9 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|-- } } - {MTYPE}/({DNSERVERSTR}|{DNATTRSTR}=)? { + {MTYPE} | + {MTYPE}/{DNSERVERSTR}{DNATTRSTR} | + {MTYPE}/{DNATTRSTR}= { tlen = master_leng - 1; if (bptr != buff && isblank(master_text[tlen])) { strncat(buff, master_text, tlen);