[Samba] Desperate plea for help with printer share

Gary Dale garydale at torfree.net
Wed Apr 3 21:07:12 MDT 2013


On 03/04/13 09:09 PM, Mark LaPierre wrote:
> On 04/03/2013 09:02 AM, Gary Dale wrote:
>> On 01/04/13 07:55 PM, Mark LaPierre wrote:
>>> On 03/30/2013 11:45 PM, Gary Dale wrote:
>>>> On 30/03/13 08:38 PM, Mark LaPierre wrote:
>>>>> Hey Y'all,
>>>>>
>>>>> I've been trying for months to get samba to share my printer with my
>>>>> wife's Win XP machine.  I've RTFM, and spent hours on google to no
>>>>> avail.
>>>>>
>>>>> I can't see the printer from Windows so I can't mount it up.  Nothing
>>>>> appears in the logs.  The file shares work just fine.
>>>>>
>>>>> It looks like I've got Samba 3.6.9 on this machine:
>>>>>
>>>>> [mlapier at mushroom samba]$ rpm -qa | grep samba
>>>>> samba-swat-3.6.9-151.el6.i686
>>>>> samba-doc-3.6.9-151.el6.i686
>>>>> samba-client-3.6.9-151.el6.i686
>>>>> samba-winbind-clients-3.6.9-151.el6.i686
>>>>> samba-3.6.9-151.el6.i686
>>>>> samba-common-3.6.9-151.el6.i686
>>>>> samba-winbind-devel-3.6.9-151.el6.i686
>>>>> samba-winbind-krb5-locator-3.6.9-151.el6.i686
>>>>> samba-domainjoin-gui-3.6.9-151.el6.i686
>>>>> samba-winbind-3.6.9-151.el6.i686
>>>>> samba4-libs-4.0.0-55.el6.rc4.i686
>>>>> [mlapier at mushroom samba]$ name
>>>>> CentOS release 6.4 (Final)
>>>>> Linux mushroom.patch 2.6.32-358.2.1.el6.i686 #1 SMP Tue Mar 12
>>>>> 21:42:46 UTC 2013 i686 i686 i386 GNU/Linux
>>>>> [mlapier at mushroom samba]$ testparm
>>>>> Load smb config files from /etc/samba/smb.conf
>>>>> Processing section "[homes]"
>>>>> Processing section "[printers]"
>>>>> Processing section "[pictures]"
>>>>> Processing section "[budget]"
>>>>> Loaded services file OK.
>>>>> Server role: ROLE_STANDALONE
>>>>> Press enter to see a dump of your service definitions
>>>>>
>>>>> [global]
>>>>>     server string = Samba Server Version %v
>>>>>     log file = /var/log/samba/log.%m
>>>>>     max log size = 50
>>>>>     printcap name = cups
>>>>>     idmap config * : backend = tdb
>>>>>
>>>>> [homes]
>>>>>     comment = Home Directories
>>>>>     read only = No
>>>>>     browseable = No
>>>>>
>>>>> [printers]
>>>>>     comment = All Printers
>>>>>     path = /var/spool/samba
>>>>>     guest ok = Yes
>>>>>     printable = Yes
>>>>>     print ok = Yes
>>>>>     browseable = No
>>>>>
>>>>> [pictures]
>>>>>     comment = Pictures
>>>>>     path = /home/pictures
>>>>>     read only = No
>>>>>     guest ok = Yes
>>>>>
>>>>> [budget]
>>>>>     comment = Budget
>>>>>     path = /home/budget
>>>>>     valid users = nllapie, mlapier
>>>>>     read only = No
>>>>> [mlapier at mushroom ~]$
>>>>>
>>>>> Is there anything else I can share with you that will help you to
>>>>> diagnose my problem?
>>>>
>>>> Have you checked the CUPS printer sharing?
>>>>
>>>
>>> Sure enough.  The printer shared check box is checked so that's not
>>> the problem.
>>>
>>
>> That's not good enough. Has the cups configuration been set to allow
>> users to connect from the LAN?
>
> How might you suggest that I check that setting?
>

Read the CUPS documentation on the various configuration files it uses. 
The one you probably want is /etc/cups/cupsd.conf.


More information about the samba mailing list