Commit Graph

188 Commits

Author SHA1 Message Date
alejandro.campos@artica.es b4c21cfdca fixed several bugs in AD authentication in metaconsole 2021-10-29 16:12:23 +02:00
alejandro.campos@artica.es 40aec564af prevent global admins to log in remotely 2021-10-22 14:38:20 +02:00
alejandro.campos@artica.es 14076efc69 minor fix 2021-10-20 12:48:42 +02:00
alejandro.campos@artica.es e7d730ba0d fix bug with ldap login in metaconsole 2021-10-19 19:19:55 +02:00
Calvo 47348524a7 Local auth when remote enabled only api 2021-10-19 13:59:59 +02:00
Calvo 9802a59c5f Merge remote-tracking branch 'origin/develop' into ent-7621-autenticacion-local-usuarios-solo-api 2021-10-19 13:55:42 +02:00
Calvo 1fca24d8dc Fix ldap auth php function passwords with special chars 2021-10-05 18:00:16 +02:00
Jose Gonzalez 8696d21a42 Fixed any minor bugs 2021-09-29 17:03:13 +02:00
Jose Gonzalez a1869fcef0 Fix io_safe_output for ldap admin pass 2021-09-16 12:08:46 +02:00
Calvo 8c30ca8c36 Fix ldaps authentication 2021-07-27 19:11:04 +02:00
Calvo 65d31b3263 Fix api local auth 2021-07-02 11:19:21 +02:00
Daniel Barbero Martin 8c0a9859a8 remove synch old and check api 2021-05-19 17:08:13 +02:00
Marcos Alconada d8a628b1c4 Ent 6781 revision de estilos visuales y eliminacion de sistemas skins 2021-03-11 14:40:23 +00:00
fbsanchez 749b729c0c fix local auth 2021-01-11 15:08:07 +01:00
Daniel Rodriguez 38dd3b960e Merge branch 'ent-4953-local-admin-nunca-prueba-remotos-meta' into 'develop'
Force try remote before falling back to local if admin user

See merge request artica/pandorafms!3715
2021-01-11 09:22:14 +01:00
fbsanchez 4d2b890712 minor fixes 2020-12-11 11:31:18 +01:00
fbsanchez 79c8c852b3 Force try remote before falling back to local if admin user 2020-12-11 11:26:45 +01:00
Jose Gonzalez 649442f794 Updated copyrights 2020-11-27 13:52:35 +01:00
Daniel Rodriguez b0ccfc89b1 Merge branch 'ent-6472-graficas-con-phantomjs-y-saml' into 'develop'
SAML with pandora sessions

See merge request artica/pandorafms!3533
2020-11-04 18:42:42 +01:00
fbsanchez ef50b47269 avoid useless messages 2020-10-22 15:15:46 +02:00
fbsanchez ca9b167741 SAML with pandora sessions 2020-10-16 14:00:38 +02:00
Marcos Alconada 85a41af644 Ent 5296 anadir boton guardar contrasena en active directory 2020-09-18 14:50:50 +02:00
alejandro-campos 43701f953d fixed ad authentication 2020-06-03 17:37:12 +02:00
Alejandro Fraguas 8242bf34b8 Revert "Merge branch 'ent-3693-pete-php-pantalla-en-blanco-con-auth-saml' into 'develop'"
This reverts merge request !2562
2019-07-05 14:55:22 +02:00
marcos.alconada 6349c29eb5 Add message for autenticaition error SAML 2019-07-01 13:45:42 +02:00
Daniel Maya e828fd6690 Fixed Advanced Permissions LDAP 2019-06-20 09:49:54 +02:00
Alejandro Fraguas cd1f8d0c10 Merge branch 'ent-3760-Error-de-login-LDAP' into 'develop'
Fixed function ldapsearch

See merge request artica/pandorafms!2301
2019-06-10 18:08:18 +02:00
Daniel Rodriguez d0e99e1018 Merge branch 'ent-3576-ldap-advanced-remote-user-unchecked' into 'develop'
Fixed ldap adv. perms continues apliying when autocreate remote is unselected

