]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: struct ldap_settings - Reorder fields by type [BUILD-BROKEN]
authorMarco Bettini <marco.bettini@open-xchange.com>
Fri, 15 Mar 2024 10:05:40 +0000 (10:05 +0000)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:39:59 +0000 (10:39 +0200)
(build broken until next commits)

src/auth/db-ldap-settings.h

index 8fe2e86319d7a0931cae04b09db340a0d0b0fe71..6c4a39c7c44c79b56fcefc109263ae2c3dd995ef 100644 (file)
@@ -6,11 +6,8 @@ struct ldap_settings {
        const char *uris;
        const char *dn;
        const char *dnpass;
-       bool auth_bind;
        const char *auth_bind_userdn;
 
-       bool tls;
-       bool sasl_bind;
        const char *sasl_mech;
        const char *sasl_realm;
        const char *sasl_authz_id;
@@ -25,7 +22,6 @@ struct ldap_settings {
        const char *deref;
        const char *scope;
        const char *base;
-       unsigned int ldap_version;
 
        const char *ldaprc_path;
        const char *debug_level;
@@ -38,12 +34,20 @@ struct ldap_settings {
        const char *iterate_filter;
 
        const char *default_pass_scheme;
-       bool blocking;
 
-       /* ... */
-       int ldap_deref, ldap_scope, ldap_tls_require_cert_parsed;
+       unsigned int ldap_version;
+
+       int ldap_deref;
+       int ldap_scope;
+       int ldap_tls_require_cert_parsed;
+
        uid_t uid;
        gid_t gid;
+
+       bool auth_bind;
+       bool tls;
+       bool sasl_bind;
+       bool blocking;
 };
 
 #endif