[Samba] Samba and UFW

Micha Ballmann ballmann at uni-landau.de
Mon Jan 28 06:54:09 UTC 2019


Post ufw.log or syslog?

Ufw should log the port which is blocked by connecting.

Best regards

Am 27.01.2019 um 19:03 schrieb Rowland Penny via samba:
> On Sun, 27 Jan 2019 12:01:00 -0500
> Marty via samba <samba at lists.samba.org> wrote:
>
>> Good Morning,
>>
>>   
>>
>> Using Linux Mint 19.1 I have configured UFW to allow Samba. I see
>> that ports 135 tcp, 137 udp, 138 udp , 139 tcp and 445 tcp are all
>> set properly. The problem is that with UFW enabled I cannot connect
>> to my Windows 8.1 PC. Error "Unable to mount location -  failed to
>> retrieve list from server, file or directory does not exist". With
>> UFW disabled I can connect and browse the Windows network PC. If I
>> enable UFW I can still browse the Window network. If I unmout the
>> location I cannot reconnect without disabling UFW. I have made all
>> the edits to the smb.conf file suggested on the net but nothing has
>> worked so far. Also when printing to a Windows shared printer using
>> Samba the document goes to the printer but, does not print. The same
>> setup works perfectly on my Mint 18.3 box.
>>
>>   
>>
>> There is got to be some thing I am missing. Any suggestions? All
>> responses are appreciated.
>>
> Whilst it is nice to know what OS you are using, it might have been a
> good idea to tell us what version of Samba you are using and how you
> are running it.
>
> Rowland
>
>
-- 
*Micha Ballmann*
Universit├Ątsrechenzentrum in Landau
Fortstr. 7
76829 Landau
Telefon: +49(0)6341 280-31265
Fax: +49 (0)6341 280-31267
E-Mail: ballmann at uni-landau.de


More information about the samba mailing list