See merge request artica/pandorafms!2221
2019-06-03 15:09:15 +02:00
marcos.alconada 91d388c8b3 Changed for create new user with advanced config enabled and forced automaticly disabled 2019-05-27 17:47:45 +02:00
marcos.alconada 07b42f7241 Changed for metaconsole 2019-05-22 13:57:31 +02:00
marcos.alconada 0c9f8892e0 Changed evaluates permissions 2019-05-17 13:58:34 +02:00
marcos.alconada 43547267a0 Changed condition for ldap Force automatically create profile user
Former-commit-id: caa1218b7ae4dc09649a6a4bb54b158255ea268f
2019-05-14 15:59:35 +02:00
manuel 61552bc201 Fixed ldap login
Former-commit-id: bd94a6112a88b3143973ab7f915de40995149ca8
2019-04-12 10:03:18 +02:00
manuel 0f78d87504 Fixed bug in save profile users
Former-commit-id: 8f79e2c3de0e7cedb581d90e53f39ef176afe040
2019-04-10 16:12:22 +02:00
manuel 1efedd26ce Fixed bug in LDAP authentication
Former-commit-id: 4e0b2d46d5bcd71ea63e9d09e7c0d8865735227f
2019-04-09 13:39:30 +02:00
manuel db13ecbb39 Added token save profile user
Former-commit-id: 442a51cfbe7ac9730e9fd9c2c1ee16b6609e5f6a
2019-04-08 11:55:58 +02:00
samucarc de3934ddb8 Fixed function ldapsearch
Former-commit-id: 36678038a878673a3aae86ed014ee189775829db
2019-03-27 15:18:37 +01:00
Luis Calvo f6b6073a16 Fixed ldap adv. perms continues apliying when autocreate remote is unselected by cheking it on user login
Former-commit-id: ca6a8a1217ec41d7edadf971e935d506ad9e0cff
2019-02-27 17:23:59 +01:00
Daniel Maya ffe8bba3f7 added exception in ldapsearch
Former-commit-id: 4ab1637c30cac2bb4c827b1e08017f6b08fae1b9
2019-02-15 09:10:21 +01:00
Daniel Maya 63d589c918 Parameter changes deprecated in LDAP
Former-commit-id: 2accf38ffe089c19475b1956cf04da7769dca2e9
2019-02-08 11:34:47 +01:00
artica b3da2803a4 Changed the format of the .php files
Former-commit-id: 4dc926a81de14e27df8be7982406b09d8e808399
2019-01-30 16:18:44 +01:00
fermin831 f0c0a86533 LDAP no hierarchy groups on node functionallity
Former-commit-id: a9fe31be70e178e190c0d0bacf1dd6e27e71f03b
2019-01-08 16:42:23 +01:00
daniel ee22d3988c fixed error ldap 2018-11-19 16:33:27 +01:00
daniel e2f7157545 fixed php7 2018-10-04 11:43:08 +02:00
danielmaya a0a4a7fefb Added check permissions in ldap login 2018-09-20 11:21:29 +02:00
fermin831 e687ca03bf Fixed several attributes in a ldap configuration 2018-08-17 11:29:19 +02:00
Kike 7ed5077c01 Added regex to LDAP advanced permissions 2018-06-23 14:24:32 +02:00
fermin831 43447bbee4 [Rebranding] Minor ended fixed 2018-05-23 18:19:24 +02:00
fermin831 cd2f97d941 Permit login with admin users without profiles 2018-04-19 18:05:47 +02:00
vgilc 1bc89ecd10 Merge branch '2126-Bloqueo-o-error-de-acceso-a-usuarios-sin-permisos-dev' into 'develop'
Added profile check in login

