Beiträge von nixmomo

    Yes i can manage the access for User and Groups and you point me at the right way.


    In that case the Webdav Plugin created a local group called webdav-users. This group was local only and not written to ldap. I created the group in my ldap too. First time i dont saw the local and dont saw the LDAP group cause both groups called webdav-users. The issue was the guid. Local it was by 301 and in my ldap 1115 ... i changed the gid local to my ldap guid and it worked.


    In next step i have set a ldap user the ldap group "webdav-users" via omv without any issues.


    i think i have to look deeper in the plugin cause you can see ldap groups with guid higher then 1000 only .... My ldap groups are default synced with the standard guid from unix.

    Hmm also das "Aufwecken" geht nur per WoL Signal. Ich bezweifle dass das ein Plex client senden kann. Kann dein Server WoL? Steht der Server bei dir daheim? Rechenzentren können solche Signale zum Beispiel per API an den Server schicken, das könnte man dann mittels Browser auslösen.


    Wenn der Server bei dir daheim steht wirds schon schwierig. DynDNS vorhanden und auch irgendwo ein Client der PHP kann? Einige Router unterstützen sowas ja. Da könntest du ihn mittels kleinem Script aufwecken.


    Ist allerdings ungetestet. Den Schnippsel fand ich übrigens nach 2 Minuten suchen hier:
    https://www.php.de/forum/weben…n-lan-mit-php-gel%C3%B6st


    Hier wäre noch eins



    Wenn das von außen erreichbar sein soll, solltest du das natürlich auch sichern.


    Alternativ könntest du fürs Handy nach Wake on Lan Apps suchen die auch mit DynDNS funktionieren wenn es unbedingt von außerhalb sein soll.


    Mit den Infos kann man dir vermutlich nicht mehr helfen.

    Moin, welche genau?
    Das mit den Gruppen ist ja schon geklärt. Die kann man nur via OMV setzen wenn die LDAP Gruppe und die lokale Gruppe die gleiche GUID haben. Wenns eine Gruppe "webdav-user" lokal und im LDAP gibt, wird keine angezeigt also muss manuell die GUID angepasst werden. Dann passts und die User + Gruppe wird geladen und funktioniert auch.


    Das was mir jetzt noch fehlt ist die Möglichkeit die SSH Keys und die Mailadressen aus dem LDAP zu laden. Bin ziemlich erstaunt, dass das nicht mit drin ist.

    Hi and thanks, yes i see all users and groups in my omv.... getentgroups brings all too but i cant add a group to a user which is locatet in the ldap


    My LDAP Server is a openldap


    Code
    usermod: user 'username' does not exist in /etc/passwd' in /usr/

    This is the curios part... why does he try to add it in passwd file... theyre no ldap users inside

    Hi,


    i have omv 3 installed and i have a stupid question...


    how can i set a omv group for a ldap user?
    Ldap Plugin is installed and works fine.
    I get always this error



    Code
    Fehler #0:
    exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; usermod --gid 'users' --shell '/bin/dash' --comment 'userfullname' --groups 'admins,webdav-users' 'username' 2>&1' with exit code '6': usermod: user 'username' does not exist in /etc/passwd' in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/usermgmt.inc(559): OMV\System\Process->execute()
    #1 [internal function]: OMVRpcServiceUserMgmt->setUser(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setUser', Array, Array)
    #4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('UserMgmt', 'setUser', Array, Array, 1)
    #5 {main}


    So how can i fix this? do i need write all LDAP users manual into passwd file?


    Thanks a lot and sry for my english :)


    Kind Regards