ns-switch vs source order
2018-07-02 09:26 AM
I have two commands as listed below.
I thought nsswitch should define the sequene to find a object. But, why ns-switch here is empty?
Then The source order here seems like similar to what nsswitch is supposed to do. Source Order and ns-switch, what are differences?
clus::vserver services name-service*> vserver show -vserver vserver1 -fields ns-switch
clus::vserver services name-service*> vserver services name-service ns-switch show -vserver vserver1
Vserver Database Order
--------------- ------------ ---------
vserver1 hosts files,
vserver1 group files,
vserver1 passwd files,
vserver1 netgroup files
vserver1 namemap files
5 entries were displayed.
3 REPLIES 3
Re: ns-switch vs source order
2018-07-12 03:01 PM
I know what should be listed.
However, why nothing has been listed there? and what problem would that cause( I hve not see issues so far)? What is the different between ns-switch and "srouce order" ( to me they are the same)?