- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS cached?
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
07-22-2005 09:39 AM
07-22-2005 09:39 AM
With the NIS.client down, I do an id check against a userid that is in NIS and not in the local passwd file, I get the proper response in stead of an error.
I also get the same response with NIS.client up but not bound to a server.
My question is, does NIS cache UID information on the local machine?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 07:34 AM
07-23-2005 07:34 AM
Re: NIS cached?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 07:35 AM
07-23-2005 07:35 AM
Re: NIS cached?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 07:58 PM
07-23-2005 07:58 PM
SolutionThe passwd & group information is cached using "pwgrd" daemon...
pwgrd provides accelerated lookup of password and group information for libc routines like getpwuid and getgrname. pwgrd implements per request type caches and hashtables as appropriate. When the corresponding routine in libc is called, a request is issued to pwgrd via a Unix domain socket connection. pwgrd determines whether it can satisfy the request, returning the appropriate results to the requesting proccess
You can see the status of the daemon by usig "pwgr_stat"
... displays the current status of the pwgrd daemon process running on the system. It includes whether or not the daemon is running, how much activity is occurring, as well as statistics for each kind of request serviced by pwgrd. Request specific statistics include the number of request and the percent of requests handled by the cache and the hashtables used to service that request. A request may not have both a cache and a hashtable. Requests where no answer was found are not counted in the hit rate.
The display is updated every 2 seconds. Use the q key to exit pwgr_stat. pwgr_stat verifies that pwgrd is accessible by issuing a NULL request to pwgrd, therefore the NULL request count will be increased as long as pwgr_stat is running.
Thanks & regards,
Babu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:20 AM
07-25-2005 03:20 AM
Re: NIS cached?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 08:53 AM
07-25-2005 08:53 AM
Re: NIS cached?
Due to circumstances beyond my control, instead of using subnetted Master/Slave broadcast servers, every node is hardcoded to a NIS server with a ypset command. Unfortunately, if one of these NIS servers goes down AND the machine is on a subnet where there is no resident slave server, the machine looses NIS binding and no login authentication can be done.
I am working on a better design with those up river from me, but in the mean time these up river folks are asking for a script to test the NIS authentication and to force a new ypset binding when the test fails.
So, what I really need is a way to determine when the NIS connection is broke.
Ideas?