try {
lc = new LDAPConnection();
lc.connect(MY_HOST, MY_PORT);
String password = "secret";
try {
lc.bind(3, "cn=Manager,o=zephyr.com.cn", password
.getBytes("UTF8"));
} catch (UnsupportedEncodingException e1) {
e1.printStackTrace();
}
rs = lc.search(ENTRYDN, LDAPConnection.SCOPE_SUB, "sn=" + user,