Add [Printers] section to smb.conf

  • I am using OMV5 on a Raspberry Pi4 for sharing files with Windows systems. That works fine.


    Now I set up a printer server on the Raspberry (cups, samba) to share a printer to Windows. That also works fine.

    But OMV is always destroying my smb.conf configuration. I found some environmental variables where I can manage some values in [Global] section of smb.conf. But I am still missing a way to add persistently a [Printers] section with some values to smb.conf.


    Is there a way to do that?

  • Did you try adding the same config to the extra options box that you are adding to smb.conf?

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Unfortunately, I have no idea how to add an "extra options box" to smb.conf. Could you give me an example?

    Add the code you are manually addding to the Extra Options box in the Advanced Settings frame on the Settings tab of the SMB/CIFS plugin.

    omv 5.6.4 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • info57

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!