OMV / LDAP Client

  • hello there,
    I create an LDAP server, and I would use it to manage the users and group more easily.
    I have a little problem I configure the LDAP client with a debian 7 OMV Kralizec with the following tutorial:
    http://www.unixmen.com/configu…henticate-using-openldap/


    The LDAP client works perfectly, I get my users and group well but I have the following concerns.


    When I want to connect to WebGui I have an error with login: Admin and password openmediavault, he says he is not good then that if I take the user created during the installation of the debian 7, I can connect to the webgui but I only have the basic information.


    I tried to use omv-firstaid and change the password for the webgui but I get the following error:


    # Omv-firstaid
    Updating WebGUI administrator password. Please wait ...
    {"response": null, "error": {"code": 4000, "message": "Failed to execute command 'usermod --password '$6$u1PDDj1XUTeM$RU\/d3y1WJ9h67FdWtUDQQqR178yBZYFqywX7ra7FUtbEfB42bfAr6yMEtr53MT7Mf2F5rIoWovO2gbStGVM7G\/' Anonymous 2> & 1 ': usermod \ u00a0: User \ u00ab \ u00a0admin \ u00a0 \ u00bb does not exist in \ / etc \ / passwd "," trace ":" Exception' OMVException 'with message' Failed to execute command 'usermod --password '$6$u1PDDj1XUTeM$RU\/d3y1WJ9h67FdWtUDQQqR178yBZYFqywX7ra7FUtbEfB42bfAr6yMEtr53MT7Mf2F5rIoWovO2gbStGVM7G\/' Anonymous 2> & 1 ': usermod \ u00a0: User \ u00ab \ u00a0admin \ u00a0 \ u00bb does not exist in \ / etc \ / passwd' in \ / usr \ / share \ / openmediavault \ / engined \ / rpc \ /webgui.inc:147\nStack trace: \ n # 0 [internal function]: OMVRpcServiceWebGui-> setPassword (Array, Array) \ n # 1 \ / usr \ / share \ / php \ / openmediavault \ /rpcservice.inc (125): call_user_func_array (Array, Array) \ n # 2 \ / usr \ / share \ / php \ / openmediavault \ /rpc.inc (79): OMVRpcServiceAbstract-> callMethod ('setPassword', Array, Array) \ n # 3 \ / usr \ / sbin \ / omv-engined (495): OMVRpc :: exec ('WebGui', 'setPassword', Array, Array, 1) \ n # 4 {main} "}}
    Failed to execute (RPC service = WebGui, method = setPassword)


    could you help me?


    best regard,


    Moimeme
    --------------------------------------------------------------------------------------------------


    bonjour,
    j'ai creer un LDAP serveur, et je voudrais l'utiliser pour gerer les users et group plus facilement.
    J'ai un petit soucis j'ai configurer le client LDAP une debian 7 avec OMV kralizec avec le tutorial suivant:
    http://www.unixmen.com/configu…henticate-using-openldap/


    Le client LDAP fonctionne parfaitement, je récupère bien mes users et group mais, j'ai le soucis suivant.


    Quand je veux me connecter au WebGui, j'ai erreur avec login Admin et le password openmediavault, il dit qu'il ne sont pas bon alors que si je prends l'usager crée lors de l'installation de la debian 7, je peux me connecter au webgui mais je n'ai que les information de base.


    J'ai tenté d'utiliser omv-firstaid et de changer le mot de passe du webgui mais j'ai l'erreur suivante:


    # omv-firstaid
    Updating WebGUI administrator password. Please wait ...
    {"response":null,"error":{"code":4000,"message":"Failed to execute command 'usermod --password '$6$u1PDDj1XUTeM$RU\/d3y1WJ9h67FdWtUDQQqR178yBZYFqywX7ra7FUtbEfB42bfAr6yMEtr53MT7Mf2F5rIoWovO2gbStGVM7G\/' admin 2>&1': usermod\u00a0: l'utilisateur \u00ab\u00a0admin\u00a0\u00bb n'existe pas dans \/etc\/passwd","trace":"exception 'OMVException' with message 'Failed to execute command 'usermod --password '$6$u1PDDj1XUTeM$RU\/d3y1WJ9h67FdWtUDQQqR178yBZYFqywX7ra7FUtbEfB42bfAr6yMEtr53MT7Mf2F5rIoWovO2gbStGVM7G\/' admin 2>&1': usermod\u00a0: l'utilisateur \u00ab\u00a0admin\u00a0\u00bb n'existe pas dans \/etc\/passwd' in \/usr\/share\/openmediavault\/engined\/rpc\/webgui.inc:147\nStack trace:\n#0 [internal function]: OMVRpcServiceWebGui->setPassword(Array, Array)\n#1 \/usr\/share\/php\/openmediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#2 \/usr\/share\/php\/openmediavault\/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setPassword', Array, Array)\n#3 \/usr\/sbin\/omv-engined(495): OMVRpc::exec('WebGui', 'setPassword', Array, Array, 1)\n#4 {main}"}}
    Failed to execute RPC (service=WebGui, method=setPassword)


    pourriez vous m'aider ?


    Cordialement


    Moimeme

  • Ok, now OMV connect LDAP Server.


    When i use command line "getent passwd", i have all user (OMV Local and LDAP Users)
    When i use command line 'id MyUser", i have this return


    Zitat

    uid=1000(MyUser) gid=1000(MyUser) groupes=1000(MyUser),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),1000001(users),1000003(ldap)


    But when i use the WebGui, i have problem, on user list and on group list, i don't see any user and group.
    But when create one user on ldap server, OMV see the user (getent passwd MyNewUser) but when i refresh WebGui and i go see the user list "MyNewUser" does not appear



    Edit: In ACL list -> Section System User / Group , I see my user LDAP ! but in General User/Group, i don't see ...

    • Offizieller Beitrag

    I use active directory so am not familiar with open ldap. I have stopped using the ldap plugin because it modifies things every time you change something. I now do it with extra options in the smb configuration. Try this.


    nano /etc/login.defs
    UID_MIN 1000
    UID_MAX 60000
    # System accounts
    #SYS_UID_MIN 100
    #SYS_UID_MAX 999


    #
    # Min/max values for automatic gid selection in groupadd
    #
    GID_MIN 1000
    GID_MAX 60000


    Other resources:
    bugtracker.openmediavault.org search ldap
    search this forum for ldap. I had some links instead of asking you to search but they are all broken by the new forum.

  • Thx very much !
    And now i have all my users !


Jetzt mitmachen!

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