I have about 10 printers installed through cups (all working via test page printing via cups webpage). Roughly half of these are experiencing this problem with samba.

When I run

[root@pluto ~]# rpcclient localhost -U'root%j3yThEiH' -c "enumprinters"
        flags:[0x800000]
        name:[\\LOCALHOST\]
        description:[\\LOCALHOST\,,HP Laserjet8000DN]
        comment:[HP Laserjet8000DN]

        flags:[0x800000]
        name:[\\LOCALHOST\e9hp3015]
        description:[\\LOCALHOST\e9hp3015,,HP laserjet 3015]
        comment:[HP laserjet 3015]

-- truncated

half of them are missing the queue name part in the name field...

And when I try to connect to these from windows I get

Connect to Printer. Windows couldn't connect to the printer. Check the printer name and try again. If this is a network printer, make sure that the printer is turned on, and that the printer address is correct.

[root@pluto ~]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Can't find include file /etc/samba/smb.conf.
Processing section "[printers]"
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

[global]
        workgroup = E8
        server string = Pluto Samba Server
        interfaces = em1
        smb passwd file = /etc/samba/smbpasswd
        passdb backend = smbpasswd
        username map = /etc/samba/smbusers
        log file = /var/log/samba/samba
        max log size = 200000
        name resolve order = wins lmhosts host bcast
        unix extensions = No
        printcap name = cups
        logon script = %m.bat
        logon path = \\%L\Profiles\%u
        logon drive = p:
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins proxy = Yes
        wins support = Yes
        idmap config * : backend = tdb
        wide links = Yes

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        print ok = Yes
        cups options = raw
        use client driver = Yes
        browseable = No

[homes]
        comment = Home Directories
        path = /samba/home/%S
        valid users = %S
        read only = No
        create mask = 0664
        directory mask = 0775

[netlogon]
        comment = Network Logon Service
        path = /samba/netlogon
        read only = No
        browseable = No

[Profiles]
        comment = User Profiles
        path = /samba/profiles
        force group = operators
        read only = No
        create mask = 0660
        directory mask = 0770
        browseable = No


Any advice would be appreciated..
Thanks Andrew
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to