@ -35,12 +35,15 @@
< NcTextField
< NcTextField
: model - value = "ldapConfigProxy.ldapHost"
: model - value = "ldapConfigProxy.ldapHost"
: helper - text = "t('user_ldap', 'You can omit the protocol, unless you require SSL. If so, start with ldaps://')"
: helper - text = "t('user_ldap', 'You can omit the protocol, unless you require SSL. If so, start with ldaps://')"
: placeholder = "t('user_ldap', 'Host')"
: label = "t('user_ldap', 'Host')"
: placeholder = "t('user_ldap', 'ldaps://localhost')"
autocomplete = "off"
autocomplete = "off"
@ change = "(event) => ldapConfigProxy.ldapHost = event.target.value" / >
@ change = "(event) => ldapConfigProxy.ldapHost = event.target.value" / >
< div class = "ldap-wizard__server__host__port" >
< div class = "ldap-wizard__server__host__port" >
< NcTextField
< NcTextField
: model - value = "ldapConfigProxy.ldapPort"
: model - value = "ldapConfigProxy.ldapPort"
: label = "t('user_ldap', 'Port')"
: placeholder = "t('user_ldap', '389')"
type = "number"
type = "number"
autocomplete = "off"
autocomplete = "off"
@ change = "(event) => ldapConfigProxy.ldapPort = event.target.value" / >
@ change = "(event) => ldapConfigProxy.ldapPort = event.target.value" / >
@ -53,8 +56,9 @@
< div class = "ldap-wizard__server__line" >
< div class = "ldap-wizard__server__line" >
< NcTextField
< NcTextField
v - model = "localLdapAgentName"
v - model = "localLdapAgentName"
: helper - text = "t('user_ldap', 'The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.')"
: helper - text = "t('user_ldap', 'The DN of the client user with which the bind shall be done. For anonymous access, leave DN and Password empty.')"
: placeholder = "t('user_ldap', 'User DN')"
: label = "t('user_ldap', 'User DN')"
: placeholder = "t('user_ldap', 'uid=agent,dc=example,dc=com')"
autocomplete = "off" / >
autocomplete = "off" / >
< / div >
< / div >
@ -63,7 +67,7 @@
v - model = "localLdapAgentPassword"
v - model = "localLdapAgentPassword"
type = "password"
type = "password"
: helper - text = "t('user_ldap', 'For anonymous access, leave DN and Password empty.')"
: helper - text = "t('user_ldap', 'For anonymous access, leave DN and Password empty.')"
: placeholder = "t('user_ldap', 'Password')"
: label = "t('user_ldap', 'Password')"
autocomplete = "off" / >
autocomplete = "off" / >
< NcButton :disabled ="!needsToSaveCredentials" @click ="updateCredentials" >
< NcButton :disabled ="!needsToSaveCredentials" @click ="updateCredentials" >