s3-auth remove sanitized_username from auth_serversupplied_info
[samba.git] / source3 / include / auth.h
index 5c842fd550a0cfd5160853d21d20696d51219dec..be23adb4a72e43b33de773498a3d398c6e5f55d4 100644 (file)
@@ -66,15 +66,6 @@ struct auth_serversupplied_info {
        bool nss_token;
 
        char *unix_name;
-
-       /*
-        * For performance reasons we keep an alpha_strcpy-sanitized version
-        * of the username around as long as the global variable current_user
-        * still exists. If we did not do keep this, we'd have to call
-        * alpha_strcpy whenever we do a become_user(), potentially on every
-        * smb request. See set_current_user_info.
-        */
-       char *sanitized_username;
 };
 
 struct auth_context {