password sync passwd

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • password sync passwd

      New

      Hi, i need to write a simple bash script which connect trough ssh to the OMV box (latest rev.) and change the user password.
      I already did that, i client connect by ssh and pass the passwd command and update the password for the user. The webgui also has the pwd changed according, but samba shares not. I keep to use the older password for mount the samba share.
      How can i pass the option that on passwd also sync samba client pwd?
      Thanks in advance.
    • New

      Yeah that's the sad part of Samba that it is not possible to use the Linux user passwords. You need to call smbpasswd, e.g. like OMV is doing it: github.com/openmediavault/open…ned/module/samba.inc#L161
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit