Home › Forums › OS X Server and Client Discussion › Open Directory › Can’t login in my Open Directory server÷ boo !
- This topic has 4 replies, 2 voices, and was last updated 22 years, 4 months ago by
guillaumegete.
-
AuthorPosts
-
June 13, 2004 at 1:31 am #358205
guillaumegete
ParticipantHi 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 🙂
June 13, 2004 at 9:43 am #358218guillaumegete
ParticipantSorry, 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…)
June 13, 2004 at 1:00 pm #358219guillaumegete
ParticipantWell, 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 🙂
June 23, 2004 at 6:12 pm #358318Anonymous
ParticipantHow did you get the password to work? Could you provide some details?
June 24, 2004 at 12:02 am #358322guillaumegete
ParticipantAnonymous 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…
-
AuthorPosts
- You must be logged in to reply to this topic.