Re-added the S_LDAP semaphore. It is needed. Not sure why it didn't show