} else {
// instantiate an LDAP server ad-hoc.
// set the "usercontext" attribute of the PersonDirInfo as the baseDN
// of the LdapServerImpl we're instantiating because when
ldapServer = new LdapServerImpl(info.getUrl(), info.getUrl(), info.getUsercontext(), null, info.getLogonid(), info.getLogonpassword(), null);
}
ldapImpl.setLdapServer(ldapServer);
ldapImpl.setTimeLimit(info.getLdaptimelimit());
ldapImpl.setQuery(info.getUidquery());