[Fedora-directory-commits] dsgw/orgbin org.in,1.4,1.5

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Fri Feb 29 21:41:14 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsgw/orgbin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6818/dsgw/orgbin

Modified Files:
	org.in 
Log Message:
additional cleanup - my last org chart commit broke org chart, this fixes it, and cleans up some other stuff, and adds some more tests


Index: org.in
===================================================================
RCS file: /cvs/dirsec/dsgw/orgbin/org.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- org.in	28 Feb 2008 02:49:20 -0000	1.4
+++ org.in	29 Feb 2008 21:41:12 -0000	1.5
@@ -1535,9 +1535,10 @@
 
     my $mgrdn = $entry->getValue($config_tokens{'attrib-manager'});
     my $managerEntry;
+    my $manager;
     if ($mgrdn) {
-        my @rdns = ldap_explode_dn($entry->getValue($mgrdn), 1);
-        my $manager = $rdns[0];
+        my @rdns = ldap_explode_dn($mgrdn, 1);
+        $manager = $rdns[0];
         my $managerSearch = $config_tokens{'attrib-farleft-rdn'} . "=" . $manager;
         $managerEntry = $conn->search($config_tokens{"ldap-search-base"},"subtree", $managerSearch, 0, @return_attribs);
     }




More information about the Fedora-directory-commits mailing list