See merge request artica/pandorafms!1433
2018-04-18 11:08:32 +02:00
danielmaya 0cf5cc4b1a Added profile check in login 2018-04-18 10:54:51 +02:00
danielmaya ee115f1d0e Fixed atributtes ldap 2018-04-16 17:17:59 +02:00
danielmaya a0c01ed57d Added safe_output for password in ldap 2018-02-14 10:57:08 +01:00
daniel ad0b463d13 fixed errors acl 2018-01-30 17:44:51 +01:00
danielmaya 9c764dcf94 Autenticación LDAP 2017-12-21 11:35:02 +01:00
danielmaya 741df27ba0 Added ldapsearch system command 2017-12-11 17:19:52 +01:00
danielmaya a024d66fd7 Changed email by mail in mysql 2017-12-04 12:20:13 +01:00
Arturo Gonzalez a455ba666a Added code to login with admin ldap user 2017-11-24 14:03:49 +01:00
Arturo Gonzalez 59e1bdd225 Added email login attr to ldap users 2017-11-15 11:57:56 +01:00
Arturo Gonzalez 75cb2a668f Added a lot of changes to save or not user password, only ldap 2017-11-14 16:20:26 +01:00
Arturo Gonzalez fe4a93f646 Added changes to fix ldap login 2017-11-10 09:33:12 +01:00
Arturo Gonzalez 2c3d72eedf Added lost parameter 2017-10-30 08:49:10 +01:00
Arturo Gonzalez b09fdce7e3 Added password verification when log in with ldap 2017-09-26 15:41:04 +02:00
Arturo Gonzalez cb85cff34f ldap adv conf v3 (good version) 2017-09-25 14:18:40 +02:00
Arturo Gonzalez 89ba75f466 Added ldap adv conf v2 2017-09-25 13:13:11 +02:00
Arturo Gonzalez f738fa2fce Added ldap login adv conf v1 2017-09-22 13:54:02 +02:00
Arturo Gonzalez 9d09f9a436 LDAP in progress 2017-09-21 18:00:32 +02:00
Arturo Gonzalez 98a05f7850 Added changes to ldap adv config 2017-09-21 15:55:21 +02:00
daniel c29d8a4fdb Revert "merge develop"
This reverts commit 8232911713, reversing
changes made to f5da86ac0a.
2017-08-23 09:35:17 +02:00
Daniel Maya 160ad7e866 Fixed Connection failure in ldap 2017-08-07 09:21:26 +02:00
Arturo Gonzalez 63554c54a2 Removed babel 2017-05-23 17:55:37 +02:00
m-lopez-f c7e1d682df Add access node in auth ad method in all cases. Gitlab: #367 2017-03-08 12:05:15 +01:00
m-lopez-f 4e6fdf7b15 Fixed change/delete or added permmisions when active AD o AD advanced method login and using a metaconsole version. Gitlab: #379 2017-03-02 13:23:01 +01:00
m-lopez-f 070db42c41 Add default value of field advance ad configuration. Gitlab: #367 2017-02-27 11:26:48 +01:00
daniel a5055ec27a fixed error in ldap create new users 2017-02-21 14:04:53 +01:00
m-lopez-f 24c0c8c12b Add select profile, group and tags when autocreate user in few options. And add metaconsole replication users in node 2017-01-17 15:09:23 +01:00
Arturo Gonzalez a3a38c9bb6 New login method (saml). Ticket#3393 2016-02-17 13:05:22 +01:00
mdtrooper 637a129bd2 Fixed the login of new user from ldap in metaconsole. TICKET: #3118
(cherry picked from commit 7892d6bcb8)
2016-01-04 16:46:56 +01:00
Arturo Gonzalez 0694a02ab6 Now if remote login exist, changes password in both consoles. Ticket#2719 2015-12-28 12:55:23 +01:00
Arturo Gonzalez dab7a56623 Fixed translate. Ticket#3115 2015-12-24 14:05:08 +01:00
m-lopez-f 3c9811d863 Only use if option of AD is activated. Tiquet: Tickets #3116
(cherry picked from commit 128610aba8)
2015-12-22 14:58:20 +01:00
m-lopez-f 1693037724 Only use if option of AD is activated. Tiquet: Tickets #3116
(cherry picked from commit 53466027f1)
2015-12-22 14:58:17 +01:00
Alejandro Gallardo Escobar 6f093b8097 Fixed an error in the remote user autocreation
It was impossible to add tags to the autocreated user
2015-08-13 10:59:37 +02:00
m-lopez-f a6b6fe4c30 Change text of relogin when change permissions when login with AD 2015-08-06 13:41:10 +02:00
m-lopez-f a95bfeed4e Fixed problems with login with AD
(cherry picked from commit a11af4905c)
2015-08-05 10:55:09 +02:00
m-lopez-f 07b8ebcbd8 Change form to login when permission has changed to user. Tiquet: #2566
(cherry picked from commit 741442009d)
2015-08-04 09:32:15 +02:00
m-lopez-f fd7fc4eb00 Fixed LDAP connection when name containt space and data login is false 2015-07-30 16:10:21 +02:00
m-lopez-f dfcfc85303 Add new funcionality of remote login with Active Directory 2015-07-28 16:10:45 +02:00
mdtrooper 7b08fb47c1 Fixed the create new remote user in Active Directory (enterprise). TICKET: #1845 2015-02-26 12:27:18 +01:00
Alejandro Gallardo Escobar b71082ccdb Added a class to perform google autenticator checks 2014-12-11 16:09:17 +01:00
mdtrooper 509b8a8c1b 2014-07-17 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/ldap.php, include/auth/mysql.php: fixed the
	parameters with white spaces.
	
	INCIDENT: #1063




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-17 16:07:07 +00:00
jsatoh d810617bdd 2014-03-30 Junichi Satoh <junichi@rworks.jp>
* include/functions_config.php, include/auth/mysql.php,
	godmode/setup/setup_auth.php: Added the feature to fallback to local
	authentication when remote authentication is failed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-30 11:30:46 +00:00
