CACTI authentication fallback to Local when LDAP fails

Italo Valcy <[email protected]> Tue, 18 Feb 2014 16:32:06 -0300
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

I think it would be nice if CACTI auth could fallback to Local realm
when LDAP fails to authenticate an user. For now the user has to
choose an auth method (realm) from login page. This seems little
inconvenient to a customer that just want to see his graphs and dont
worry about auth methods.

I've seem a bug report on this [1] and there said: "Fall through will
work and only work if LDAP does not return an error". However, looking
at the code (auth_login.php), in any way $ldap_error gets "true" value
and the Local fallback just dont work.

[1] http://bugs.cacti.net/print_bug_page.php?bug_id=1121

Is there any problems in having this feature? I can try to work on this.




- -- 
Atenciosamente,

Italo Valcy
PoP-BA/RNP :: http://www.pop-ba.rnp.br
INOC: 53164*100
Tel.: +55 71 3283-5693


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMDtTYACgkQfidLqjN6RNEWEgCfadQIcBiMcMC7XWMZIh9wL7bS
4lQAoJntx8phJ2jcMOhcVHwY8oIW/yqL
=wjSR
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk