Go forward to Union maps.
Go backward to Hesiod maps.
Go up to Map Types.
Password maps
-------------
The password map support is unlike the four previous map types. When
the map name is the string `/etc/passwd' Amd can lookup a user name in
the password file and re-arrange the home directory field to produce a
usable map entry.
Amd assumes the home directory has the format
`/anydir/dom1/../domN/login'. It breaks this string into a map entry
where `${rfs}' has the value `/anydir/domN', `${rhost}' has the value
`domN.....dom1', and `${sublink}' has the value `login'.
Thus if the password file entry was
/home/achilles/jsp
the map entry used by Amd would be
rfs:=/home/achilles;rhost:=achilles;sublink:=jsp
Similarly, if the password file entry was
/home/cc/sugar/mjh
the map entry used by Amd would be
rfs:=/home/sugar;rhost:=sugar.cc;sublink:=jsp
|