HP Laserjet config + NetBIOS alias question

Gerald (Jerry) Carter jerry at samba.org
Mon Jan 7 04:09:02 GMT 2002


On Sun, 6 Jan 2002, Rob Helmer wrote:

> This Samba server currently is in use as a development machine, so
> it's NetBIOS name is DEV. It uses NetBIOS aliases to answer as
> PRINTSERVER and FILESERVER.
>
> However, I noticed that if I add a printer as \\PRINTSERVER\HP_BW
> ( where HP_BW is our black&white HP printer ), Windows 2000 will
> actually ends up using \\DEV\HP_BW. My whole reason for using the
> NetBIOS aliases was so I could get printing services moved, and
> then set up a new box for file and print services, and users
> would not have to remap shares and printers from their desktops.
>
> Have I misunderstood the intent of the "netbios aliases" parameter?

This is a known limititation with the printing internals in smbd.
It has to do with the way we store and retrieve the PRINTER_INFO
strtucture in the tdb.

> Can I just alias another IP onto the Samba box and run two copies
> of smbd and nmbd ( perhaps with different names, installed in
> different locations so I can tell them apart when they are running )
> and get the behaviour I desire, which is to have the clients truly
> believe they are mapped to \\PRINTSERVER and \\FILESERVER rather
> than \\DEV ?

Yes.  This will work.











chau, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list