Module: kamailio
Branch: master
Commit: e7397acb86db5cf0a214fe7f2812e21130e7b2f6
URL: 
https://github.com/kamailio/kamailio/commit/e7397acb86db5cf0a214fe7f2812e21130e7b2f6

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2024-02-09T09:46:25+01:00

ldap/docs: Add connect_mode docs

---

Modified: src/modules/ldap/doc/ldap_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/e7397acb86db5cf0a214fe7f2812e21130e7b2f6.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e7397acb86db5cf0a214fe7f2812e21130e7b2f6.patch

---

diff --git a/src/modules/ldap/doc/ldap_admin.xml 
b/src/modules/ldap/doc/ldap_admin.xml
index 3337dd2be0c..2bb2c3a5ef4 100644
--- a/src/modules/ldap/doc/ldap_admin.xml
+++ b/src/modules/ldap/doc/ldap_admin.xml
@@ -455,6 +455,23 @@ modparam("ldap", "config_file", 
"/usr/local/etc/&kamailiobinary;/ldap.ini")
                  </programlisting>
         </example>
       </section>
+
+      <section>
+        <title><varname>connect_mode</varname> (int)</title>
+
+        <para>Control if the module must stop loading when connecting to 
server fails during start up. Values: 0 - stop loading; 1 - continue even if 
connecting to database server fails..</para>
+        <para>Default value:
+        <varname>0</varname></para>
+
+        <example>
+          <title>Set <varname>connect_mode</varname> parameter</title>
+
+          <programlisting format="linespecific">
+modparam("ldap", "connect_mode", 1)
+                     </programlisting>
+        </example>
+      </section>
+
     </section>
 
     <section>
@@ -1079,4 +1096,3 @@ if (ldap_search(
       </section>
     </section>
   </chapter>
-

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to