Hi All,
Installing OOD with Dex and am missing something at this stage as I get the login screen but /var/log/messages complains that I am sending an empty passwd.
Note: I have set the bindPW below, it has no special characters to escape and also tried switching to using a working certificate and re-run the update script and restarted dex.
Any help welcom. So close.
Here is the error from login screen:
"
Internal Server Error
Login error: ldap: initial bind for user “CN=svcMK4WebLDAPBind,OU=Service,OU=Accounts,OU=MYWORKPLACE,DC=mcri,DC=edu,DC=au” failed: LDAP Result Code 206 “Empty password not allowed by the client": ldap: empty password not allowed by the client”
from /var/log/messages:
Jan 11 13:22:50 login001 ondemand-dex[598867]: time=“2025-01-11T02:22:50Z” level=error msg=“Failed to login user: ldap: initial bind for user "CN=svcMK4WebLDAPBind,OU=Service,OU=Accounts,OU=MYWORKPLACE,DC=myworkplace,DC=edu,DC=au" failed: LDAP Result Code 206 "Empty password not allowed by the client": ldap: empty password not allowed by the client”
Here is my "/etc/ood/config/ood_portal.yml file and Dex stuff. No other setting as I read it defaults to auth: opened…???
servername: ‘research-cluster.myworkplace.edu.au’
port: ‘443’
client_secret: blahblah from Dex dir
ssl:
- ‘SSLCertificateFile /etc/httpd/ssl/myworkplace/myworkplace.edu.au.cer’
- ‘SSLCertificateKeyFile /etc/httpd/ssl/myworkplace/myworkplace.edu.au.nopass.key’
- ‘SSLCertificateChainFile /etc/httpd/ssl/myworkplace/CACertificate.chain.cer’
dex:
connectors:
- type: ldap
id: ldap
name: LDAP
config:
host: myldapserverv.myworkplace.edu.au:636
#tlsConfig:caCert: “/etc/ssl/certs/ldap-ca.crt”
insecureSkipVerify: false
bindDN: CN= ,OU=Service,OU=Accounts,OU=MYWORKPLACE,DC=mcri,DC=edu,DC=au
userSearch:
baseDN: OU=USERS,OU=HEADQUARTERS,DC=myworkplace,DC=edu,DC=au
bindPW: <my_svcMK4WebLDAPBindPW>
filter: “(objectClass=posixAccount)”
username: uid
idAttr: uid
emailAttr: mail
nameAttr: gecos
preferredUsernameAttr: uid
groupSearch:
baseDN: OU=Groups,OU=MYWORKPLACE,DC=mcri,DC=edu,DC=au
filter: “(objectClass=posixGroup)”
userMatchers:
- userAttr: DN
groupAttr: member
nameAttr: cn
frontend:
theme: ondemand
dir: /usr/share/ondemand-dex/web