]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
* Merge LDAP code; bindings are not yet complete
[citadel.git] / citadel / server.h
index 314c7ce258020ced1a209d3127592b10a1091715..9fc9ca6ec2458f798b5d3e230ac74b46770aec02 100644 (file)
@@ -45,6 +45,7 @@ struct CtdlMessage {
 #define CTDLEXIT_OOD           104     /* Out Of Date config - rerun setup */
 #define CTDLEXIT_DB            105     /* Unable to initialize database */
 #define CTDLEXIT_LIBCITADEL    106     /* Incorrect version of libcitadel */
+#define CTDL_EXIT_UNSUP_AUTH   107     /* Unsupported auth mode configured */
 
 
 
@@ -144,6 +145,7 @@ struct CitContext {
        struct ma_info *ma;                     /* multipart/alternative data */
        const char *ServiceName;                /* readable purpose of this session */
        void *openid_data;                      /* Data stored by the OpenID module */
+       char *ldap_dn;                          /* DN of user when using AUTHMODE_LDAP */
 };
 
 typedef struct CitContext t_context;