migrate openldap password(user) to ispconfig database ?

Discussion in 'General' started by ledufakademy, Sep 28, 2020.

  1. ledufakademy

    ledufakademy Member HowtoForge Supporter

    i want to know if it possible with slapcat export to inject user password to ispconfig ?
    (or not)

    (our openldap use ssha , i remind that ispconfig use crypt-md5 + salt ...)
    Last edited: Sep 29, 2020
  2. ledufakademy

    ledufakademy Member HowtoForge Supporter

    the problem we are facing :
    1 - we had a nextcloud instance which is bind to an openldap (so nextcloud accounts are all stuck to this openldap ... ), this nextcloud for now is not migrate to ISPconfig . We plan to move it to. [ i think there is no way to cut nextcloud from openldap now ... ggggrrrrrhhhh :mad:]
    2 - we are studying which solution we have to keep our SSO ... :(
    Before going to ISPconfig, all services , i said all, were binded to our openldap, with ispconfig (working with crypt-md5 + salt ... ) it's seem not to be possible.
    lsc-project can work with mariadb databse ... but not sure with this solution of crypt-md5 + salt ....

    We must keep ispconfig auth for mail and ssh etc ...

    if someone have an idea .... :oops::(
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You have tried Internet Search Engines with
    site:howtoforge.com ispconfig ldap openldap
    I presume?
    By the way, is your native language not english? Do you proofread yiour posts before sending?
  4. michelangelo

    michelangelo Member

    It should be possible to use slapcat to export the users but you'll have to script it. However, a shell script wouldn't be my first choice in case of LDAP.
    My suggestion would be to script your own LDAP to ISPC export script in PHP because the LDAP functions in PHP should make the job easier.

    You'll probably have to generate new passwords for your users. I don't think that SSHA will work unless you add support for it to ISPConfig, maybe you want to try the SSHA hashes nevertheless. If they are working, then they'll work...
    Last edited: Sep 30, 2020
  5. ledufakademy

    ledufakademy Member HowtoForge Supporter

    hello Taleman , i do my best with shakespear language ... sorry.
    i natively speak martian !!! ;-)
  6. ledufakademy

    ledufakademy Member HowtoForge Supporter

    ok , seem's dead.
    password change needed.

Share This Page