slapd server support.
Merge pull request #16 from dochang/next

slapd server support.