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

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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.

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!