[ltb-dev] [LDAP Tool Box - Bug #843] (New) OpenLDAP - initiated operations script can not handle connection account with space

noreply at lsc-project.org noreply at lsc-project.org
Thu Mar 10 08:14:47 CET 2016


Issue #843 has been reported by Truong Ta.

----------------------------------------
Bug #843: OpenLDAP - initiated operations script can not handle connection account with space
http://tools.lsc-project.org/issues/843

Author: Truong Ta
Status: New
Priority: Normal
Assigned to: 
Category: Cacti plugins
Target version: 


My binddn is:
<pre>
uid=cacti,ou=Special Users,dc=XTDV,dc=ldap
</pre>

Cacti return error when polling:
<pre>
SPINE: Poller[0] Host[43] ERROR: Empty result [10.84.254.38]: 'perl /usr/share/cacti/site/scripts/openldap_operations.pl -h 10.84.254.38 -p 389 -D uid=cacti,ou=Special Users,dc=XTDV,dc=ldap -W xxxxxxxxx -t 5 -v 3'
</pre>

My temporary workaround is modify the file *openldap_operations.pl*, add one more line in Options Hash Table and remove -D <binddn> in Input String
<pre>
$opts{"D"} = "uid=cacti,ou=Special Users,dc=XTDV,dc=ldap" unless exists $opts{"D"};
</pre>

Cacti version: 0.8.8b


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ltb-project.org/pipermail/ltb-dev/attachments/20160310/0aa57870/attachment.htm>


More information about the ltb-dev mailing list