It works fine if I disable LDAP and log in with a locally created account.
I’m not sure if it’s worth noting, but I am running this via nginx. However, the problem still happens if I disable nginx and use the built-in webserver on port 55414.
2017-03-24 06:11:07: ERROR: Error while enumerating DC users: 1726
2017-03-24 06:11:11: WARNING: Limiting number of DC groups to 101
1726 is probably
RPC_S_CALL_FAILED
1726 (0x6BE)
The remote procedure call failed.
So something with the AD server? The other will be fixed with 2.2.x. Currently it limits the number of enumerated AD users/groups to 100 for performance reasons.
Are LDAP referrals disabled and is it using LDAP version 3? I glanced at the source and didn’t see mention of either. At least with the Python libraries I use, it’s required to set an LDAP option to disable referrals when connecting to AD. Otherwise some LDAP queries will fail.
I may be misunderstanding, but the problem exists server-side, right? It’s the server that is not allowing me access to the Backups tab. My server is running on Linux, but NetUserEnum is a Windows function.
After more testing, I’m hitting the same problem on a clean of the server on Ubuntu 16.04.2. No clients, no other settings changed from their defaults. Just LDAP.
Also, when I enable LDAP for the first time and use the following query…
…the website hangs when trying to save the settings. It appears to save the settings because I am prompted to log in with AD credentials. But that just hangs after submitting, too. At this point, I need to revert the snapshot on the VM in order to use the UrBackup web interface again.
AD login only works at all if I narrow the search, like so…
I’m hitting the same issue. With the following settings on LDAP/AD class rights map I can finally login using LDAP (OpenLDAP) credentials, but just like @trj I can’t access the Backups page. It keeps outputting the token_not_in_session error: