ONTAP Discussions

ns-switch vs source order

netappmagic

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
vserver ns-switch
--------- ---------
vserver1 -


clus::vserver services name-service*> vserver services name-service ns-switch show -vserver vserver1
                              Source
Vserver Database Order
--------------- ------------ ---------
vserver1 hosts files,
                         dns
vserver1 group files, 
                         ldap
vserver1 passwd files,
                            ldap
vserver1 netgroup files
vserver1 namemap files
5 entries were displayed.

3 REPLIES 3

netappmagic

Can somebody please pick up this question? Thanks!

naveens17

it should be listed as file or ldap

 

 

 

vserver services name-service*> vserver show -vserver vserver1 -fields ns-switch
vserver ns-switch
------- ---------
vserver1 file

 

 

netappmagic

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)? 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public