Error #4000 when creating or editing a user

  • After updating my omv install via the webgui I can no longer create or edit users.
    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; pdbedit --modify --verbose --fullname='kadmin' 'kadmin' 2>&1': Username not found!' in /usr/share/openmediavault/engined/module/samba.inc:188
    Stack trace:
    #0 [internal function]: OMVModuleSamba->onModifyUser(8, 'org.openmediava...', Array)
    #1 /usr/share/php/openmediavault/notify.inc(124): call_user_func_array(Array, Array)
    #2 /usr/share/openmediavault/engined/rpc/usermgmt.inc(606): OMVNotifyDispatcher->notify(8, 'org.openmediava...', Array)
    #3 [internal function]: OMVRpcServiceUserMgmt->setUser(Array, Array)
    #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setUser', Array, Array)
    #6 /usr/sbin/omv-engined(500): OMVRpc::exec('UserMgmt', 'setUser', Array, Array, 1)
    #7 {main}


    P.S. I really hate this forum software. Why not use something sane like PhpBB, Vbulletin etc. ?!

    • Offizieller Beitrag

    P.S. I really hate this forum software. Why not use something sane like PhpBB, Vbulletin etc. ?!

    Really? I run a phpBB forum for over 10 years and still like this better. What don't you like about it?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Everything, but especially the silly, distracting, and useless popups that show up when running cursor over topics.
    Also a lot of white space everywhere, not much content showing vertically (even on my UHD monitor).
    At least the fonts are easy on the eyes, so I have to give credit where it's due.

  • Now I'm getting the same error on another system that's fully updated.


    That's not good.
    Omv is version 2.2.13

  • I'm familiar with webmin but I don't want to use foreign tool to access such basic feature as user management.
    Is this a known bug in Omv?
    Is this getting fixed?
    Because right now it's a "showstopper" for me.

    • Offizieller Beitrag

    Just to make sure, you are adding users via the OMV web interface? Are you using ldap? What is the output of: getent passwd kadmin

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Just to make sure, you are adding users via the OMV web interface? Are you using ldap? What is the output of: getent passwd kadmin

    Yes, via the OMV web interface.
    No, not using ldap
    Output of that command is : kadmin:x:1001:100::/home/kadmin:/bin/dash


    I get that error when I creat a new user (the user still gets created though) and when I try to create/change password of a user.

    • Offizieller Beitrag

    I get that error when I creat a new user (the user still gets created though) and when I try to create/change password of a user.

    Do you have samba enabled with shares created?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

    • Offizieller Beitrag

    What is the output of: pdbedit -L -v

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • What is the output of: pdbedit -L -v


    pdbedit -L -v
    ---------------
    Unix username: bkadmin
    NT username:
    Account Flags: [U ]
    User SID: S-1-5-21-1894816120-3137313759-2543951943-1000
    Primary Group SID: S-1-5-21-1894816120-3137313759-2543951943-513
    Full Name: bkadmin
    Home Directory: \\omv-hcl\bkadmin
    HomeDir Drive:
    Logon Script:
    Profile Path: \\omv-hcl\bkadmin\profile
    Domain: OMV-HCL
    Account desc:
    Workstations:
    Munged dial:
    Logon time: 0
    Logoff time: Wed, 06 Feb 2036 07:06:39 PST
    Kickoff time: Wed, 06 Feb 2036 07:06:39 PST
    Password last set: Fri, 30 Oct 2015 17:39:29 PDT
    Password can change: Fri, 30 Oct 2015 17:39:29 PDT
    Password must change: never
    Last bad password : 0
    Bad password count : 0
    Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

    • Offizieller Beitrag

    No samba user exists for kadmin. Not sure why. Try smbpasswd -a kadmin

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!