mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.
Use correct enum type for comparisons.
Jeremy.
(This used to be commit b926480d05
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
86d528928d
commit
b9fcb5b961
@ -136,7 +136,7 @@ BOOL netsamlogon_cache_store(TALLOC_CTX *mem_ctx, const char * username, NET_USE
|
||||
/* so we fill it in since winbindd_getpwnam() makes use of it */
|
||||
|
||||
if ( !user->uni_user_name.buffer ) {
|
||||
init_unistr2( &user->uni_user_name, username, STR_TERMINATE );
|
||||
init_unistr2( &user->uni_user_name, username, UNI_STR_TERMINATE );
|
||||
init_uni_hdr( &user->hdr_user_name, &user->uni_user_name );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user