No items returned
pmow opened this issue · 2 comments
pmow commented
Hello,
My ldapsearch requests are coming up empty, and I see nothing beyond the initial load in the logs. I'm using the docker container, and options being passed to ldap-for-plex are:
/opt/LDAP-for-Plex/config # cat options.json
{
"debug": true,
"port": 2389,
"host": "0.0.0.0",
"rootDN": "ou=users, o=plex.tv",
"plexToken": "[removed]",
"plexMachineID": "ba28a71e-74a2-4957-b36c-59960c3bb1c9",
"plexServerName": "RanchoGrande"
}
ldapsearch seems to be making the connection, but doesn't find anything whether or not I include filters (included in the example below)
ldapsearch -x -P 2 -H 'ldap://localhost:2389' 'ou=users,o=plex.tv'
# extended LDIF
#
# LDAPv2
# base <> (default) with scope subtree
# filter: ou=users,o=plex.tv
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
text: No tree found for:
# numResponses: 1
Am I doing something wrong?
hjone72 commented
pmow commented
I can confirm results using the -b switch. Although it seems I wasted your time, maybe this will serve to help others and you certainly helped me in my troubleshooting. Thank you!