Closed Bug 635415 Opened 13 years ago Closed 8 years ago

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

Categories

(Webtools Graveyard :: Phonebook, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: aravind, Unassigned)

Details

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
Closed: 8 years ago
Component: Webdev → Phonebook
Product: mozilla.org → Webtools
Resolution: --- → INVALID
Clearing security flag, per atoll
Group: webtools-security
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.