Try this command to list your ldap config :
http://localhost:8096/client/api?command=ldapConfig&listall=true

regards
sadhu

-----Original Message-----
From: Valery Ciareszka [mailto:valery.teres...@gmail.com] 
Sent: 20 August 2013 21:33
To: users
Subject: get ldap config

Hi all.

How do I get current ldap config ? I have not found proper api call - there are 
only calls to set up new ldap config or remove it.

When I look into mysql database I see follolwing :

mysql> select name,value from configuration where name like '%ldap%';
+---------------------+----------------------------------------------+
| name                | value                                        |
+---------------------+----------------------------------------------+
| ldap.dn             | OLshiesGXy8tVG5mGEs/Zg9G+KqqtVuTu9Y8LXCnxqk= |
| ldap.hostname       | <somehashedvalueofhostname>             |
| ldap.passwd         | <somehashedvalueofpassword>             |
| ldap.port           | lOxYeuE8YsED2VKKq3oWpA==                     |
| ldap.queryfilter    | 1Ar5wiQfIfjIYBP6ymo/cAQsQcq/N5N6             |
| ldap.searchbase     | 0fIfg/1NJwjCMDmTBqv+BUDhHWIjSSrtVlSli+4Uyi4= |
| ldap.truststore     | NULL                                         |
| ldap.truststorepass | NULL                                         |
| ldap.usessl         | r1C1NnD4Z4oTXErfIStJtg==                     |
+---------------------+----------------------------------------------+
9 rows in set (0.00 sec)

I tried to decode this as base64 but got unreadable binary output.

Any thoughts ?

used env - CS 4.1.0

--
Regards,
Valery

http://protocol.by/slayer

Reply via email to