| | |
| | | adminUid = ci.getProvidedAdminUID(); |
| | | if (ci.getProvidedBindDN() == null) |
| | | { |
| | | // If the explicitit bind DN is not null, the password corresponds |
| | | // If the explicit bind DN is not null, the password corresponds |
| | | // to that bind DN. We are in the case where the user provides |
| | | // bind DN on first server and admin UID globally. |
| | | adminPwd = ci.getBindPassword(); |
| | |
| | | if (ci.getProvidedAdminUID() != null) |
| | | { |
| | | adminUid = ci.getProvidedAdminUID(); |
| | | adminPwd = ci.getBindPassword(); |
| | | if (ci.getProvidedBindDN() == null) |
| | | { |
| | | // If the explicit bind DN is not null, the password corresponds |
| | | // to that bind DN. We are in the case where the user provides |
| | | // bind DN on first server and admin UID globally. |
| | | adminPwd = ci.getBindPassword(); |
| | | } |
| | | } |
| | | bindDn2 = ci.getBindDN(); |
| | | pwd2 = ci.getBindPassword(); |
| | |
| | | uData.setAdminUid(adminUid); |
| | | } |
| | | |
| | | if (uData.getAdminPwd() == null) |
| | | { |
| | | uData.setAdminPwd(adminPwd); |
| | | } |
| | | if (!cancelled && (uData.getAdminPwd() == null) && !administratorDefined) |
| | | { |
| | | adminPwd = null; |