1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-turba-1.7.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP mezzanine_patched_e-smith-turba-1.7.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP |
2 |
--- e-smith-turba-1.7.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP 2007-04-26 19:59:20.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-turba-1.7.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP 2007-04-26 19:58:52.000000000 -0600 |
4 |
@@ -8,7 +8,11 @@ |
5 |
'server' => 'localhost', |
6 |
'port' => 389, |
7 |
'tls' => false, |
8 |
- 'root' => '', |
9 |
+{ |
10 |
+ my $domainName = $DomainName; |
11 |
+ $domainName =~ s/\./,dc=/g; |
12 |
+ $OUT = qq( 'root' => 'dc=$domainName',); |
13 |
+} |
14 |
'sizelimit' => 200, |
15 |
'dn' => array('cn'), |
16 |
'objectclass' => array('top', |