Ramon Novoa e6080d949e 2013-02-19 Ramon Novoa <rnovoa@artica.es>
* include/auth/ldap.php: Do not bind anonymously to check whether the
	  user exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 17:16:46 +00:00
zarzuelo c8bba62545 2013-01-23 Sergio Martin <sergio.martin@artica.es>
* include/auth/mysql.php: Fixed update of the last password 
	change when edit a user in the classic way

	* godmode/users/configure_user.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Fix wizard 
	level and metaconsole access default values when charge to 
	keep data of items created with metaconsole from the standard
	console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-23 18:44:07 +00:00
mdtrooper 15a631c000 2012-09-24 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the fields
	"text_filter" and "dont_show_subgroups" for to new filters to
	generate the networkmap. 
	
	* operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php,
	include/functions_networkmap.php, include/functions_servers.php:
	added the new filters for free text for agents and hidden the
	subgroups of any group in the group networkmap.
	
	* extensions/resource_registration.php,
	operation/agentes/networkmap.php, general/header.php,
	godmode/netflow/nf_report_form.php,
	godmode/agentes/module_manager.php, include/functions_groups.php,
	include/auth/ldap.php, operation/agentes/estado_ultimopaquete.php,
	include/functions.php, include/functions_db.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 11:59:05 +00:00
mdtrooper e77d6879a0 2012-08-22 Miguel de Dios <miguel.dedios@artica.es>
* include/api.php: cleaned source code style.
	
	* include/auth/mysql.php: fixed the access users in the api with or
	without no_login field set.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 15:11:44 +00:00
mdtrooper cf3b29f546 2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* index.php, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	general/login_page.php, general/logon_failed.php,
	godmode/users/configure_user.php, include/api.php,
	include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
	pandoradb.oracle.sql: added the feature to set any user with
	"not login" for only the user can work across the API.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 18:06:04 +00:00
mdtrooper 9cde128f7c 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask_form.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/modules/manage_network_components.php,
	include/functions_ui.php, include/functions_incidents.php,
	include/functions_agents.php, include/functions_alerts.php,
	include/functions_messages.php, include/db/mysql.php,
	include/functions_reporting.php, include/functions_filemanager.php,
	include/auth/ldap.php, operation/events/events.php,
	operation/incidents/incident_detail.php, operation/tree.php,
	operation/agentes/estado_agente.php, operation/agentes/sla_view.php,
	operation/users/user_edit.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 08:54:40 +00:00
mdtrooper 5e3c15d43c 2012-06-18 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/ldap.php, include/javascript/pandora.js,
	include/functions_incidents.php: cleaned source code style.
	
	* include/functions_users.php, operation/users/webchat.php: a lot of
	fixes, the "error connection" don't appear when timeout the
	connection for to get new messages, fixed empty messages, and
	fixed when make freak actions with user connect in webchat for
	example delete. And the most important the chat files (logs and
	others) now Pandora save this files in attachment dir instead the
	tmp system dir.
	
	* godmode/users/user_list.php: added to call to delete from the
	chat user list when delete a user.
	
	MERGED from 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 12:36:18 +00:00
vgilc e193f5a2c2 2012-05-30 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  pandoradb_data.sql
	  pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql
	  index.php
	  godmode/users/configure_user.php
	  include/functions_config.php
	  include/auth/mysql.php
	  include/javascript/jquery.pandora.js: Added admin users to password policy
	and added password history.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 12:07:26 +00:00