View previous topic :: View next topic |
Author |
Message |
equaeghe l33t
Joined: 22 Feb 2005 Posts: 630
|
Posted: Fri Sep 03, 2021 12:59 pm Post subject: Why smb.conf needed to print to a smb printer? Mitigation? |
|
|
My institute provides smb-access to its printers. To get that to work, I needed to create a smb.conf file. As far as I understood, a smb.conf is normally only needed to set up a server, not to act as a client. So my first question is: Why is this needed?
Now, given that I must set up a smb.conf file, how do I create one that is minimal and actually does not provide a server, so that I mitigate and therefore do not have to worry about security implications? |
|
Back to top |
|
|
Tatsh Apprentice
Joined: 22 Jul 2007 Posts: 187
|
Posted: Wed Oct 06, 2021 12:42 am Post subject: |
|
|
Does your institute provide IPP access to the printers? That is easier to set up with CUPS. |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Wed Oct 06, 2021 2:24 am Post subject: |
|
|
equaeghe wrote: | As far as I understood, a smb.conf is normally only needed to set up a server, not to act as a client. |
The smb.conf file is also read by the Samba suite's client applications, as confirmed in the section HOW CONFIGURATION FILES ARE APPLIED:
https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 630
|
Posted: Wed Oct 06, 2021 7:52 am Post subject: |
|
|
Tatsh wrote: | Does your institute provide IPP access to the printers? That is easier to set up with CUPS. | No, the only usable way is to use smb. |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 630
|
Posted: Thu Oct 07, 2021 8:48 pm Post subject: |
|
|
Thanks.
Now the question remains what a minimal smb.conf looks like that is maximally secure… |
|
Back to top |
|
|
|