| | |
| | | } |
| | | } |
| | | |
| | | LDAPModify ldapModify = null; |
| | | try |
| | | { |
| | | if (initializeServer) |
| | |
| | | connectionOptions, out, err); |
| | | connection.connectToHost(bindDNValue, bindPasswordValue, nextMessageID); |
| | | |
| | | LDAPModify ldapModify = new LDAPModify(fileNameValue, nextMessageID, |
| | | out, err); |
| | | ldapModify = new LDAPModify(fileNameValue, nextMessageID, out, err); |
| | | InputStream is = System.in; |
| | | if(fileNameValue != null) |
| | | { |
| | |
| | | { |
| | | if(connection != null) |
| | | { |
| | | connection.close(); |
| | | if (ldapModify == null) |
| | | { |
| | | connection.close(null); |
| | | } |
| | | else |
| | | { |
| | | connection.close(ldapModify.nextMessageID); |
| | | } |
| | | } |
| | | } |
| | | return 0; |