My version of CodiMD is: 2.2
What I expected to happen: Authenticate with Active Directory accounts
Hello, first time user of CodiMD. I’m trying to set up a test instance and want to be able to authenticate with our AD service.
What actually happened:
Followed instructions on setting up environment variables in the docker-compose file. But am unable to login with my AD credentials. Running docker-compose logs -f and it’s not showing any errors.
I already tried:
- CMD_DB_URL=postgres://codimd:@database/codimd
- CMD_USECDN=false
- CMD_DOMAIN=server.cosine.oregonstate.edu
- CMD_PROTOCOL_USESSL=true
- CMD_LDAP_URL=ldap://ad.server.edu
- CMD_LDAP_BINDDN=cn=adproxy-user,OU=pid,DC=ad,DC=oregonstate,DC=edu
- CMD_LDAP_BINDCREDENTIALS=
- CMD_LDAP_SEARCHBASE=OU=pid,DC=ad,DC=oregonstate,DC=edu
- CMD_LDAP_SEARCHFILTER=(&(objectcategory=person)(objectclass=user)(|(sAMAccountName={{use
rname}})(mail={{username}})))
- CMD_LDAP_USERIDFIELD=sAMAccountName
- CMD_LDAP_PROVIDERNAME=ONID Login Name
Looking to see if anyone else has gotten AD auth to work.
Thanks…
Docker version 19.03.12, build 48a66213fe
CentOS 8.2.2004