diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-03-07 14:32:53 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-03-07 14:32:53 +0000 |
commit | c8c3824dc883d32c96053d5e9a7e44490374fc38 (patch) | |
tree | 9cce0880cb5808082f57464460df2becbe2f0e26 /winsup/cygwin/autoload.cc | |
parent | b56dedef3ef4219f4e0ffcd5e548b62bcc17f49c (diff) | |
download | cygnal-c8c3824dc883d32c96053d5e9a7e44490374fc38.tar.gz cygnal-c8c3824dc883d32c96053d5e9a7e44490374fc38.tar.bz2 cygnal-c8c3824dc883d32c96053d5e9a7e44490374fc38.zip |
* autoload.cc (NetGetDCName): Add symbol.
(NetServerEnum): Remove symbol.
* security.cc (get_lsa_srv_inf): Call NetGetDCName() instead of
NetServerEnum() since it's faster. Don't call it at all if machine
is not a domain member.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index ec71b6641..3a82e3873 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -365,9 +365,9 @@ LoadDLLfunc (SetSecurityDescriptorOwner, 12, advapi32) LoadDLLfunc (SetTokenInformation, 16, advapi32) LoadDLLfunc (NetApiBufferFree, 4, netapi32) +LoadDLLfunc (NetGetDCName, 12, netapi32) LoadDLLfunc (NetLocalGroupEnum, 28, netapi32) LoadDLLfunc (NetLocalGroupGetMembers, 32, netapi32) -LoadDLLfunc (NetServerEnum, 36, netapi32) LoadDLLfunc (NetUserGetGroups, 28, netapi32) LoadDLLfunc (NetUserGetInfo, 16, netapi32) LoadDLLfunc (NetWkstaUserGetInfo, 12, netapi32) |