Hi @travert I ended up deleting everything deepops setup and installing ood from scratch using the new .deb files.
Right now to try and get ldap to work I have tired a few different things but nothing seems to work:
enable ldap logs in /etc/apache2/apache2.conf (no ldap logs other than user … not found: /pun/sys/dashboard)
Loglevel debug ldap_module:debug
Loglevel debug authnz_ldap_module:debug
working ldapsearch for People groups and specific test user:
ldapsearch -x -H ldap://169.226.68.133 -b “ou=Groups,dc=xcitedb,dc=ASRC,dc=ALBANY,dc=EDU”
ldapsearch -x -H ldap://169.226.68.133 -b “ou=People,dc=xcitedb,dc=ASRC,dc=ALBANY,dc=EDU”
ldapsearch -x -H ldap://169.226.68.133 -b “dc=xcitedb,dc=ASRC,dc=ALBANY,dc=EDU” “(uid=xcite)” | less
auth: in /etc/ood/config/ood_portal.yml (commented out lines are what I have tried)
auth:
- 'AuthType Basic'
- 'AuthName "test"'
- 'AuthBasicProvider ldap'
- 'AuthLDAPUrl "ldap://xcitedb.asrc.albany.edu:389/OU=People,DC=xcitedb,DC=ASRC,DC=ALBANY,DC=EDU?sAMAccountName"'
# - 'AuthLDAPURL "ldap://xcitedb.asrc.albany.edu:389/OU=People,DC=xcitedb,DC=ASRC,DC=ALBANY,DC=EDU?uid"'
# - 'AuthLDAPGroupAttribute cn'
# - 'AuthLDAPGroupAttributeIsDN on'
- 'Require valid-user'
# - 'AuthLDAPBindDN "dc=xcitedb,dc=asrc,dc=albany,dc=edu"'
- 'AuthLDAPBindDN "cn=admin,ou=People,dc=xcitedb,dc=asrc,dc=albany,dc=edu"'
- 'AuthLDAPBindPassword "****"'
original dex config I tried in /etc/ood/config/ood_portal.yml (commented out right now while testing above)
#dex:
# connectors:
# - type: ldap
# id: ldap
# name: LDAP
# config:
# host: 169.226.68.133
# insecureSkipVerify: true
# bindDN: cn=admin,dc=xcitedb,dc=asrc,dc=albany,dc=edu
# bindPW: *****
# userSearch:
# baseDN: ou=People,dc=xcitedb,dc=asrc,dc=albany,dc=edu
# filter: "(objectClass=posixAccount)"
# username: uid
# idAttr: uid
# emailAttr: mail
# nameAttr: gecos
# preferredUsernameAttr: uid
# groupSearch:
# baseDN: ou=Groups,dc=xcitedb,dc=asrc,dc=albany,dc=edu
# filter: "(objectClass=posixGroup)"
# userMatchers:
# - userAttr: DN
# groupAttr: member
# nameAttr: cn
# frontend:
# theme: ondemand
# dir: /usr/share/ondemand-dex/web
Not sure what to try next or what logs to look at