dave icon indicating copy to clipboard operation
dave copied to clipboard

LDAP support

Open tuxBurner opened this issue 7 years ago • 2 comments

Many companies use LDAP as role/authentication managment system. It would be nice if DAVE could provide an ldap integration.

tuxBurner avatar May 22 '18 11:05 tuxBurner

hej @tuxBurner,

first of all, thanks for the idea! I'm glad you're here. 😁

The current project goal is to create a totally simple solution for webdav. I'm not sure yet if LDAP support fulfills exactly this purpose - but I'm not very familiar with the topic either.

Technically this topic could be very interesting, but I'm not sure about it configuration complexity. Can you tell me an approximate number of configuration entries that are necessary for a LDAP connection? As soon as it needs a lot of configuration, I would move it backwards.

Does anyone else have an opinion?

chclaus avatar May 23 '18 19:05 chclaus

Hi @chclaus in one of my projects these are the parameters which i need to know to authenticate a user by its name and password.

host = "ldap://localhost:389"
useStartTLS = false

bind {
  user = "cn=admin,dc=monkeydev,dc=priv"
  pass = "admin"
}

user {
  baseDn = "ou=users,dc=monkeydev,dc=priv"
  filter = "uid={user}"
}

tuxBurner avatar May 24 '18 07:05 tuxBurner