Displaying 1 result from an estimated 1 matches for "nsswitch_check_host".
2005 Jul 07
0
openssh and nsswitch integration in FreeBSD
...r *, const Key
*, Key *, int *);
int lookup_key_in_hostfile_by_type(const char *, const char *, int,
Key *, int *);
As far as I know, all other routines, that deal with these files are
seem to be built on top of these 2 functions. So I'd like to implement
another 2 functions:
HostStatus nsswitch_check_host(const char *, const Key *, Key *);
int nsswitch_lookup_key_by_type(const char *, int, Key *);
They will be used instead of previous 2 in all places, where system-wide
known-hosts file was accessed. But it will dispatch the calls to the
nsswitch subsystem. Nsswitch 'files' module will...