mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
windows-logon-20050323
Fix initialization error when getting domain parameters
This commit is contained in:
parent
ef8eb1aef6
commit
d33cd7595b
@ -325,6 +325,8 @@ GetDomainLogonOptions( PLUID lpLogonId, char * username, char * domain, LogonOpt
|
|||||||
char computerName[MAX_COMPUTERNAME_LENGTH + 1];
|
char computerName[MAX_COMPUTERNAME_LENGTH + 1];
|
||||||
char *effDomain;
|
char *effDomain;
|
||||||
|
|
||||||
|
memset(opt, 0, sizeof(LogonOptions_t));
|
||||||
|
|
||||||
DebugEvent("In GetDomainLogonOptions for user [%s] in domain [%s]", username, domain);
|
DebugEvent("In GetDomainLogonOptions for user [%s] in domain [%s]", username, domain);
|
||||||
/* If the domain is the same as the Netbios computer name, we use the LOCALHOST domain name*/
|
/* If the domain is the same as the Netbios computer name, we use the LOCALHOST domain name*/
|
||||||
opt->flags = LOGON_FLAG_REMOTE;
|
opt->flags = LOGON_FLAG_REMOTE;
|
||||||
|
Loading…
Reference in New Issue
Block a user