{"action":"created","comment":{"url":"https://api.github.com/repos/github/github-ldap/pulls/comments/70157656","id":70157656,"diff_hunk":"@@ -0,0 +1,18 @@\n+require_relative 'test_helper'\n+\n+class GitHubLdapForestSearchTest < GitHub::Ldap::Test\n+  def setup\n+    @connection = Net::LDAP.new({\n+      host: options[:host],\n+      port: options[:port],\n+      instrumentation_service: options[:instrumentation_service]\n+    })\n+    #@connection.stub(:search, {}, ['search-forest'])\n+    @forest_search = GitHub::Ldap::ForestSearch.new(@connection, \"naming\")\n+  end\n+\n+  def test_search","path":"test/forest_search_test.rb","position":14,"original_position":14,"commit_id":"186fa8b211f609ebb5268c12210f9579ad7d2874","original_commit_id":"186fa8b211f609ebb5268c12210f9579ad7d2874","user":{"login":"davesims","id":122950,"avatar_url":"https://avatars.githubusercontent.com/u/122950?v=3","gravatar_id":"","url":"https://api.github.com/users/davesims","html_url":"https://github.com/davesims","followers_url":"https://api.github.com/users/davesims/followers","following_url":"https://api.github.com/users/davesims/following{/other_user}","gists_url":"https://api.github.com/users/davesims/gists{/gist_id}","starred_url":"https://api.github.com/users/davesims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davesims/subscriptions","organizations_url":"https://api.github.com/users/davesims/orgs","repos_url":"https://api.github.com/users/davesims/repos","events_url":"https://api.github.com/users/davesims/events{/privacy}","received_events_url":"https://api.github.com/users/davesims/received_events","type":"User","site_admin":true},"body":"🚧 WIP 🚧 ","created_at":"2016-07-09T00:21:25Z","updated_at":"2016-07-09T00:21:25Z","html_url":"https://github.com/github/github-ldap/pull/91#discussion_r70157656","pull_request_url":"https://api.github.com/repos/github/github-ldap/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/github/github-ldap/pulls/comments/70157656"},"html":{"href":"https://github.com/github/github-ldap/pull/91#discussion_r70157656"},"pull_request":{"href":"https://api.github.com/repos/github/github-ldap/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/github/github-ldap/pulls/91","id":76699384,"html_url":"https://github.com/github/github-ldap/pull/91","diff_url":"https://github.com/github/github-ldap/pull/91.diff","patch_url":"https://github.com/github/github-ldap/pull/91.patch","issue_url":"https://api.github.com/repos/github/github-ldap/issues/91","number":91,"state":"open","locked":false,"title":"Support Active Directory Forest searches","user":{"login":"davesims","id":122950,"avatar_url":"https://avatars.githubusercontent.com/u/122950?v=3","gravatar_id":"","url":"https://api.github.com/users/davesims","html_url":"https://github.com/davesims","followers_url":"https://api.github.com/users/davesims/followers","following_url":"https://api.github.com/users/davesims/following{/other_user}","gists_url":"https://api.github.com/users/davesims/gists{/gist_id}","starred_url":"https://api.github.com/users/davesims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davesims/subscriptions","organizations_url":"https://api.github.com/users/davesims/orgs","repos_url":"https://api.github.com/users/davesims/repos","events_url":"https://api.github.com/users/davesims/events{/privacy}","received_events_url":"https://api.github.com/users/davesims/received_events","type":"User","site_admin":true},"body":"Creating a new PR to continue the work started by @timmjd on https://github.com/github/github-ldap/pull/89. We can move forward on this with an internal branch instead of an external fork.\r\n\r\nTODO: \r\n- [ ] Unit tests\r\n- [x] Test with a regular single-DC environment.\r\n- [ ] Test against an internal AD forest environment\r\n- [x] Test against OpenLDAP\r\n- [ ] Integration tests if possible (working on Vagrant + PowerShell script to build AD forest)\r\n\r\n/cc @gnawhleinad @mtodd @jch ","created_at":"2016-07-08T04:07:58Z","updated_at":"2016-07-09T00:21:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72b025f13b158c3938b867540910b06489bdd499","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/github/github-ldap/pulls/91/commits","review_comments_url":"https://api.github.com/repos/github/github-ldap/pulls/91/comments","review_comment_url":"https://api.github.com/repos/github/github-ldap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/github-ldap/issues/91/comments","statuses_url":"https://api.github.com/repos/github/github-ldap/statuses/186fa8b211f609ebb5268c12210f9579ad7d2874","head":{"label":"github:feature/multi_domain","ref":"feature/multi_domain","sha":"186fa8b211f609ebb5268c12210f9579ad7d2874","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":11240782,"name":"github-ldap","full_name":"github/github-ldap","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/github-ldap","description":"LDAP client for humans. Part of GitHub Enterprise.","fork":false,"url":"https://api.github.com/repos/github/github-ldap","forks_url":"https://api.github.com/repos/github/github-ldap/forks","keys_url":"https://api.github.com/repos/github/github-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/github-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/github-ldap/teams","hooks_url":"https://api.github.com/repos/github/github-ldap/hooks","issue_events_url":"https://api.github.com/repos/github/github-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/github/github-ldap/events","assignees_url":"https://api.github.com/repos/github/github-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/github/github-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/github/github-ldap/tags","blobs_url":"https://api.github.com/repos/github/github-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/github-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/github-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/github-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/github-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/github/github-ldap/languages","stargazers_url":"https://api.github.com/repos/github/github-ldap/stargazers","contributors_url":"https://api.github.com/repos/github/github-ldap/contributors","subscribers_url":"https://api.github.com/repos/github/github-ldap/subscribers","subscription_url":"https://api.github.com/repos/github/github-ldap/subscription","commits_url":"https://api.github.com/repos/github/github-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/github-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/github-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/github-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/github-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/github/github-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/github-ldap/merges","archive_url":"https://api.github.com/repos/github/github-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/github-ldap/downloads","issues_url":"https://api.github.com/repos/github/github-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/github/github-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/github/github-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/github/github-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/github-ldap/labels{/name}","releases_url":"https://api.github.com/repos/github/github-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/github/github-ldap/deployments","created_at":"2013-07-07T21:50:26Z","updated_at":"2016-06-28T13:40:00Z","pushed_at":"2016-07-09T00:15:12Z","git_url":"git://github.com/github/github-ldap.git","ssh_url":"git@github.com:github/github-ldap.git","clone_url":"https://github.com/github/github-ldap.git","svn_url":"https://github.com/github/github-ldap","homepage":"","size":325,"stargazers_count":114,"watchers_count":114,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":7,"forks":20,"open_issues":7,"watchers":114,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"c3b2401634e169434f80514d156aae02d72dc339","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":11240782,"name":"github-ldap","full_name":"github/github-ldap","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/github-ldap","description":"LDAP client for humans. Part of GitHub Enterprise.","fork":false,"url":"https://api.github.com/repos/github/github-ldap","forks_url":"https://api.github.com/repos/github/github-ldap/forks","keys_url":"https://api.github.com/repos/github/github-ldap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/github-ldap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/github-ldap/teams","hooks_url":"https://api.github.com/repos/github/github-ldap/hooks","issue_events_url":"https://api.github.com/repos/github/github-ldap/issues/events{/number}","events_url":"https://api.github.com/repos/github/github-ldap/events","assignees_url":"https://api.github.com/repos/github/github-ldap/assignees{/user}","branches_url":"https://api.github.com/repos/github/github-ldap/branches{/branch}","tags_url":"https://api.github.com/repos/github/github-ldap/tags","blobs_url":"https://api.github.com/repos/github/github-ldap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/github-ldap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/github-ldap/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/github-ldap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/github-ldap/statuses/{sha}","languages_url":"https://api.github.com/repos/github/github-ldap/languages","stargazers_url":"https://api.github.com/repos/github/github-ldap/stargazers","contributors_url":"https://api.github.com/repos/github/github-ldap/contributors","subscribers_url":"https://api.github.com/repos/github/github-ldap/subscribers","subscription_url":"https://api.github.com/repos/github/github-ldap/subscription","commits_url":"https://api.github.com/repos/github/github-ldap/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/github-ldap/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/github-ldap/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/github-ldap/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/github-ldap/contents/{+path}","compare_url":"https://api.github.com/repos/github/github-ldap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/github-ldap/merges","archive_url":"https://api.github.com/repos/github/github-ldap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/github-ldap/downloads","issues_url":"https://api.github.com/repos/github/github-ldap/issues{/number}","pulls_url":"https://api.github.com/repos/github/github-ldap/pulls{/number}","milestones_url":"https://api.github.com/repos/github/github-ldap/milestones{/number}","notifications_url":"https://api.github.com/repos/github/github-ldap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/github-ldap/labels{/name}","releases_url":"https://api.github.com/repos/github/github-ldap/releases{/id}","deployments_url":"https://api.github.com/repos/github/github-ldap/deployments","created_at":"2013-07-07T21:50:26Z","updated_at":"2016-06-28T13:40:00Z","pushed_at":"2016-07-09T00:15:12Z","git_url":"git://github.com/github/github-ldap.git","ssh_url":"git@github.com:github/github-ldap.git","clone_url":"https://github.com/github/github-ldap.git","svn_url":"https://github.com/github/github-ldap","homepage":"","size":325,"stargazers_count":114,"watchers_count":114,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":7,"forks":20,"open_issues":7,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/github-ldap/pulls/91"},"html":{"href":"https://github.com/github/github-ldap/pull/91"},"issue":{"href":"https://api.github.com/repos/github/github-ldap/issues/91"},"comments":{"href":"https://api.github.com/repos/github/github-ldap/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/github/github-ldap/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/github/github-ldap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/github-ldap/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/github/github-ldap/statuses/186fa8b211f609ebb5268c12210f9579ad7d2874"}}}}
{"actor":{"display_login":"davesims"}}