Change this code so that we don't do a lookup_name() on root.
commitf0137ac126f782e83ed15d8e905def708cdb6c64
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 Jan 2002 22:44:21 +0000 (25 22:44 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 25 Jan 2002 22:44:21 +0000 (25 22:44 +0000)
tree60dd0d2e2979fa2b7bfe22b7eb3d3981a2b3d34e
parent7e5d7dfa834c0161460bde8a2f0d4824c0a0d1fe
Change this code so that we don't do a lookup_name() on root.

This matches the lookup failure case in 2.2, and seems to make more sense than
giving the printer to 'world'.  (Avoiding this lookup makes some of my other
changes - including winbind default domains - a little easier).

In any case, tpot has promised to look at this and test it when he gets back to
work. :-)

Andrew Bartlett
source/printing/nt_printing.c