phonebook app does not look in o=org for managers.

RESOLVED INVALID

Status

RESOLVED INVALID
8 years ago
2 years ago

People

(Reporter: aravind, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
We noticed this problem while debugging 633082.  Even though the manager field lists all the managers, it doesn't set the field when it calls ldap_add.  The problem was fixed with this code change (made locally).  Filing this bug to get it upstream and also maybe look for other places in the code that might be doing the same thing.

[root@pm-ns01 phonebook]# diff -uNr config.php.orig config.php
--- config.php.orig     2011-02-18 15:44:10.000000000 -0800
+++ config.php  2011-02-18 15:44:34.000000000 -0800
@@ -157,7 +157,7 @@
 
   public function list_everyone() {
     return $this->query_users(
-      "objectClass=mozComPerson", "o=com,dc=mozilla", array("dn")
+      "objectClass=mozComPerson", "dc=mozilla", array("dn")
     );
   }
 }
[root@pm-ns01 phonebook]#
Managers are now synced from Workday.
Group: infra → webtools-security
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Component: Webdev → Phonebook
Product: mozilla.org → Webtools
Resolution: --- → INVALID
Clearing security flag, per atoll
Group: webtools-security
You need to log in before you can comment on or make changes to this bug.