On Wed, 2009-09-30 at 20:11 +0200, Milan Jurik wrote:
> Yes, getprinterbyname() is private interface and lp is the only
> consumer. The question is how lp on other platforms is consuming NIS
> maps for printing because websearch reveals that "printers in NIS maps"
> is not Solaris only thing (but not on Linux probably).
> 
> Still it is unclear how CUPS will take care or not (for now "not") about
> "printers" in nsswitch. I am not saying it is proper solution to use
> that interface but it should be evaluated before disbanding lp in the
> next phases.

"Not this case" seems appropriate to me.  CUPS uses a perfectly modern
desktop printer configuration tool that has a discovery feature that
displays local printers (i.e. those that I'd actually want to print to)
that use modern protocols.  This is in contrast to NIS which has an
incompatible notion of scope (NIS domain) that results in applications
having access to potentially hundreds of printers I'd never want to
print to.  I'd rather see the printers NIS map Obsoleted rather than
extended (and focus more on service discovery rather than
"directory"-based solutions), but that's just my personal opinion.
Anyway, not this case.

> 
> NIS2LDAP is not option for those who are using NIS servers (NIS2LDAP is
> "wrapper" around LDAP server).

-Seb


Reply via email to