X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/ea02341b231f3f2480c04c61c7661a945c92f81f..0f6fe38cf6a842e638aa35ac7641e1e792634e2c:/src/nickserv.h diff --git a/src/nickserv.h b/src/nickserv.h index daa75d6..e59839a 100644 --- a/src/nickserv.h +++ b/src/nickserv.h @@ -5,7 +5,7 @@ * * x3 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -182,10 +182,10 @@ struct nickserv_config { const char *auto_admin; char default_style; struct string_list *denied_fakehost_words; + unsigned int force_handles_lowercase; unsigned int ldap_enable; #ifdef WITH_LDAP - const char *ldap_host; - unsigned int ldap_port; + const char *ldap_uri; const char *ldap_base; const char *ldap_dn_fmt; unsigned int ldap_version; @@ -196,6 +196,10 @@ struct nickserv_config { const char *ldap_field_account; const char *ldap_field_password; const char *ldap_field_email; + struct string_list *ldap_object_classes; + const char *ldap_oper_group_dn; + const char *ldap_field_group_member; + unsigned int ldap_timeout; #endif };