summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ldap2bind10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/ldap2bind b/bin/ldap2bind
index 139a4b0..c055921 100755
--- a/bin/ldap2bind
+++ b/bin/ldap2bind
@@ -180,6 +180,16 @@ magicItems.each { |m|
setAs(vhostalias, m['tnHost'], m['dn'][0])
}
end
+ property = {}
+ if m['tnWebVHostProperties']
+ m['tnWebVHostProperties'].each{ |prop|
+ (key, val) = prop.split('=', 2)
+ property[key] = val
+ }
+ end
+ unless property['stats'] == "no"
+ setAs("stats." + m['tnWebVHostServerName'], m['tnHost'], m['dn'][0])
+ end
when 'tnDNSrr'
if m['tnDNSaRecord']
setAsDirect(m['tnDNSdomainname'], m['tnDNSaRecord'], m['dn'][0])