]> jfr.im git - irc/evilnet/x3.git/commitdiff
Merge branch 'master' of github.com:evilnet/x3
authorRubin <redacted>
Sun, 7 Aug 2016 21:25:07 +0000 (14:25 -0700)
committerRubin <redacted>
Sun, 7 Aug 2016 21:25:07 +0000 (14:25 -0700)
src/nickserv.c
src/x3ldap.c

index ee3ebdcf5233d6fc63f9abfc9a6c6331aaf43475..c3ef1d5a8da6d38c4f4b66554d4f6b2d9c9d5e4a 100644 (file)
@@ -5327,8 +5327,9 @@ nickserv_conf_read(void)
     if(nickserv_conf.ldap_enable > 0) {
         /* ldap is enabled but not compiled in - error out */
         log_module(MAIN_LOG, LOG_ERROR, "ldap is enabled in config, but not compiled in!");
-        nickserv_conf.ldap_enable = 0;
-        sleep(5);
+        exit(2);
+        /* nickserv_conf.ldap_enable = 0; */
+        /* sleep(5); */
     }
 #endif 
 
index e352d79e1bdd2b7db716aa054d54b70766aa7a14..931ea525da81affc315be2b160bf502f5bc31afb 100644 (file)
  * along with srvx; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  *
+ * 
+ * INSTRUCTIONS:
+ *   * Setup an ldap server. Add inetOrgAnon to the schema (it is in tools/ldap)
+ *   * Make sure ldap is enabled at compile time (debian needs libldap2-dev package)
+ *   * Enable ldap in x3.conf and set everything
+ *   * Initial import: you can use the secret authserv search action add2ldap
+ *     to get your users into ldap. /msg authserv search add2ldap account *
  *
  * TODO:
  *   * get queries working in static existance, so i understand how it works