[Samba] Problems adding a printer share

Dale Schroeder dale at BriannasSaladDressing.com
Thu Jun 21 17:47:08 GMT 2007


Also--

<Location /printers>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.*

AuthType None
</Location>

Dale


Gary Dale wrote:
> Not an expert on CUPS either, but my server setup has
> <Location />
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow From 192.168.2.*
> </Location>
>
> where my local network is in the 192.168.2 subnet.
>
> I also have a
> Port 631
> line in the .conf file. I don't know if it's necessary but you could 
> try adding it.
>
> And after making the changes, be sure to restart CUPS.
>
>
> Michael Powell wrote:
>> Looking at localhost:631, it looks like it should be all set up.  Still,
>> I went ahead and changed the conf file.  The values with the '#' are 
>> what it
>> said, and the uncommented values are what I set it to.  I would think 
>> that "all"
>> would be the least permissive, but Windows still thinks the printer 
>> is offline.
>>
>> I also checked the printers.conf, and the printer in question is set 
>> as Share
>> Yes.
>>
>> # Enable printer sharing and shared printers.
>> Browsing On
>> BrowseOrder allow,deny
>> #BrowseAllow @LOCAL
>> #BrowseAddress @LOCAL
>> BrowseAllow all
>> BrowseAddress all
>> DefaultAuthType Basic
>> <Location />
>>   # Allow shared printing...
>>   Order allow,deny
>> #  Allow @LOCAL
>>   Allow all
>> </Location>
>>
>>
>> On Wed, 20 Jun 2007 17:02:14 -0400
>> Gary Dale <garydale at torfree.net> wrote:
>>
>>  
>>> It's very important that your CUPS configuration allows printing 
>>> from your local network. If not, Windows won't see it. Check your 
>>> /etc/cups/cupsd.conf to make sure it allows printing from other than 
>>> localhost.
>>>
>>>
>>> Michael Powell wrote:
>>>    
>>>> Gary,
>>>> Thanks!  I think there must be slightly more to it, though.  If I give
>>>> it that address (or anything like it), Win98 reports that the 
>>>> printer is offline & that I can install it but can't print to it 
>>>> until it returns
>>>> online.  Since it is online, that tells me something is not quite 
>>>> right.
>>>>
>>>> If I type that address into a web browser on the Windows machine, 
>>>> it does show up.  But there is something about it that the Windows 
>>>> print
>>>> manager does not like.
>>>>
>>>> I tried it as you have it typed below, as well as:
>>>> \\server:631\printers\printername
>>>>
>>>> Windows does not like either one.
>>>>
>>>>
>>>> On Tue, 19 Jun 2007 10:47:33 -0400
>>>> Gary Dale <garydale at torfree.net> wrote:
>>>>
>>>>        
>>>>> You don't need Samba to print. As long as you set up your CUPS 
>>>>> configuration to allow other local addresses to print to the 
>>>>> server, you can print to it from windows using 
>>>>> http://<servername>:631/printers/<printername>, where you replace 
>>>>> <servername> and <pritnername> with the appropriate values. 
>>>>> <servername> can also be an IP address.
>>>>>
>>>>> If this works, you can also (but don't have to) set up the printer 
>>>>> to be shared via Samba by adding a section to your Samba 
>>>>> configuration. I recommend that you use SWAT for this - it makes 
>>>>> it easy.
>>>>>             
>>>>        
>>>>>>                   
>>>>> -- 
>>>>> To unsubscribe from this list go to the following URL and read the
>>>>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>>>>             
>>>>         
>>> -- 
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>>     
>>
>>   
>


More information about the samba mailing list