Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: adding users (Oliver Gorwits)
   2. Re: Is apache required for  Netdisco 2? (Oliver Gorwits)
   3. Re: netdisco2 errors with neighbor discovery (Joseph Bernard)
   4. ND2 housekeeping expire or expiry? (Joseph Bernard)
   5. ND2 LDAP configuration (Joseph Bernard)
   6. Re: ND2 LDAP configuration (Joseph Bernard)
   7. Re: ND2 LDAP configuration (Oliver Gorwits)
   8. Re: ND2 housekeeping expire or expiry? (Oliver Gorwits)
--- Begin Message ---
Hi Peter,

On 2014-04-06 20:36, [email protected] wrote:
Is this supposed to occur in the web admin interface (which I can't
get to because I can't seem to get past the opening page with 'guest')
or at a commandline in postgres?

For Netdisco 2, when you run the netdisco-deploy script it should ask to set up an admin account, if an account with admin privileges doesn't already exist in the database.

You can log in with an admin account in the web interface, then go to Admin -> User Management.

I hope this helps,

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hi Peter,

On 2014-04-06 20:35, [email protected] wrote:
Or is it just a convenient addition for site-specific uses like
proxied connections?

That's correct:

Apache is not required. Proxy and SSL are the two most common use cases for adding Apache.

The web server included in Netdisco 2 will be good enough for most cases.

The only niggle is that Netdisco 2 uses port 5000 and not port 80. To change this is awkward in the current release (due to requiring root privilege). The _next_ release of Netdisco 2 will make this work more naturally (i.e. drop to another user after binding socket).

regards,
oliver.



--- End Message ---
--- Begin Message ---
I started over with version 2.024004 and don't have the issue anymore.  Either 
it was fixed or I missed a step when I was installing.

Thanks,
Joseph B.

On Mar 3, 2014, at 3:36 PM, Joseph Bernard <[email protected]> wrote:

> I just installed Netdisco 2.024003, and I have a problem with discovery of 
> neighbor switches.  In the web interface I get the errors:
> 
> discovery failed: could not SNMP connect to x.x.x.x/32
> 
> I can do ~/bin/netdisco-do -D discover -d 1.2.3.4 , and the device will be 
> discovered.  I can do the same with the neighbors one by one, and they work 
> fine.  My problem is that the queued discovers don't work and show the error 
> above.
> 
> Any ideas what might be wrong?  Could it be a permissions issue?
> 
> 
> Thanks,
> Joseph B.
> 
> 
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works. 
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
I noticed on this page, the example for housekeeping says "expire:" but the 
file with the installation of of 2.024004 says "expiry:"

http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Configuration.pod#housekeeping

Which one is correct?


Thanks,
Joseph B.




--- End Message ---
--- Begin Message ---
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.


--- End Message ---
--- Begin Message ---
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 <[email protected]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
On 2014-04-07 21:38, Joseph Bernard wrote:
Yay!  I figured it out.

Well done, sorry it wasn't straightforward.

The config file is in YAML format which, once you get the hang of it, is fairly easy to use.

regards,
oliver.


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 <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
Hi Joseph,

On 2014-04-07 19:47, Joseph Bernard wrote:
I noticed on this page, the example for housekeeping says "expire:"
but the file with the installation of of 2.024004 says "expiry:"


http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Configuration.pod#housekeeping

Which one is correct?

The option was renamed from expiry in 2.024 to expire in 2.025 (although 2.025 isn't yet released officially).

This is mentioned in the Release Notes, which we encourage all to read on upgrade:

https://metacpan.org/pod/release/OLIVER/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/ReleaseNotes.pod#pod2.025000

The app will work with the old name just fine, but the release notes recommend that users update their config.

regards,
oliver.



--- End Message ---
------------------------------------------------------------------------------
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 - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to