Merge pull request #90 from ainilife/master

several improve
fix ldap bug