LDAP plugin development

  • Hi!


    I've really wanted to get LDAP working in OMV for some time. While the old, deprecated plugin no longer works, I took it upon myself to try to get it working again. I have created a Github repo with what I have managed so far -- I can see the "Directory Services" menu and it visually works as expected, but the plugin is not yet adapted to modern times.

    The old plugin relied on mkconf, but plugins for OMV 5.x is supposed to use salt in some way which I have never used before. And this is where I am lost, as I don't know how to port the plugin to Salt. There might be other issues as well, but this is where I am today.


    Any thoughts on how to proceed? If no direct input on the contents of the repo, any guides for how to port plugins to OMV 5.x and salt?


    You'll find the openmediavault-ldap plugin here: https://github.com/yarcod/openmediavault-ldap


    Thanks in advance!

  • KM0201

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    Any thoughts on how to proceed? If no direct input on the contents of the repo, any guides for how to port plugins to OMV 5.x and salt?

    There aren't any OMV-specific salt guides that I know of. If you go through some general salt and jinja2 tutorials then look at existing code, you might be able to see how to move bash code writing config files to salt writing config files.


    Here are some good locations to look at OMV salt code that would be similar to what you need:

    https://github.com/openmediava…vault/srv/salt/omv/deploy

    https://github.com/OpenMediaVa…/salt/omv/deploy/minidlna

    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!