From: Joseph B. <jh...@cl...> - 2014-04-07 20:38:50
|
Yay! I figured it out. First, I put proxyuser instead of proxy_user. That part didn't give me an error message. The hard part was figuring out that the last line should be like this: tls_opts: {verify: 'none',sslversion: 'tlsv1'} Thanks, Joseph B. On Apr 7, 2014, at 4:09 PM, Joseph Bernard <JH...@cl...> wrote: > My setting for Netdisco v1 are: > > ldap_server = ldap.example.net > ldap_user_string = &(cn=%USER%)(objectclass=user) > ldap_base = o=example > ldap_proxy_user = anonymous > ldap_tls_opts = verify => 'none' , sslversion => 'tlsv1' > > > My settings for Netdisco v2 are: > > ldap: > servers: > - 'ldap.example.net' > user_string: '&(cn=%USER%)(objectclass=user)' > base: 'o=example' > proxyuser: 'anonymous' > tls_opts: verify=> 'none',sslversion => 'tlsv1' > > > Unfortunately I can't login with an LDAP user and get the following error in netdisco-web.log: > > [7019] error @0.683782> request to POST /login crashed: Can't use string ("verify=> 'none',sslversion => 't") as a HASH ref while "strict refs" in use at /home/netdisco/perl5/lib/perl5/App/Netdisco/Web/Auth/Provider/DBIC.pm line 130, <DATA> line 751. > > > Any idea what I'm doing wrong? > > > Thanks, > Joseph B. > ------------------------------------------------------------------------------ > Put Bad Developers to Shame > Dominate Development with Jenkins Continuous Integration > Continuously Automate Build, Test & Deployment > Start a new project now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees > _______________________________________________ > Netdisco mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netdisco-users |