Enable cifs UNIX extensions on mount

  • Hello


    I would like to activate cifs UNIX extensions on client mount.
    cifs UNIX extensions on smb.conf is active.
    (unix extensions = yes)


    On mount there is no cifs UNIX extensions visible as active.
    (nounix)


    On my understanding:


    User on client and server must have the same UID and GID.


    Client user: UID=1000 and GID=1000.


    The permanent change for the user on OMV to GID=1000 is not possible.


    Users on OMV generated on web access usually have GID=100
    Users on OMV generated on command line starts with GID=1000


    I can add a new user with useradd. Then my user have GID=1000


    To syncronize the user with config.xml and samba daemon, it is needed
    to update the new user on omv web access.


    After this the new user GID=100 again and
    cifs UNIX extensions are not enabled.


    What is the right way to enable cifs UNIX extensions stable?



    Thank you much

  • What is the right way to enable cifs UNIX extensions stable?

    Unix extensions are enabled by default in OMV's samba config file- https://github.com/openmediava…conf/samba.d/10global#L47

    omv 5.4.7 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

  • But only if client user UID/GID and server user UID/GID are the same.
    This is my problem. I can't setup the server user GID permanent to
    GID=1000. If i update my user on OMV do to update also the samba daemon settings,
    the GID change back to GID=100 an then Unix extensions are not enabled on mount on


    client side.

  • But only if client user UID/GID and server user UID/GID are the same.
    This is my problem. I can't setup the server user GID permanent to
    GID=1000. If i update my user on OMV do to update also the samba daemon settings,
    the GID change back to GID=100 an then Unix extensions are not enabled on mount on


    client side.

    Not the best solution but you could force a UID/GID for the share with the force user and force group in the extra options box for the share.

    omv 5.4.7 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

Participate now!

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