1 |
dungog |
1.1 |
diff -urN e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP e-smith-turba-3.2.0.new/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP |
2 |
|
|
--- e-smith-turba-3.2.0/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP 2010-02-13 01:21:11.000000000 +1100 |
3 |
|
|
+++ e-smith-turba-3.2.0.new/root/etc/e-smith/templates/home/httpd/html/horde/turba/config/sources.php/50LocalLDAP 2010-02-13 01:29:51.000000000 +1100 |
4 |
|
|
@@ -17,16 +17,9 @@ |
5 |
|
|
'port' => 389, |
6 |
|
|
'tls' => false, |
7 |
|
|
{ |
8 |
|
|
- #my $smeversion = $sysconfig{ReleaseVersion} || ""; |
9 |
|
|
my $domainName = $DomainName; |
10 |
|
|
$domainName =~ s/\./,dc=/g; |
11 |
|
|
- # |
12 |
|
|
- #if ($smeversion < '8') |
13 |
|
|
- #{ |
14 |
|
|
- $OUT = qq( 'root' => 'dc=$domainName',); |
15 |
|
|
- #} else { |
16 |
|
|
- # $OUT = qq( 'root' => 'ou=Users,dc=$domainName',); |
17 |
|
|
- #} |
18 |
|
|
+ $OUT = qq( 'root' => 'ou=Users,dc=$domainName',); |
19 |
|
|
} |
20 |
|
|
// 'bind_dn' => 'cn=admin,ou=users,dc=example,dc=com', |
21 |
|
|
// // For Active Directory: |