Try defining baseDN for nextcloud to be happy
This commit is contained in:
parent
ab4283ceac
commit
50183c2cba
|
@ -91,6 +91,12 @@ func (s *server) SetDomain(domain string) {
|
|||
}
|
||||
|
||||
// Register routes that are dependent on the namingConvention
|
||||
s.routes.Search(s.handleSearchDSE).
|
||||
BaseDn(strings.Join(s.nc, ",")).
|
||||
Scope(ldap.SearchRequestScopeBaseObject).
|
||||
Filter("(objectclass=*)").
|
||||
Label("Search - ROOT DSE")
|
||||
|
||||
entitySearchDN := "ou=entities," + strings.Join(s.nc, ",")
|
||||
s.routes.Search(s.handleSearchEntities).
|
||||
BaseDn(entitySearchDN).
|
||||
|
|
Loading…
Reference in a new issue