server icon indicating copy to clipboard operation
server copied to clipboard

LDAP/AD integration Active Directory user

Open PiotrIr opened this issue 7 years ago • 5 comments

Steps to reproduce

  1. Create user in Active Directory with domain user group membership
  2. User this user for LDAP/AD integration 3.

Expected behaviour

user should be able to connect to the AD

Actual behaviour

User can't read data from AD unless added to domain admin group

Server configuration

Operating system: Ubuntu 18.04

Web server: apache

Database: MariaDB

PHP version: 7.3.1

Nextcloud version: 15.05

Updated from an older Nextcloud/ownCloud or fresh install: Upgraded

Where did you install Nextcloud from: Nextcloud surces

Everything is working fine, all users can login if the active directory user used to read data from LDAP is in domain admin group. At the moment when I remove domain admin group and add domain user, the nextcloud connection to AD is broken. Strange thing is, we have also old Owncloud 9 in our network and with similar settings but with user who is only "domain user" everything is working fine. Could somebody advise me how to fix it please?

PiotrIr avatar May 22 '19 08:05 PiotrIr

@PiotrIr this solely depends on Active Directory. We only to a bind with that user, there is no further filtering. Perhaps some permissions have to be adjusted on AD, idk.

blizzz avatar May 23 '19 10:05 blizzz

Hi blizzz, Thank you for your reply. I would probably agree with you if I wouldn't have Owncloud in the same network. Owncloud is working without any issue on domain user on the same Active Directory and Nextcloud not. There is something strange about this.

PiotrIr avatar May 23 '19 10:05 PiotrIr

I mean, I'm sure the user needs additional permission in Active Directory, but question is what is least privilege required for this? Domain Admin for me is too much.

PiotrIr avatar May 23 '19 10:05 PiotrIr

The user must be able to read in the directory. We are – apart from a couple of non-standardized attributes – LDAP server agnostic.

blizzz avatar May 23 '19 15:05 blizzz

I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.

szaimen avatar May 20 '21 13:05 szaimen