Add Gitlab::LDAP::Adapter.open
Add Gitlab::LDAP::Adapter.open

This new method is based on Net::LDAP.open, which reuses a single LDAP
connection.

jrjang/gitlabhq,openwide-java/gitlabhq,folpindo/gitlabhq,jrjang/gitlab-ce,fgbreel/gitlabhq,shinexiao/gitlabhq,ayufan/gitlabhq,tk23/gitlabhq,zrbsprite/gitlabhq,fscherwi/gitlabhq,zrbsprite/gitlabhq,SVArago/gitlabhq,louahola/gitlabhq,szechyjs/gitlabhq,joalmeid/gitlabhq,bbodenmiller/gitlabhq,rhels/gitlabhq,wangcan2014/gitlabhq,darkrasid/gitlabhq,H3Chief/gitlabhq,iiet/iiet-git,cui-liqiang/gitlab-ce,mmkassem/gitlabhq,Burick/gitlabhq,bladealslayer/gitlabhq,SVArago/gitlabhq,sakishum/gitlabhq,darkrasid/gitlabhq,NuLL3rr0r/gitlabhq,k4zzk/gitlabhq,LUMC/gitlabhq,ikappas/gitlabhq,tim-hoff/gitlabhq,screenpages/gitlabhq,childbamboo/gitlabhq,sekcheong/gitlabhq,TheWatcher/gitlabhq,theonlydoo/gitlabhq,youprofit/gitlabhq,jvanbaarsen/gitlabhq,screenpages/gitlabhq,whluwit/gitlabhq,cinderblock/gitlabhq,MauriceMohlek/gitlabhq,Datacom/gitlabhq,johnmyqin/gitlabhq,williamherry/gitlabhq,kitech/gitlabhq,initiummedia/gitlabhq,aaronsnyder/gitlabhq,nmav/gitlabhq,iiet/iiet-git,jaepyoung/gitlabhq,flashbuckets/gitlabhq,it33/gitlabhq,manfer/gitlabhq,aaronsnyder/gitlabhq,yama07/gitlabhq,copystudy/gitlabhq,yama07/gitlabhq,initiummedia/gitlabhq,martijnvermaat/gitlabhq,MauriceMohlek/gitlabhq,Tyrael/gitlabhq,ordiychen/gitlabhq,Telekom-PD/gitlabhq,dwrensha/gitlabhq,sideci-sample/sideci-sample-gitlabhq,lvfeng1130/gitlabhq,revaret/gitlabhq,martijnvermaat/gitlabhq,screenpages/gitlabhq,Tyrael/gitlabhq,TheWatcher/gitlabhq,Soullivaneuh/gitlabhq,bbodenmiller/gitlabhq,t-zuehlsdorff/gitlabhq,rfeese/gitlab-ce,koreamic/gitlabhq,mrb/gitlabhq,kemenaran/gitlabhq,fscherwi/gitlabhq,ayufan/gitlabhq,gopeter/gitlabhq,zBMNForks/gitlabhq,cncodog/gitlab,theodi/gitlabhq,axilleas/gitlabhq,manfer/gitlabhq,yatish27/gitlabhq,Devin001/gitlabhq,mente/gitlabhq,tim-hoff/gitlabhq,julianengel/gitlabhq,Razer6/gitlabhq,pulkit21/gitlabhq,WSDC-NITWarangal/gitlabhq,eliasp/gitlabhq,pulkit21/gitlabhq,liyakun/gitlabhq,cinderblock/gitlabhq,tim-hoff/gitlabhq,mente/gitlabhq,Razer6/gitlabhq,larryli/gitlabhq,williamherry/gitlabhq,dukex/gitlabhq,NARKOZ/gitlabhq,ikappas/gitlabhq,michaKFromParis/gitlabhqold,nguyen-tien-mulodo/gitlabhq,ksoichiro/gitlabhq,yuyue2013/ss,DanielZhangQingLong/gitlabhq,Kambda/Mobbr,jrjang/gitlab-ce,revaret/gitlabhq,cui-liqiang/gitlab-ce,DanielZhangQingLong/gitlabhq,stellamiranda/mobbr-gitlabhq,Devin001/gitlabhq,dwrensha/gitlabhq,Razer6/gitlabhq,aaronsnyder/gitlabhq,hacsoc/gitlabhq,cncodog/gitlab,delkyd/gitlabhq,michaKFromParis/sparkslab,SkyWei/gitlabhq,darkrasid/gitlabhq,stellamiranda/mobbr-gitlabhq,nmav/gitlabhq,larryli/gitlabhq,fgbreel/gitlabhq,ibiart/gitlabhq,pjknkda/gitlabhq,wangcan2014/gitlabhq,fendoudeqingchunhh/gitlabhq,mathstuf/gitlabhq,since2014/gitlabhq,icedwater/gitlabhq,yatish27/gitlabhq,martinma4/gitlabhq,fgbreel/gitlabhq,koreamic/gitlabhq,Telekom-PD/gitlabhq,t-zuehlsdorff/gitlabhq,jrjang/gitlabhq,lvfeng1130/gitlabhq,fgbreel/gitlabhq,mavimo/gitlabhq,tempbottle/gitlabhq,liyakun/gitlabhq,michaKFromParis/sparkslab,whluwit/gitlabhq,adaiguoguo/gitlab_globalserarch,allysonbarros/gitlabhq,liyakun/gitlabhq,fscherwi/gitlabhq,OtkurBiz/gitlabhq,ngpestelos/gitlabhq,jirutka/gitlabhq,cui-liqiang/gitlab-ce,michaKFromParis/gitlabhqold,fpgentil/gitlabhq,salipro4ever/gitlabhq,bbodenmiller/gitlabhq,rhels/gitlabhq,hacsoc/gitlabhq,Exeia/gitlabhq,123Haynes/gitlabhq,per-garden/gitlabhq,yulchitaj/TEST3,allistera/gitlabhq,stanhu/gitlabhq,pjknkda/gitlabhq,youprofit/gitlabhq,ttasanen/gitlabhq,dreampet/gitlab,Keystion/gitlabhq,kitech/gitlabhq,vjustov/gitlabhq,adaiguoguo/gitlab_globalserarch,Devin001/gitlabhq,ferdinandrosario/gitlabhq,atomaka/gitlabhq,whluwit/gitlabhq,atomaka/gitlabhq,8thcolor/testing-public-gitlabhq,phinfonet/mobbr-gitlabhq,fantasywind/gitlabhq,k4zzk/gitlabhq,eliasp/gitlabhq,folpindo/gitlabhq,ayufan/gitlabhq,yonglehou/gitlabhq,NARKOZ/gitlabhq,allistera/gitlabhq,lvfeng1130/gitlabhq,pkallberg/tjenare,mavimo/gitlabhq,mrb/gitlabhq,nguyen-tien-mulodo/gitlabhq,LytayTOUCH/gitlabhq,stanhu/gitlabhq,rebecamendez/gitlabhq,Burick/gitlabhq,iiet/iiet-git,pjknkda/gitlabhq,LytayTOUCH/gitlabhq,rhels/gitlabhq,louahola/gitlabhq,revaret/gitlabhq,Tyrael/gitlabhq,pkallberg/tjenare,fantasywind/gitlabhq,yama07/gitlabhq,gopeter/gitlabhq,rhels/gitlabhq,allysonbarros/gitlabhq,vjustov/gitlabhq,pulkit21/gitlabhq,chadyred/gitlabhq,zBMNForks/gitlabhq,adaiguoguo/gitlab_globalserarch,fearenales/gitlabhq,initiummedia/gitlabhq,windymid/test2,salipro4ever/gitlabhq,xuvw/gitlabhq,rumpelsepp/gitlabhq,dwrensha/gitlabhq,yatish27/gitlabhq,LytayTOUCH/gitlabhq,sue445/gitlabhq,dvrylc/gitlabhq,copystudy/gitlabhq,per-garden/gitlabhq,LUMC/gitlabhq,nguyen-tien-mulodo/gitlabhq,fendoudeqingchunhh/gitlabhq,t-zuehlsdorff/gitlabhq,SkyWei/gitlabhq,bladealslayer/gitlabhq,htve/GitlabForChinese,michaKFromParis/gitlabhq,wangcan2014/gitlabhq,ferdinandrosario/gitlabhq,DanielZhangQingLong/gitlabhq,mr-dxdy/gitlabhq,phinfonet/mobbr-gitlabhq,larryli/gitlabhq,Datacom/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,initiummedia/gitlabhq,chenrui2014/gitlabhq,NKMR6194/gitlabhq,kitech/gitlabhq,Soullivaneuh/gitlabhq,NKMR6194/gitlabhq,ferdinandrosario/gitlabhq,SkyWei/gitlabhq,MauriceMohlek/gitlabhq,mmkassem/gitlabhq,SVArago/gitlabhq,fscherwi/gitlabhq,dukex/gitlabhq,sakishum/gitlabhq,hzy001/gitlabhq,sonalkr132/gitlabhq,mente/gitlabhq,copystudy/gitlabhq,since2014/gitlabhq,fantasywind/gitlabhq,sakishum/gitlabhq,Kambda/mobbr-gitlabhq,Kambda/Mobbr,salipro4ever/gitlabhq,adaiguoguo/gitlab_globalserarch,cinderblock/gitlabhq,yonglehou/gitlabhq,tk23/gitlabhq,TheWatcher/gitlabhq,theonlydoo/gitlabhq,fearenales/gitlabhq,ksoichiro/gitlabhq,gorgee/gitlabhq,Burick/gitlabhq,jrjang/gitlab-ce,jirutka/gitlabhq,yonglehou/gitlabhq,daiyu/gitlab-zh,rebecamendez/gitlabhq,ngpestelos/gitlabhq,sue445/gitlabhq,kotaro-dev/gitlab-6-9,yfaizal/gitlabhq,hzy001/gitlabhq,cncodog/gitlab,ferdinandrosario/gitlabhq,youprofit/gitlabhq,johnmyqin/gitlabhq,mrb/gitlabhq,Burick/gitlabhq,axilleas/gitlabhq,tk23/gitlabhq,xuvw/gitlabhq,martinma4/gitlabhq,Razer6/gitlabhq,gopeter/gitlabhq,theonlydoo/gitlabhq,sue445/gitlabhq,axilleas/gitlabhq,mavimo/gitlabhq,H3Chief/gitlabhq,123Haynes/gitlabhq,delkyd/gitlabhq,fendoudeqingchunhh/gitlabhq,daiyu/gitlab-zh,michaKFromParis/gitlabhq,theonlydoo/gitlabhq,sideci-sample/sideci-sample-gitlabhq,jvanbaarsen/gitlabhq,szechyjs/gitlabhq,gopeter/gitlabhq,cncodog/gitlab,phinfonet/mobbr-gitlabhq,ordiychen/gitlabhq,mavimo/gitlabhq,OlegGirko/gitlab-ce,NuLL3rr0r/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,yulchitaj/TEST3,Keystion/gitlabhq,fpgentil/gitlabhq,duduribeiro/gitlabhq,nmav/gitlabhq,vjustov/gitlabhq,kotaro-dev/gitlab-6-9,childbamboo/gitlabhq,screenpages/gitlabhq,chenrui2014/gitlabhq,vjustov/gitlabhq,daiyu/gitlab-zh,shinexiao/gitlabhq,yama07/gitlabhq,bigsurge/gitlabhq,Keystion/gitlabhq,bbodenmiller/gitlabhq,childbamboo/gitlabhq,stoplightio/gitlabhq,sekcheong/gitlabhq,stanhu/gitlabhq,dplarson/gitlabhq,stoplightio/gitlabhq,joalmeid/gitlabhq,H3Chief/gitlabhq,szechyjs/gitlabhq,dplarson/gitlabhq,cinderblock/gitlabhq,Exeia/gitlabhq,hacsoc/gitlabhq,ngpestelos/gitlabhq,fantasywind/gitlabhq,123Haynes/gitlabhq,darkrasid/gitlabhq,liyakun/gitlabhq,ngpestelos/gitlabhq,mathstuf/gitlabhq,luzhongyang/gitlabhq,michaKFromParis/gitlabhqold,luzhongyang/gitlabhq,julianengel/gitlabhq,dplarson/gitlabhq,folpindo/gitlabhq,rumpelsepp/gitlabhq,martinma4/gitlabhq,OtkurBiz/gitlabhq,dplarson/gitlabhq,fearenales/gitlabhq,Exeia/gitlabhq,rfeese/gitlab-ce,mathstuf/gitlabhq,martijnvermaat/gitlabhq,youprofit/gitlabhq,rfeese/gitlab-ce,tk23/gitlabhq,mathstuf/gitlabhq,MauriceMohlek/gitlabhq,yulchitaj/TEST3,yfaizal/gitlabhq,stanhu/gitlabhq,ordiychen/gitlabhq,mmkassem/gitlabhq,rumpelsepp/gitlabhq,Kambda/mobbr-gitlabhq,ikappas/gitlabhq,akumetsuv/gitlab,ibiart/gitlabhq,sonalkr132/gitlabhq,kemenaran/gitlabhq,whluwit/gitlabhq,allistera/gitlabhq,koreamic/gitlabhq,theodi/gitlabhq,michaKFromParis/gitlabhq,mr-dxdy/gitlabhq,mrb/gitlabhq,xuvw/gitlabhq,williamherry/gitlabhq,Kambda/Mobbr,dreampet/gitlab,manfer/gitlabhq,Tyrael/gitlabhq,windymid/test2,chadyred/gitlabhq,williamherry/gitlabhq,Soullivaneuh/gitlabhq,NuLL3rr0r/gitlabhq,k4zzk/gitlabhq,ZeoAlliance/gitlabhq,pjknkda/gitlabhq,dukex/gitlabhq,sakishum/gitlabhq,Kambda/mobbr-gitlabhq,Devin001/gitlabhq,luzhongyang/gitlabhq,allistera/gitlabhq,shinexiao/gitlabhq,since2014/gitlabhq,LUMC/gitlabhq,NKMR6194/gitlabhq,mr-dxdy/gitlabhq,flashbuckets/gitlabhq,dvrylc/gitlabhq,larryli/gitlabhq,atomaka/gitlabhq,kotaro-dev/gitlab-6-9,SVArago/gitlabhq,childbamboo/gitlabhq,louahola/gitlabhq,hzy001/gitlabhq,jvanbaarsen/gitlabhq,theodi/gitlabhq,zBMNForks/gitlabhq,rebecamendez/gitlabhq,yfaizal/gitlabhq,salipro4ever/gitlabhq,chenrui2014/gitlabhq,rebecamendez/gitlabhq,luzhongyang/gitlabhq,joalmeid/gitlabhq,ibiart/gitlabhq,zrbsprite/gitlabhq,mr-dxdy/gitlabhq,joalmeid/gitlabhq,ordiychen/gitlabhq,jaepyoung/gitlabhq,jrjang/gitlabhq,hzy001/gitlabhq,ksoichiro/gitlabhq,bozaro/gitlabhq,julianengel/gitlabhq,per-garden/gitlabhq,axilleas/gitlabhq,bladealslayer/gitlabhq,shinexiao/gitlabhq,sonalkr132/gitlabhq,jrjang/gitlab-ce,yulchitaj/TEST3,hq804116393/gitlabhq,michaKFromParis/gitlabhq,pulkit21/gitlabhq,fpgentil/gitlabhq,kemenaran/gitlabhq,LUMC/gitlabhq,nguyen-tien-mulodo/gitlabhq,wangcan2014/gitlabhq,LytayTOUCH/gitlabhq,openwide-java/gitlabhq,jaepyoung/gitlabhq,htve/GitlabForChinese,ayufan/gitlabhq,bozaro/gitlabhq,Datacom/gitlabhq,yatish27/gitlabhq,julianengel/gitlabhq,louahola/gitlabhq,8thcolor/testing-public-gitlabhq,folpindo/gitlabhq,jaepyoung/gitlabhq,flashbuckets/gitlabhq,hq804116393/gitlabhq,htve/GitlabForChinese,yonglehou/gitlabhq,openwide-java/gitlabhq,chenrui2014/gitlabhq,gorgee/gitlabhq,delkyd/gitlabhq,OtkurBiz/gitlabhq,gorgee/gitlabhq,hacsoc/gitlabhq,mente/gitlabhq,ikappas/gitlabhq,it33/gitlabhq,it33/gitlabhq,per-garden/gitlabhq,pkallberg/tjenare,johnmyqin/gitlabhq,gorgee/gitlabhq,NARKOZ/gitlabhq,OlegGirko/gitlab-ce,ttasanen/gitlabhq,openwide-java/gitlabhq,OtkurBiz/gitlabhq,sue445/gitlabhq,pkgr/gitlabhq,k4zzk/gitlabhq,pkgr/gitlabhq,revaret/gitlabhq,H3Chief/gitlabhq,sideci-sample/sideci-sample-gitlabhq,ttasanen/gitlabhq,sekcheong/gitlabhq,Telekom-PD/gitlabhq,bigsurge/gitlabhq,fpgentil/gitlabhq,ksoichiro/gitlabhq,icedwater/gitlabhq,Datacom/gitlabhq,bigsurge/gitlabhq,delkyd/gitlabhq,yfaizal/gitlabhq,t-zuehlsdorff/gitlabhq,manfer/gitlabhq,zrbsprite/gitlabhq,martinma4/gitlabhq,hq804116393/gitlabhq,nmav/gitlabhq,sonalkr132/gitlabhq,it33/gitlabhq,dreampet/gitlab,sekcheong/gitlabhq,kemenaran/gitlabhq,since2014/gitlabhq,NARKOZ/gitlabhq,tempbottle/gitlabhq,Soullivaneuh/gitlabhq,TheWatcher/gitlabhq,akumetsuv/gitlab,michaKFromParis/sparkslab,pkgr/gitlabhq,Telekom-PD/gitlabhq,jirutka/gitlabhq,ttasanen/gitlabhq,fendoudeqingchunhh/gitlabhq,windymid/test2,duduribeiro/gitlabhq,rfeese/gitlab-ce,lvfeng1130/gitlabhq,martijnvermaat/gitlabhq,eliasp/gitlabhq,ZeoAlliance/gitlabhq,fearenales/gitlabhq,allysonbarros/gitlabhq,cui-liqiang/gitlab-ce,Keystion/gitlabhq,dvrylc/gitlabhq,icedwater/gitlabhq,zBMNForks/gitlabhq,bozaro/gitlabhq,chadyred/gitlabhq,chadyred/gitlabhq,michaKFromParis/gitlabhqold,johnmyqin/gitlabhq,jvanbaarsen/gitlabhq,8thcolor/testing-public-gitlabhq,OlegGirko/gitlab-ce,hq804116393/gitlabhq,akumetsuv/gitlab,daiyu/gitlab-zh,DanielZhangQingLong/gitlabhq,icedwater/gitlabhq,WSDC-NITWarangal/gitlabhq,yuyue2013/ss,michaKFromParis/sparkslab,Exeia/gitlabhq,WSDC-NITWarangal/gitlabhq,eliasp/gitlabhq,OlegGirko/gitlab-ce,WSDC-NITWarangal/gitlabhq,rumpelsepp/gitlabhq,bozaro/gitlabhq,htve/GitlabForChinese,ZeoAlliance/gitlabhq,stellamiranda/mobbr-gitlabhq,SkyWei/gitlabhq,allysonbarros/gitlabhq,duduribeiro/gitlabhq,jirutka/gitlabhq,NKMR6194/gitlabhq,dwrensha/gitlabhq,tim-hoff/gitlabhq,mmkassem/gitlabhq,dukex/gitlabhq,yuyue2013/ss,bigsurge/gitlabhq,yuyue2013/ss,copystudy/gitlabhq,szechyjs/gitlabhq,flashbuckets/gitlabhq,dvrylc/gitlabhq,jrjang/gitlabhq,tempbottle/gitlabhq,aaronsnyder/gitlabhq,theodi/gitlabhq,koreamic/gitlabhq,tempbottle/gitlabhq,duduribeiro/gitlabhq,kitech/gitlabhq