LDAP users not showing [Resolved]

Nextcloud version: 16.04
Operating system and version: Debian9
Apache or nginx version: 2.4.25
PHP version: 7.3

Am doing a test deployment for a possible project that needs LDAP integration with Microsoft AD
The LDAP is configured in the app to only select users from a specific group
Verify settings and count users displays a count of the 6 users in the group
Configuration shows OK
Test login name verifies
I’m able to login with an AD user account

None of the users appear in the interface so I can’t assign them to groups

Seeing the following in the log but no other errors:

TypeError: Argument 1 passed to OCA\User_LDAP\Group_LDAP::walkNestedGroups() must be of the type string, null given, called in /cloud/next/apps/user_ldap/lib/Group_LDAP.php on line 795 at /cloud/next/apps/user_ldap/lib/Group_LDAP.php#283

So I managed to fix this!

There was a specific OU for groups within the AD and the LDAP configuration was pointed at that. We could see all the groups within the LDAP config page but only 3 of the groups were anything to do with the nextcloud.

Once we moved those 3 groups to their own OU and repointed the LDAP group configuration to use only that OU, it all started working ok!