Skip to content

Commit

Permalink
* Change host format of LDAP snippet.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjianhua committed Sep 27, 2022
1 parent 8d57f72 commit d541832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/module/instance/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public function installLDAP($app, $thirdDomain = '', $instanceName = '', $k8name
$snippetSettings->values->auth->ldap = new stdclass;
$snippetSettings->values->auth->ldap->enabled = true;
$snippetSettings->values->auth->ldap->type = 'ldap';
$snippetSettings->values->auth->ldap->host = $instance->domain;
$snippetSettings->values->auth->ldap->host = "{$instance->k8name}.{$snippetSettings->namespace}.svc";
$snippetSettings->values->auth->ldap->port = '1389';
$snippetSettings->values->auth->ldap->bindDN = "cn={$settingMap->auth->username},dc=quickon,dc=org";
$snippetSettings->values->auth->ldap->bindPass = $settingMap->auth->password;
Expand Down

0 comments on commit d541832

Please sign in to comment.