15.7.52 -d38.19
Trace switched map finds Debug command-line switch
A switched map is one that, either as the result of a service-switch file or because of sendmail??™s
internal logic, causes lookups to follow a select path. For example, Sun??™s Solaris 2
nsswitch.conf might specify that aliases be looked up in the order files, then nis:
switch_map_open(name, file, mode) ?†? from -d38.2
switch_map_find => nummaps
dbtype
...
First the number of database maps found is printed with nummaps, and then the database
type for each map found in the list is printed, such as files, or nis.
15.7.53 -d38.20
Trace database map lookups Debug command-line switch
The -d38.20 debugging switchtraces many different map lookups. The getcanonname( )
routine looks up a hostname and tries to canonify it:
getcanonname(host), trying dbtype
getcanonname(host), found
getcanonname(host), failed, stat=error
Here, host is the hostname that is being looked up, and dbtype is one of files, nis, nisplus,
dns, or netinfo. If the canonical name is not found, the error shows one of the errors listed
in
. The process of canonifying the name is handled by calling special
subroutines based on the dbtype:
text_getcanonname(host) ?†? dbtype is files
nis_getcanonname(host) ?†? dbtype is nis
nisplus_getcanonname(host), qbuf=query ?†? dbtype is nisplus
dns_getcanonname(host, flag) ?†?dbtype is dns, printed with -d8.
Pages:
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009