{"action":"opened","issue":{"url":"https://api.github.com/repos/dnhutchins/filelocker/issues/5","labels_url":"https://api.github.com/repos/dnhutchins/filelocker/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dnhutchins/filelocker/issues/5/comments","events_url":"https://api.github.com/repos/dnhutchins/filelocker/issues/5/events","html_url":"https://github.com/dnhutchins/filelocker/issues/5","id":106454229,"number":5,"title":"ldap (AD) Directroy Searching not working","user":{"login":"dnhutchins","id":1268531,"avatar_url":"https://avatars.githubusercontent.com/u/1268531?v=3","gravatar_id":"","url":"https://api.github.com/users/dnhutchins","html_url":"https://github.com/dnhutchins","followers_url":"https://api.github.com/users/dnhutchins/followers","following_url":"https://api.github.com/users/dnhutchins/following{/other_user}","gists_url":"https://api.github.com/users/dnhutchins/gists{/gist_id}","starred_url":"https://api.github.com/users/dnhutchins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnhutchins/subscriptions","organizations_url":"https://api.github.com/users/dnhutchins/orgs","repos_url":"https://api.github.com/users/dnhutchins/repos","events_url":"https://api.github.com/users/dnhutchins/events{/privacy}","received_events_url":"https://api.github.com/users/dnhutchins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-15T00:36:45Z","updated_at":"2015-09-15T00:36:45Z","closed_at":null,"body":"n 2.6 when trying to share a file with a non-registered user from the ldap/AD directory (login is working with LDAP/AD Authentication) data is not pulled from directory.\r\nDirectory is set to LDAP in the config.\r\nSearching for a user pops up a and expansion of the the share file dialog:\r\n\"Can't find who you're looking for?\"\r\n(Checkbox) \"Search the entire MYCOMPANY directory.\"\r\nChecking the box, and typing a known name or user id, brings back no hits, and there are no errors in the log.\r\nDiscussion\r\nSpencer Ryan \r\nSpencer Ryan\r\n2012-06-07\r\nThis is what I see as well. It will look up users who have logged into FileLocker however, it seems to use the LDAP info to try and find the local user object.\r\n \r\nLink\r\n \r\nAnonymous \r\n2012-06-07\r\nI set up a instance of 2.4.5 and ldap directory searching works there, with the same setting. I did have to be more specific about the bind dn as I think originally it was bringing back to many entries.\r\n  \r\nLast edit: Anonymous 2013-11-21\r\nLink\r\nEdit\r\nBrett Davis \r\nBrett Davis \r\n2012-06-08\r\nSo this does work in 2.4.5 and is now broken in 2.6? I haven't had an Active Directory instance to test against during this update, since it's been a bit of a shot in the dark. I'll compare the code for 2.4.5 and see if I can track down what might be causing the discrepancy in whether results are being returned or not.\r\n \r\nLink\r\n \r\nAnonymous \r\n2012-06-08\r\nCorrect, working in 2.4.5 not in 2.6 with same configuration\r\n \r\nLink\r\nEdit\r\n \r\nAnonymous \r\n2012-06-12\r\nAnyway to increase logging, to get some output somewhere of what is going on behind the scenes?\r\n \r\nLink\r\nEdit\r\nRoy McMorran \r\nRoy McMorran \r\n2012-08-06\r\nI'm seeing the same behavior. In my case the LDAP server is OpenDJ rather than AD, but I don't think that matters. I can confirm that no query is issued to the LDAP server, even if the \"Search the entire\"... box is checked. This is 2.6 from SVN r940.\r\n \r\nLink\r\nRyan McGuire \r\nRyan McGuire \r\n2013-06-08\r\nI too am seeing this issue. I get the following error with using revision r954:\r\nDetails: Error while searching for users: 'list' object has no attribute 'get'\r\nI'm connected to an AD domain.\r\n \r\nLink\r\nXorcize \r\nXorcize \r\n2013-12-04\r\nAD returns referral entries which happen to confuse filelocker code. \r\nwe have implemented a fix for this problem. Let me know if you are interested\r\n \r\nLink\r\nMikeK \r\nMikeK \r\n2014-11-17\r\nI have this issue. I'm using AD and Filelocker 2.6. AD integrated authentication works fine, but not the \"search the entire directory\" option. It worked fine in 2.4.5.\r\nI know this is an old thread, but I'm hoping Xorcize or someone else will post a fix.\r\n \r\nLink\r\nDavid Hutchins \r\nDavid Hutchins \r\n2015-04-24\r\nstatus: open --> pending\r\nassigned_to: David Hutchins\r\nGroup: --> v2\r\n \r\nLink\r\nDavid Hutchins \r\nDavid Hutchins \r\n2015-04-24\r\nI realize that this is an old thread. However as I'm closing out as many issues as I can before releasing 2.6, I cannot reproduce this. I'm not sure if it was fixed by some of the other LDAP enhancements, or if my AD config just doesn't trigger the issue. Either way, If any of you folks are still watching this, could you test again with 2.6 from trunk and let me know if it is still an issue? and if so, Xorcize I am interested in seeing how you fixed this.\r\nThanks:\r\n-David"}}