- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11i v1 - NIS+ printers.org_dir?
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
Discussions
Discussions
Forums
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
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
тАО11-03-2009 12:00 PM
тАО11-03-2009 12:00 PM
HP-UX 11i v1 - NIS+ printers.org_dir?
I can't find any documentation so far that indicates whether HP-UX accepts the "printers" entry in the nsswitch.conf file like our Sun systems do, or if it queries printers.org_dir - a "tusc" of the lpstat command shows it inquiring with nsswitch.conf, so it seems like it may, but if anyone can point me to something definitive about setting up printers in an NIS+ database, I'd appreciate it.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2009 03:57 PM
тАО11-03-2009 03:57 PM
Re: HP-UX 11i v1 - NIS+ printers.org_dir?
There is a script that will add these printers to each system in the lab, through lpadmin(1m).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 05:59 AM
тАО11-04-2009 05:59 AM
Re: HP-UX 11i v1 - NIS+ printers.org_dir?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 11:32 AM
тАО11-04-2009 11:32 AM
Re: HP-UX 11i v1 - NIS+ printers.org_dir?
I got my first clue when I traced an lpstat command through Ethereal to our HP NIS+ server, and saw it asking for a column named "key" rather than "printer_name" as found in the FAQ.
Then I sifted through OpenSolaris source code for the lpset command, which is capable of creating the NIS+ printers.org_dir table if it doesn't exist, and found that the only two columns in the printers.org_dir table are called "key" and "datum."
The "key" appears to be the name of the printer, and the "datum" column is the full colon-delimited line from printers.conf.
Still not quite clear yet whether HP-UX can use printers.org_dir, but at least I'm making some headway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 01:16 PM
тАО11-04-2009 01:16 PM
Re: HP-UX 11i v1 - NIS+ printers.org_dir?
Well...it might apply correctly to Solaris, but I wouldn't know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2009 01:52 PM
тАО11-04-2009 01:52 PM
Re: HP-UX 11i v1 - NIS+ printers.org_dir?
I'll be curious to find out why HP-UX lpstat is checking the nsswitch.conf file, according to tusc, when that's not documented in nsswitch.conf(4).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 02:27 AM
тАО11-05-2009 02:27 AM
Re: HP-UX 11i v1 - NIS+ printers.org_dir?
Exactly. It just does "ypcat -k printers" and there is a printer name (key) and data.