| | |
| | |
|
| | | #### fixes
|
| | |
|
| | | - Fixed connection leak in LDAPUserService (issue 139)
|
| | | - Fixed bug in commit page where changes to a submodule threw a null pointer exception (issue 132)
|
| | | - Fixed bug in the diff view for filenames that have non-ASCII characters (issue 128)
|
| | |
|
| | |
| | |
|
| | | LDAPConnection ldapConnection = getLdapConnection();
|
| | | if (ldapConnection != null) {
|
| | | try {
|
| | | // Find the logging in user's DN
|
| | | String accountBase = settings.getString(Keys.realm.ldap.accountBase, "");
|
| | | String accountPattern = settings.getString(Keys.realm.ldap.accountPattern, "(&(objectClass=person)(sAMAccountName=${username}))");
|
| | |
| | | return user;
|
| | | }
|
| | | }
|
| | | } finally {
|
| | | ldapConnection.close();
|
| | | }
|
| | | |
| | | }
|
| | | return null;
|
| | | }
|
| | |
|