# Active Directory with users GUID and DAV issues

**URL:** <https://help.nextcloud.com/t/active-directory-with-users-guid-and-dav-issues/93191>\
**Category:** ℹ️ Support\
**Tags:** nc19, ldap, nc18-nextcloud-hub\
**Created:** [September 25, 2020, 11:05am UTC](https://help.nextcloud.com/t/active-directory-with-users-guid-and-dav-issues/93191 "2020-09-25T11:05:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzidek23](https://help.nextcloud.com/letter_avatar/dzidek23/32/6_449c533f586939b6e5f246632a46421f.png) [@dzidek23](https://help.nextcloud.com/u/dzidek23)\
**Post date:** [September 25, 2020, 11:05am UTC](https://help.nextcloud.com/t/active-directory-with-users-guid-and-dav-issues/93191/1 "2020-09-25T11:05:00Z")

</div>

Hello,  
I connected my nextcloud instance to an AD (run on Server 2008R2) and have issues with accessing DAV files for the AD users.

The list of users is complete with all showing correctly (their GUID and name in first column), here I can assign them to groups etc.  
Problem starts with their data folders because they have guid rather than the username. I’ve managed to get round this by using ‘samAccountName’ in advanced settings to override home folder name.  
Now when I want to connect to DAV… Nextcloud offers me this:

```auto
WebDAV http://nextcloud.xxx.local/remote.php/dav/files/97D37C38-DE5D-4BC9-9531-5CSSS15C5968/

```

This doesn’t get connected to the right place. Windows File Explorer accepts username and password but shows empty folder with no rights.

Users can login to nextcloud using their puid and password and files are stored in their correct home folder.

Tested with Nextcloud **19.0.3** and **18.0.9** all exactly the same.

```auto
LDAP settings:
Users: (|(objectclass=organizationalPerson)(objectclass=person)) 
Login Attr: (&(|(objectclass=organizationalPerson)(objectclass=person))(samaccountname=%uid))

```

Operating system and version: Ubuntu 20.04  
Apache or nginx version: Apache 2.4.41  
PHP version: 7.4

Could this have something to do with my system configuration, as described here:

> [@LXD and curl SSL issues 'cURL error 35'](https://help.nextcloud.com/t/lxd-and-curl-ssl-issues-curl-error-35/93185):
>
> Hi, I decided to run Nextcloud in an LXD container for some system separation. The container has two cards attached eth0 and eth1 (both bridged from host ports). Eth0 in 192.x.x.x can reach the Internet Eth1 in 10.x.x.x is only routed to local LAN When I connect to Nextcloud from the 192.x.x.x network I get full access, can download apps, users from LAN AD are found and can connect. However if I connect to the instance from 10.x.x.x I don’t get apps thumbnails nor can install any with cURL…

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 9:59am UTC](https://help.nextcloud.com/t/active-directory-with-users-guid-and-dav-issues/93191/2 "2024-12-12T09:59:15Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 9:59am UTC](https://help.nextcloud.com/t/active-directory-with-users-guid-and-dav-issues/93191/3 "2024-12-12T09:59:16Z")

</div>


