mapping(string:string) all(string map)
Returns the whole map as a mapping.
map is the YP-map to search in. This must be the full map name, you have to use passwd.byname instead of just passwd.