Skip Menu |

This queue is for tickets about the Net-NIS CPAN distribution.

Report information
The Basics
Id: 130244
Status: open
Priority: 0/
Queue: Net-NIS

People
Owner: Nobody in particular
Requestors: chris.seip [...] hpe.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: yp_bind only works with the default domain
Date: Thu, 1 Aug 2019 22:24:55 +0000
To: "bug-Net-NIS [...] rt.cpan.org" <bug-Net-NIS [...] rt.cpan.org>
From: "Seip, Christopher" <chris.seip [...] hpe.com>
I can't see how to get Net::NIS::yp_bind(domainname) to work with a domain other than the one bound to in the local host's OS. If I reference this "non-native"/non-default NIS domain in a yp_bind() call or tieing to a Net::NIS object, I get the message "YPBINDPROC_DOMAIN: Domain not bound". To configure for the possibility of this working, I have the local host's NIS servers mentioned in /etc/yp.conf as well as the "non-native" NIS servers, e.g.: domain mydomain server mymaster.mydnsdomain domain mydomain server myslave.mydnsdomain domain otherdomain server othermaster.mydnsdomain domain otherdomain server otherslave.mydnsdomain Is a Net::NIS client capable of binding to a separate domain from its host OS? Or does it just talk with the local ypbind process? There's some "bind this process" language in the Net::NIS perldoc page that suggests it might be capable of binding to a separate domain, as far-fetched as that seems. So I've pursued this possibility a bit. Is this a bug, a mis-configuration, or just something that Net::NIS will never be able to do? Thanks in advance for any feedback (if anyone steps in to maintain it or comment). Perl: 5.26.1 Module: Net::NIS version 0.44 Distro: Ubuntu 18.04.2 LTS (Bionic Beaver)
Wow - I don't think I can answer this. It's been ten years since I've even had access to any system using NIS. I'm really sorry.
Subject: RE: [rt.cpan.org #130244] yp_bind only works with the default domain
Date: Fri, 2 Aug 2019 19:17:45 +0000
To: "bug-Net-NIS [...] rt.cpan.org" <bug-Net-NIS [...] rt.cpan.org>
From: "Seip, Christopher" <chris.seip [...] hpe.com>
Thanks for your reply, Eduardo! And here I am working with multiple NIS domains in different countries. It would be useful to query those domains with Net::NIS from a single host. I could pull the data with ssh hostname ypcat -k blahblah and build the data structures myself. Not hard. 😊 Have a great weekend, - Chris Show quoted text
-----Original Message----- From: Eduardo Santiago Munoz via RT <bug-Net-NIS@rt.cpan.org> Sent: Friday, August 2, 2019 5:58 AM To: Seip, Christopher <chris.seip@hpe.com> Subject: [rt.cpan.org #130244] yp_bind only works with the default domain <URL: https://rt.cpan.org/Ticket/Display.html?id=130244 > Wow - I don't think I can answer this. It's been ten years since I've even had access to any system using NIS. I'm really sorry.