[Samba] Vista to Samba maping LPT ports

John Duthie beyondgeek at gmail.com
Thu Dec 14 00:57:36 GMT 2006


I am currently testing our company's software with Vista RC-1
and I've run into a snag I cannot Authenticate a Printer connection to a
Samba server on a dos prompt
I can connect to the printer using the GUI for windows printing
But i Cannot map the printer to an LPT port

Every windows out there will connect to this box , from 95 thru to 2000, XP
and even Server 2003. But not Vista (as an admin user of course)

Am I doing somthing wrong with samba ?


root at svl:~# smbd -V
Version 3.0.23d


C:\Users\John>net use  h: \\svl\z-public
The command completed successfully.


C:\Users\John>net use lpt1 \\svl\prt112
The password is invalid for \\svl\prt112.

Enter the user name for 'svl': samba
Enter the password for svl:
System error 5 has occurred.

Access is denied.


Settings of interest in smb.conf

[global]
        security = SHARE
        map to guest = Bad User
        null passwords = Yes
        guest account = samba
        password level = 4
        username level = 4
        client NTLMv2 auth = Yes
        load printers = No
        domain master = No
        printing = lprng

[print$]
        path = /share/printer
        write list = @ntadmin, root, administrator
        read only = No
        guest ok = Yes
        strict sync = Yes
        default case = upper

[z-public]
        comment = Public Stuff
        path = /share/z-drive
        read only = No
        guest ok = Yes
        strict sync = Yes
        sync always = Yes

[prt112]
        comment = hp LaserJet 1200
        path = /var/spool/samba
        printable = Yes
        use client driver = Yes
        guest ok = Yes


More information about the samba mailing list