[Samba] Printer comments and other weirdness

Steven Cardinal steven.cardinal at gmail.com
Tue Jun 20 20:39:13 GMT 2006


Am running Samba 3.0.20 on SuSE 10.0 and cups as my printer provider. I've
used the cups gui to create a number of printers. They appeared correctly in
my Printers and Faxes folder in Explorer and I uploaded my print drivers
successfully. Now, a few days later, I'm looking at my printers and I notice
that the comments that show up on the print shares themselves still reflect
some old data I originally entered. The comments appear correct under
Printers and Faxes, but not directoy under the server, nor in the view that
my users will access using the Add a Printer Wizard. I've looked at my
printers.conf and printcap files and the commens (Info blah blah blah) shows
up correctly. It also looks correct in the cups web interface. If I use
rpcclient, the information also looks correct and if I right click under
Printers and Faxes as an admin, they also look correct. So where is this
information coming from?

Also, under Printers and Faxes, I have one printer showing up twice and
another not appearing at all, although they appear correctly (less the
comments) as the share itself. I just can't figure out where all of the
little bits are stored for printer information - I'm assuming they exist in
multiple areas.  Here's my config:

smb.conf:

[global]
        unix charset = LOCALE
        workgroup = MYDOMAIN
        realm = MYDOMAIN.INT
        server string = Samba File Server
        security = ADS
        allow trusted domains = No
        enable privileges = Yes
        username map = /etc/samba/smbusers
        log level = 1
        syslog = 1
        log file = /var/log/samba/%m
        max log size = 50
        deadtime = 15
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
        printcap name = cups
        wins server = 10.0.0.2
        ldap ssl = no
        idmap backend = idmap_rid:MYDOMAIN=10000-50000
        idmap uid = 10000-50000
        idmap gid = 10000-50000
        template shell = /bin/bash
        winbind separator = +
        cups options = raw

[Printers]
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = root, "@MYDOMAIN+Domain Admins"

printers.conf:

# Printer configuration file for CUPS v1.1.23
# Written by cupsd on Tue Jun 20 15:05:58 2006
<Printer HP1300_10205>
Info HP1300 in OPS Front Room (B&W)
Location Operations Room - Front
DeviceURI socket://10.0.0.205:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP1320_10213>
Info HP1320 in OPS Back Room (B&W)
Location Operations Room - Back
DeviceURI socket://10.0.0.213:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP2300_10208>
Info HP2300 Near Analytics (B&W)
Location 5th Floor Analytics
DeviceURI socket://10.0.0.208:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP2430_10211>
Info HP2430 at Reception Desk (B&W)
Location 5th Floor Reception Area
DeviceURI socket://10.0.0.211:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP4000_10203>
Info HP4000 in 4th Floor Mail Area (B&W)
Location 4th Floor in Mail Area
DeviceURI socket://10.0.0.203:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<DefaultPrinter HP4050_10204>
Info HP4050 in IT Dept (B&W)
Location 5th Floor IT Department
DeviceURI socket://10.0.0.204:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP4050TN_10206>
Info HP4050TN in 5th Floor Mail Room (B&W)
Location 5th Floor Mail Room
DeviceURI socket://10.0.0.206:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP5100_10201>
Info HP 5100 Near Account Managers (B&W)
Location 4th Floor Account Managers
DeviceURI socket://10.0.0.201:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP5100DTN_10210>
Info HP5100DTN Near Bullpen (B&W, Duplex)
Location 5th Floor Near Bullpen
DeviceURI socket://10.0.0.210:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer HP5550C_10212>
Info HP5550 Near Dan and Mike (Color)
Location 5th Floor Executive Hallway near Dan and Mike
DeviceURI socket://10.0.0.212:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer MCF2002_10202>
Info Minolta CF2002 in 4th Floor Mail Area (Color, Duplex)
Location 4th Floor Mail Area
DeviceURI socket://10.0.0.202:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer XRXN4525_10207>
Info Xerox N4525 Near Desktop Publishing (B&W, Duplex)
Location 5th Floor Near Desktop
DeviceURI socket://10.0.0.207:9100
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


More information about the samba mailing list