]> jfr.im git - solanum.git/blobdiff - include/client.h
m_sasl: move some struct members around for sasl-reauth
[solanum.git] / include / client.h
index 171ddd4757e6c68a1babaf69fc997e4f0113047e..e91be6b7ee36523602b782dd2f6131570201c6b1 100644 (file)
@@ -283,6 +283,10 @@ struct LocalUser
        struct ev_entry *event;                 /* used for associated events */
 
        struct PrivilegeSet *privset;           /* privset... */
+
+       char sasl_agent[IDLEN];
+       unsigned char sasl_out;
+       unsigned char sasl_complete;
 };
 
 struct PreClient
@@ -291,10 +295,6 @@ struct PreClient
        char spoofuser[USERLEN + 1];
        char spoofhost[HOSTLEN + 1];
 
-       char sasl_agent[IDLEN];
-       unsigned char sasl_out;
-       unsigned char sasl_complete;
-
        rb_dlink_list dnsbl_queries; /* list of struct BlacklistClient * */
        struct Blacklist *dnsbl_listed; /* first dnsbl where it's listed */