KEYCLOAK-827 add entryDN as one of attributes, which can be mapped to username

This commit is contained in:
mposolda 2014-11-11 13:15:47 +01:00
parent 64e777a4f4
commit 2f0498bb7f
2 changed files with 2 additions and 2 deletions

View file

@ -529,7 +529,7 @@ module.controller('LDAPCtrl', function($scope, $location, Notifications, Dialog,
]; ];
$scope.usernameLDAPAttributes = [ $scope.usernameLDAPAttributes = [
"uid", "cn", "sAMAccountName" "uid", "cn", "sAMAccountName", "entryDN"
]; ];
$scope.realm = realm; $scope.realm = realm;

View file

@ -129,7 +129,7 @@
<div class="form-group clearfix"> <div class="form-group clearfix">
<label class="col-sm-2 control-label" for="ldapBindCredential">Bind Credential <span class="required">*</span></label> <label class="col-sm-2 control-label" for="ldapBindCredential">Bind Credential <span class="required">*</span></label>
<div class="col-sm-4"> <div class="col-sm-4">
<input class="form-control" id="ldapBindCredential" type="text" ng-model="instance.config.bindCredential" placeholder="LDAP Bind Credentials" required> <input class="form-control" id="ldapBindCredential" type="password" ng-model="instance.config.bindCredential" placeholder="LDAP Bind Credentials" required>
</div> </div>
<span tooltip-placement="right" tooltip="Password of LDAP admin" class="fa fa-info-circle"></span> <span tooltip-placement="right" tooltip="Password of LDAP admin" class="fa fa-info-circle"></span>
<div class="col-sm-4" data-ng-show="access.manageRealm"> <div class="col-sm-4" data-ng-show="access.manageRealm">