- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nsswitch.conf ... changed policy at 11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 03:36 AM
10-16-2002 03:36 AM
nsswitch.conf ... changed policy at 11i
Whereas my 11i(11.11) has the policy
SUCCESS=return NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue
neither system has a nsswitch.conf file. Interestingly the 11.0 manual page states it should be RCCC but it blatantly isn't ... Who is right ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 03:39 AM
10-16-2002 03:39 AM
Re: nsswitch.conf ... changed policy at 11i
If it continues to be confusing, then explicitly state your desired results by creating the nsswitch.conf file. Basically, don't leave things to chance!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 03:42 AM
10-16-2002 03:42 AM
Re: nsswitch.conf ... changed policy at 11i
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 04:33 AM
10-16-2002 04:33 AM
Re: nsswitch.conf ... changed policy at 11i
As you mentionned, switch policy has changed but it should be the same for 11.00 and 11i and different for 10.20
On 10.20 it is RRCR (man 4 switch), after it is RCCC (man nsswitch.conf). A problem that I have seen is that if a system doesn't have any nsswitch.conf file, then the default policy is 'harcoded' in some functions. So, on the same system without a nsswitch.conf file, if a binary has been compiled with libc.1 (from 10.20) it will use RRCR, if it has been compiled with libc.2 (from 11.x) it will use RCCC. You can check it using chatr on the binary.
Don't think it's a minor detail because if you use chatr on /usr/sbin/swlist on a 11i for example, you will see libc.1 ...
So as Harry said "don't leave things to chance!" and use your own nsswitch.conf ...
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 04:35 AM
10-16-2002 04:35 AM
Re: nsswitch.conf ... changed policy at 11i
# nslookup
> policy
#Lookups = 3
dns[RRCR] nis[RRCR] files[RRRR]
... does anyone no - FOR DEFINITE - that this changed in 11i, it's just I work for/with HP customers and they are asking "where's the documentation for this change???" ... mucho-ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 04:39 AM
10-16-2002 04:39 AM
Re: nsswitch.conf ... changed policy at 11i
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 04:47 AM
10-16-2002 04:47 AM
Re: nsswitch.conf ... changed policy at 11i
Here's the info from 2 of my systems (one 11.0, one 11.11):
# uname -r
B.11.00
# nslookup
Using /etc/hosts on: yukon
> policy
#Lookups = 3
files [RCCC] dns [RCCR] nis [RRRR]
> exit
$ uname -r
B.11.11
$ nslookup
Using /etc/hosts on: tsws1
> policy
#Lookups = 3
files [RCCC] dns [RCCR] nis [RRRR]
> exit
$
They look the same to me.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2002 04:49 AM
10-16-2002 04:49 AM
Re: nsswitch.conf ... changed policy at 11i
Pete
Pete