AFP548 Changing the world one server at a time.

Can’t login in my Open Directory server÷ boo !

Home › Forums › OS X Server and Client Discussion › Open Directory › Can’t login in my Open Directory server÷ boo !

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #358205
    guillaumegete
    Participant

    Hi there,

    Following Joel’s article “Troubleshooting Open Directory with Panther Server”, I tried to apply the method to be able to access again my LDAP stuff on my Mac OS X Server.

    However, I need the root access to do it, and obviously, LDAP does not want me to use my previous password. I tried to reinitialize it by modifying /etc/open_ldap/slapd_macosxserver.conf, and changed line :

    rootpw {SH5}blahblasdfsdsf

    by

    rootpw {CLEARTEXT}mypassword

    However, when relaunching the server, mypassword is not recognized… And so I can’t modify any info in my LDAP server.

    Any suggestions please ? Thanks for your help 🙂

    #358218
    guillaumegete
    Participant

    Sorry, I realise I was not really good in my explanation :-/ So let’s do it again 🙂

    So, I can login to the server as root. Then I can log in Workgroup Manager on the local Netinfo database, using any admin account login and password… So far, so good.

    But if I choose to check the LDAP/127.0.0.1 settings in WM (using the local menu), I can access the informations and see what is in the database (and they work fine for the other users, by the way). BUT I can’t unlock the settings when I click on the padlock : it asks for an admin login and password, and any login and password I try to enter is rejected :-/

    So, I thought that your article would help. But when I type :

    ldapmodify -x -D “uid=root,cn=users,dc=example,dc=com” -W -f goodinfo.ldif

    I get this :

    Enter LDAP Password:

    Then if I type my root password, I get the message :

    ldap_bind: Invalid credentials (49)

    So, it seems it is really the LDAP password I should use, but it is not accepted. This is why I tried to replace rootpw {SH5}blahblasdfsdsf by rootpw {CLEARTEXT}mypassword in /etc/open_ldap/slapd_macosxserver.conf.

    So it lets me scratching my head… Any suggestion ? Pleaaaaaaaaaaaaaaaaaaaaaaase 😀

    (Note that this happens on a non-critical server : I could erase it and go back from scratch. However, I am wondering so much about this issue that I would like to know a bit more about this…)

    #358219
    guillaumegete
    Participant

    Well, in fact, I finally managed to find the good password… So I can make modifications again. Pfeeeeeeeeew 🙂

    However, a general solution for the issue of “root” LDAP account would be nice, I guess.

    Thanks for your time anyway 🙂

    #358318
    Anonymous
    Participant

    How did you get the password to work? Could you provide some details?

    #358322
    guillaumegete
    Participant

    Anonymous wrote:

    How did you get the password to work? Could you provide some details?

    Well, sadly not, as I just used a password I thought I could have used… and it worked. So no magic here, just some memory and luck…

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.