Commit Graph
59 Commits
Author SHA1 Message Date
ddb4github dfc6b64595 Fixed: Resolved some PHP NOTICE about undefined variables #2650 (#2651)
* Fixed: Resolved some PHP NOTICE about undefined variables.

* Fixd previous fixing. Should add 'global $l10n' only

* Fixed: typo miss '$'

* Minor change
2019-04-27 21:26:17 +06:00
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
netniV e5f736e6cb Correct LDAP logging issue 2018-12-21 10:31:00 +00:00
oshiewan 0af69825dc Fix for pulling Full Name and Email from LDAP (#2225)
Call GetErrorDetails before trying to set elements of the output array or we'll lose them as GetErrorDetails does not currently accept an existing output object to keep custom elements.
2018-12-21 10:23:10 +00:00
netniV a47a6a52fc Improve LDAP logging of connection type 2018-12-05 07:37:25 +00:00
netniV 280f1690b6 Resolving issues #2163 and #2164 2018-11-13 12:19:27 +00:00
Mark Brugnoli-Vinten f4314c5a65 More QA Fixes (#2013)
* Correct issue with template and table selections

* More QA on Tables

* Make LDAP slowness not block sessions

* Resolving issue #2015

* Add some extra logging items for RECACHE event
2018-10-06 10:23:50 -05:00
cigamit f89ab3b3bc Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	auth_login.php
#	data_sources.php
#	graphs_new.php
#	include/auth.php
#	lib/api_tree.php
#	lib/html_form_template.php
#	lib/html_tree.php
#	lib/template.php
#	permission_denied.php
#	poller_automation.php
#	tree.php
2018-03-25 11:08:00 -05:00
Mark Brugnoli-Vinten 5cdc090361 Issue #1487 - Undefined constant in ldap.php (#1488) 2018-03-21 17:26:07 -05:00
cigamit 901537e1b6 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
#	lib/ldap.php
2018-03-03 13:10:27 -06:00
netniV b533cd050f Make LDAP errors consistent across functions (#1430)
* Make LDAP errors consistent across functions

* Correct syntax issue in PHP5
2018-03-03 12:22:47 -06:00
cigamit 62615311b5 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-06 14:08:07 -06:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -05:00
cigamit 251a22ecff Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
Updating feature 1.2 branch from Develop
2017-12-03 08:02:58 -06:00
netniV 1025bd4a7f Fix issue #965 - LDAP search error results (#1112)
* Fix issue #965 - LDAP search erorr results

Corrected the error number returned by "Unable to set referrrals" to the correct number.

Added a new error for finding a users DN but not finding the user from the DN.

* Updated changelog for issue #965
2017-12-02 11:30:58 -05:00
Tony Roman 6c73dd6105 Merge branch 'develop' into feature/1.2.x
Conflicts:
	cli/add_tree.php
	docs/CHANGELOG
2017-10-16 11:36:51 -04:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
cigamit 4680aa3a7e Correct remaining whitespace issues
Do a little cleanup of SQL queryies to use less horizontal space
2017-09-16 16:26:30 -05:00
cigamit e0bfca2b80 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
Merge from develop to feature-1.2 branch.
2017-09-16 15:55:25 -05:00
Arno Streuli cedc671eaa Feature/1.2.x (#979)
* Update cacti.sql

Added 2 entry for cn_full_name and cn_email

* Update cacti.sql

Change the size to 50

* Create 1_2_0.php

Added the change on table user_domains_ldap, to provide info for full_name and email

* Update global_settings.php

Added the 2 new entry as new section for LDAP settings:
ldap_cn_fullname
ldap_cn_email

* Update auth.php

Added the email address on user_copy function

* Update ldap.php

Added the ldap_search_cn to search 2 specific CN on LDAP server

* Update auth_login.php

Added the Get user CN part for new LDAP users

* Update ldap.php

little error on ldap_search inside Getcn function

* Update user_domains.php

Add option to manage Full name and email taken from LDAP server

* Update auth_login.php

Change for multidomain authentication

* Update global_settings.php

change the name ldap_cn_xxx to just cn_xxx

* Update ldap.php

Correction to the error number and message when the CN is not find

* Update settings.php

Added the visibility of CN fields only for LDAP authentication mode

* Update ldap.php

correct on line 729 missing $ before this->cn

* Update cacti.sql

column definitions consistent with the definitions under install/upgrades/1_2_0.php

* Update auth_login.php

correct tab, as space, and add {} in if else statment

* Update ldap.php

correction on cacti_log with $output['error_text'], correction on all error_num 99 as '99'
and made some correction int tab/space

* Update auth_login.php

add missing {} on else function
2017-09-16 15:51:56 -05:00
Kevin Bonner 1d4e35d5dc fix LDAP search success log line (#972) 2017-09-13 17:23:39 -05:00
cigamit 480fbaac2c Resolving Issue #922
When using LDAP domains some settings are not passed correctly to the
Cacti LDAP library
2017-08-22 07:07:56 -05:00
cigamit 19701b5f2c Resolving Issue #916
Resolve display of errors when encountering ldap issues
Resolve JavaScript errors on Login page
2017-08-19 08:53:36 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit d13f1f873e Resolving Issue #462
LDAP authorization issues: group membership check broken for 'Group
Member Type' = 'Username'
2017-03-21 19:22:23 -05:00
cigamit 7f8d7b91e6 Resolve PHP 7 Travis CI test failure 2017-01-12 19:32:46 -06:00
cigamit a8c560966a Correcting spelling and grammar issues 2017-01-12 19:09:16 -06:00
Tony Roman d4bade1656 Fix some PHP 7 depreciation warnings in classes
- removed no longer used mailer class
 - Updated constructor for ldap class
2017-01-02 11:13:45 -05:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit c5a5e020fb resolving bug#2177 2016-08-26 21:34:47 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit b079d6f68a Resolve compatibility issues with RHEL6
ENT_HTML401 was not introduced until PHP 5.4
2015-08-09 17:27:26 -05:00
cigamit 879c0e22ab Revert "Resolve LDAP compatibility with RHEL6"
This reverts commit 6adcb2d01f.
2015-08-09 17:23:26 -05:00
cigamit 6adcb2d01f Resolve LDAP compatibility with RHEL6
ENT_HTML401 not introduced until PHP 5.4
2015-08-09 17:23:11 -05:00
cigamit 2e506c59c0 Change the html_entity_decode in 1.0 to match 0.8.8d 2015-04-06 09:20:21 -05:00
cigamit abdc1e3d55 Merging 0.8.8d Updates with GitHub
Changes include:
- Convert some <br> to </li>
- Update ChangeLog per 0.8.8d release
- Fix Max Values on UCD/SNMP Memory Template
- Change Cacti Group Format to Modern Theme
- Fix Locking on Graphs
- Force Image format to PNG for Legacy Graph Image
- Correct form Logic on Settings to Fix Reverse Proxy's
- Shorten Uptime Display on Device Edit
- Force a Locale Setting for i18n on Graphs
- Fix Resizable Columns to resize only the current column
- Add DropIcon selectmenu Widget to modern theme
- Fix Issue where delete data source multi leaves orphan records
- Correct performance bug in Boost engine
- Optimize array_to_sql_or performance
- Correct and issue where pushing out data query objects to host cache
could leave orphan elements
- Add OID_REWRITE_PATTERN Feature on input
- Add VALUE/REGEXP Feature on output
- Optimize strip_quotes function to be more intellegent
- Escape shell arguments on Script Data Input types
- Allow Special Characters for LDAP passwords
- Correct LDAP class defect for anonymous binding
- Bypass php-snmp for now
- Correct rrdcleaner bytes units
- Fix loadavg_multi.pl to respect i18n
- Remove legacy row counters from snmpagent pages
2015-03-23 17:02:45 -05:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
Jimmy Conner ac6d6929cc Remove some unnecessary ending PHP closing tags
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7571 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 03:02:03 +00:00
Tony Roman 65be30ffe0 Update copyright to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Tony Roman ce40281901 Update copyright to 2013 for 0.8.8
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Tony Roman aa0a5d4be5 Fix spelling mistake in LDAP library
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6611 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-08-04 02:33:12 +00:00
Tony Roman 9acba795fe Update copyright to 2011
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6233 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:44:05 +00:00
Reinhard Scheck 17ddcb8f5a 0001903: Undefined variable: mode in lib/ldap.php on line 375
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6128 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-11-19 16:56:13 +00:00
Reinhard Scheck 6ee1581c6c fix typo on group member type
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6069 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-07-23 20:49:39 +00:00
Larry Adams 46c35b4d9c -bug#0001575: LDAP-Authentifications doesn't work. ldap_host set incorrect
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6014 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-19 16:15:56 +00:00
Larry Adams 499fd48ba3 -bug#0001757: LDAP realm authentication throws error
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5975 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-05 18:02:34 +00:00
Larry Adams bd06e0cef5 QA: Correct issues with cr/lf
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5861 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-04 15:42:35 +00:00
Larry Adams b6a00b7dcf feature: LDAP classification for 0.8.7f and new domains plugin. We should use the new class library for 0.8.8 since it requires PHP5.x.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5858 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-04 13:27:17 +00:00