Configure CIFS Shares openFLIXR webmin

Some people are having difficulties mounting CIFS shares with Webmin using openFLIXR.
Most of the times this is a problem with mounting the shares with not enough permissions.

I’m using a Windows 2012 R2 Fileserver for this.
Let get started.

Share config

First logon to your fileserver, and configure a user with FULL Access permisions.
Right click the folder you’d like to mount, and choose properties.

Go to the tab Sharing, and select “Share”.
Select Find people, and locate the user you connect with CIFS with.

Find the user:

Permission level: Read/Write
Now click Share.
Go to the security tab, and add the user and give the user full acces permissions.

Now the Fileserver side is done.

Mounting the share with Webmin

Login to the webinterface, and select System -> Disk and Network Filesystems

Select Type: CIFS, and press “Add mount”

Mount the downloads folder at /mnt/downloads
Server name: Ip/hostname of your fileserver
Share name: Share name of your folder (my case downloads)

Now you need to fill in the login details for your mount.

You need to fill in “User files are owned by” and “Group files are owned by” Otherwise the mount won’t have enough permissions.

Repeat the steps for all mounts you’d like to add, and continue the setup.


  1. Parupkar Singh 25 May 2017 at 22:54

    Hello mate,

    I’m new to OpenFLIXR and I’m trying to set it up but having a little problem.

    I’ve followed your instructions to mount CIFS shares in OpenFLIXR but every time I try to mount a CIFS share in webmin I get a 504 Gateway Time-Out” (Nginx) error. Below are my share details:

    Mounting downloads folder at /mnt/downloads
    Server name: Ip address
    Share name: downloads$

    Also the shares are setup on windows 7 not on Windows Server.

    Can you please help? It will be much appreciated.

    Thank you

    1. pjeursen 26 May 2017 at 11:22

      The Nginx time-out is weird.
      Did you update openflixr?

      Regarding the shares on windows, this shouldn’t matter.

      1. PSINGH 26 May 2017 at 11:58

        Thank you for your reply.

        Yes I have updated OpenFLIXR to the lastest version 1.6.0 and every time I try to mount a share it just gives me a Nginx time-out.

        Please let me know if you require any further information.

        Thank you

        1. pjeursen 26 May 2017 at 12:00

          Just to be sure, when do you receive the error exactly?
          When accessing Webmin? Or saving the config?
          What Error does Nginx exactly give?

          1. PSINGH 26 May 2017 at 12:08

            I get the error when I click on the button “Create Mount” after filling in the share details. The error comes up inside webmin. The error reads “504 Gateway Time-Out” (Nginx at the bottom of the error).

            Webmin still works when the error comes up and I can still go back to System -> Disk and Network Filesystems and try to add the CIFS mount again but as soon as I fill the share details and click on “Create Mount” button it tries to save the mount but after few seconds it gives the error.


  2. PSINGH 31 May 2017 at 22:33

    Any suggestions on the above mate?

    1. pjeursen 4 June 2017 at 23:21

      Sorry for my late reply, but it seems like a webmin problem.
      Did you try to update Webmin? I know that webmin has released a new version that’s not in openFLIXR yet.

      Otherwise i’d try reinstalling openflixr since you haven’t got anything configured yet.

      My other solution would be to manually mount the system via /etc/fstab, but i would only do this if you don’t feel like reinstalling. But if i where you i’d reinstall since this might be the first thing you notice that’s broken, but it might be the rest of the installation also failed and you’ll experience more problems in the future.
      If you need help with the fstab, just let me know.


      1. PSINGH 5 June 2017 at 10:31

        Thank you for your reply.

        I’ll reinstall OpenFLIXR and then I’ll try mounting the shares again. If I get the same problem again I’ll let you know mate.

        Thank you very much for all your help.
        Much appreciated.

Leave a comment

Your email address will not be published. Required fields are marked *