finished untested draft of LDAP implementation
suppressed some unneeded warnings