cc-1185 cc: WARNING File = libsmb/samlogon_cache.c, Line = 139
An enumerated type is mixed with another type.
init_unistr2( &user->uni_user_name, username, STR_TERMINATE );
based on other code, it looks like STR_TERMINATE should be UNI_STR_TERMINATE.
Applied an expanded version of this fix.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.