]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.h
* Added "Base DN" "Bind DN" and "Bind DN password" config options
[citadel.git] / citadel / citadel.h
index 3d74cec02535678fc2d40fd147fb1469699f0f02..e2565f4dc7ab31dbbf9a038f6522de0ca1e6aa99 100644 (file)
@@ -44,9 +44,9 @@ extern "C" {
  * usually more strict because you're not really supposed to dump/load and
  * upgrade at the same time.
  */
-#define REV_LEVEL      614             /* This version */
+#define REV_LEVEL      615             /* This version */
 #define REV_MIN                591             /* Oldest compatible database */
-#define EXPORT_REV_MIN 614             /* Oldest compatible export files */
+#define EXPORT_REV_MIN 615             /* Oldest compatible export files */
 
 #define SERVER_TYPE 0  /* zero for stock Citadel/UX; other developers please
                           obtain SERVER_TYPE codes for your implementations */
@@ -130,6 +130,11 @@ struct config {
        char c_aideroom[ROOMNAMELEN];   /* Name of aideroom (Aide)          */
        int c_purge_hour;               /* Hour during which db purges run  */
        struct ExpirePolicy c_mbxep;    /* Expire policy for mailbox rooms  */
+       char c_ldap_host[128];          /* Host where LDAP service lives    */
+       int c_ldap_port;                /* Port on host where LDAP lives    */
+       char c_ldap_base_dn[256];       /* LDAP base DN                     */
+       char c_ldap_bind_dn[256];       /* LDAP bind DN                     */
+       char c_ldap_bind_pw[256];       /* LDAP bind password               */
 };
 
 /*