LLange

Q: Impossible to login with user nor with diradmin in Workgroup Manager

I've encountered a problem while modyfing the certificate for service on a OS X Lion Server.

 

Network user couldn't log in anymore, Workgroup was returning a : "The node /LDAPv3/127.0.0.1 couldn’t be opened because an unexpected error of type -14002 occurred." error and Directory Utility a -2100 error ...

 

I found on https://discussions.apple.com/thread/1748724?start=0&tstart=0 the following solution that solved my problem :

 

sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist

 

sudo /usr/bin/db_recover -h /var/db/openldap/openldap-data

 

sudo launchctl load /System/Library/LaunchDaemons/org.openldap.slapd.plist

Posted on Jun 14, 2012 11:00 AM

Close

Q: Impossible to login with user nor with diradmin in Workgroup Manager

  • All replies
  • Helpful answers

  • by iammart,

    iammart iammart Nov 5, 2014 2:13 AM in response to LLange
    Level 1 (0 points)
    Nov 5, 2014 2:13 AM in response to LLange

    This saved my beans today Thanks very much for posting this.


    Although I was receiving an error when trying to load the slapd.plist - "nothing found to load"


    I ran the same command again with some flags and it was successfully loaded.

     

    $ sudo launchctl load -w -F /System/Library/LaunchDaemons/org.openldap.slapd.plist