Always bind with priv_user_dn if configured in validate as per Miguel Cabeça's patch.
Always bind with priv_user_dn if configured in validate as per Miguel Cabeça's patch.

Otherwise using validate for getting attributes (not authenticate eg. from cas)
would only bind with priv_user_dn when also searching for the dn was configured.


git-svn-id: a243b28a2a52d65555a829a95c8c333076d39ae1@976 44740490-163a-0410-bde0-09ae8108e29a

sylvainmed/simplesamlphp,dzuelke/simplesamlphp,girgen/simplesamlphp,madmatt/simplesamlphp,dzuelke/simplesamlphp,simplesamlphp/simplesamlphp,cwaldbieser/simplesamlphp,Kunstmaan/simplesamlphp,sitya/simplesamlphp,grnet/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,ghalse/simplesamlphp,sylvainmed/simplesamlphp,dnmvisser/simplesamlphp,ghalse/simplesamlphp,madmatt/simplesamlphp,grnet/simplesamlphp,madmatt/simplesamlphp,jschlyter/simplesamlphp,girgen/simplesamlphp,Kunstmaan/simplesamlphp,simplesamlphp/simplesamlphp,gtkrug/simplesamlphp,sitya/simplesamlphp,jschlyter/simplesamlphp,simplesamlphp/simplesamlphp,BrettMerrick/simplesamlphp,simplesamlphp/simplesamlphp,shoaibali/simplesamlphp,shoaibali/simplesamlphp,Kunstmaan/simplesamlphp,dzuelke/simplesamlphp,maytechnet/simplesamlphp,maytechnet/simplesamlphp,jschlyter/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,cwaldbieser/simplesamlphp,sylvainmed/simplesamlphp,gtkrug/simplesamlphp,dialogik/simplesamlphp,girgen/simplesamlphp,dnmvisser/simplesamlphp,ghalse/simplesamlphp,girgen/simplesamlphp,shoaibali/simplesamlphp,gtkrug/simplesamlphp,BrettMerrick/simplesamlphp,maytechnet/simplesamlphp,dialogik/simplesamlphp,dnmvisser/simplesamlphp,maytechnet/simplesamlphp,grnet/simplesamlphp,Kunstmaan/simplesamlphp,dnmvisser/simplesamlphp,cwaldbieser/simplesamlphp,gtkrug/simplesamlphp,sitya/simplesamlphp,dzuelke/simplesamlphp,cwaldbieser/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,jschlyter/simplesamlphp,dialogik/simplesamlphp,jschlyter/simplesamlphp,BrettMerrick/simplesamlphp,girgen/simplesamlphp,sitya/simplesamlphp,grnet/simplesamlphp,ghalse/simplesamlphp,BrettMerrick/simplesamlphp,StudentLifeMarketingAndDesign/simplesamlphp,madmatt/simplesamlphp,shoaibali/simplesamlphp,dialogik/simplesamlphp,sylvainmed/simplesamlphp,dialogik/simplesamlphp