Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Cp7 m 69 fix ldap groups #6370

Merged
merged 5 commits into from
Jun 15, 2018
Merged

Conversation

victorvassilev
Copy link
Contributor

No description provided.

Victor Vassilev added 4 commits June 8, 2018 13:17
Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63
Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76
Update logic to sync ldap groups. Force ldap resync upon login.
$res = $this->db->query("SELECT cg_id, cg_name, cg_ldap_dn FROM contactgroup
WHERE cg_type = 'ldap' AND ar_id = " . $ldaprow['ar_id']);


while ($row = $res->fetchRow()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use fetch() instead of fetchRow() occurrences, when working on a php7 project // 2.9.
fetchRow() is surcharged with fetch() in centreon/class/centreonPdoStatement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the reminder, pushing that fix in a moment :)

@victorvassilev victorvassilev merged commit 9521b0c into php7-migration Jun 15, 2018
@victorvassilev victorvassilev deleted the CP7M-69-fix-ldap-groups branch June 15, 2018 13:06
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
kduret pushed a commit that referenced this pull request Jun 20, 2018
* fix(knowledgebase): fix compatibility with MW1.30

Apply new API rules and add compatibility downwards to 1.27

Resolves: CP7M-63

* refactor(knowledgebase): remove cookies after curl call

* fix(auth): Disallow login with saved details of ldap user

Disconnect user if disabled/not found in ldap server instead of fall back to local auth

Closes: CP7M-76

* fix(ldap): Update ldap groups sync

Update logic to sync ldap groups. Force ldap resync upon login.

* refactor(contactgroups): change fetchRow to fetch
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants