NLTest import functions - Technet Gallery

advertisement
NLTEST IMPORT FUNCTIONS
vidya kota
[COMPANY NAME] [Company address]
Introduction:
You might have used Nltest several hundred times either to reset secure channel or for
querying domain controllers, have you ever thought what’s behind the scenes?. This
article will list the pain that developers has taken to provide us with tiny but exceptional
utility which saves System Administrators / Engineers in their day-day Active Directory
tasks.
Technical Description:
Microsoft has released comprehensive document which lists Nltest switches, examples
that can be run on starting Windows Server 2003 – 2012 r2 operating systems
https://technet.microsoft.com/en-us/library/cc731935.aspx
This article will list the functions and its module that Nltest imports during its execution
from the windows dll’s. This is useful for advance enthusiasts who wish to understand
internals of Directory Services and understand specifics of a command line directory
services function.
Major Modules
ADVAPI
32
Ntdll
Kernel32
Netutils
NTDSAPI
NLTEST
Msvcrt
RPCRT4
Logoncli
User32
Bcrypt
Function Name
FreeSid
RegCloseKey
RegSetKeySecurity
EqualSid
GetAce
GetAclInformation
GetSecurityDescriptorDacl
AllocateAndInitializeSid
RegGetKeySecurity
RegOpenKeyExA
SystemFunction025
SystemFunction027
RegQueryValueExA
RegQueryValueExW
RegConnectRegistryW
RegSetValueExA
AbortSystemShutdownA
Library
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
ADVAPI32
WS2_32
InitiateSystemShutdownExA
CryptAcquireContextW
CreateThread
CreateEventW
SetMailslotInfo
GetComputerNameW
InitializeCriticalSection
Sleep
LocalFree
GetModuleHandleW
LeaveCriticalSection
SetThreadUILanguage
GetConsoleOutputCP
GetProcessHeap
HeapAlloc
SetEvent
HeapFree
lstrlenA
CreateMailslotA
CreateFileW
WriteFile
LocalAlloc
WideCharToMultiByte
MultiByteToWideChar
UnhandledExceptionFilter
GetCurrentProcess
TerminateProcess
GetSystemTimeAsFileTime
GetCurrentProcessId
GetCurrentThreadId
GetTickCount
QueryPerformanceCounter
GetModuleHandleA
SetUnhandledExceptionFilter
OutputDebugStringA
InterlockedCompareExchange
InterlockedExchange
CloseHandle
DeleteCriticalSection
ReadFile
GetLastError
EnterCriticalSection
GetLocalTime
ADVAPI32
ADVAPI32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
KERNEL32
GetOverlappedResult
WaitForMultipleObjects
WaitForSingleObject
GetStdHandle
DsBindW
DsGetDomainControllerInfoW
DsFreeDomainControllerInfoW
DsUnBindW
RpcStringFreeW
UuidToStringW
RpcStringFreeA
UuidToStringA
UuidFromStringA
LoadStringW
htonl
ntohs
WSAStartup
WSACleanup
getaddrinfo
WSAAddressToStringA
freeaddrinfo
WSAStringToAddressA
WSAGetLastError
BCryptFinishHash
BCryptHashData
BCryptCreateHash
BCryptGetProperty
BCryptDestroyKey
BCryptEncrypt
BCryptGenerateSymmetricKey
BCryptSetProperty
BCryptDecrypt
BCryptDestroyHash
DsGetForestTrustInformationW
DsGetDcNameWithAccountW
I_NetLogonControl
I_NetLogonControl2
NetLogonGetTimeServiceParentDomain
NetGetDCName
I_NetGetDCList
DsEnumerateDomainTrustsA
DsGetDcNameW
DsAddressToSiteNamesExA
KERNEL32
KERNEL32
KERNEL32
KERNEL32
NTDSAPI
NTDSAPI
NTDSAPI
NTDSAPI
RPCRT4
RPCRT4
RPCRT4
RPCRT4
RPCRT4
USER32
WS2_32
WS2_32
WS2_32
WS2_32
WS2_32
WS2_32
WS2_32
WS2_32
WS2_32
bcrypt
bcrypt
bcrypt
bcrypt
bcrypt
bcrypt
bcrypt
bcrypt
bcrypt
bcrypt
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
DsGetDcNameA
DsGetDcSiteCoverageA
DsGetSiteNameA
I_NetlogonComputeServerDigest
DsDeregisterDnsHostRecordsA
DsGetDcOpenA
DsGetDcNextA
DsGetDcCloseW
I_NetlogonGetTrustRid
I_NetlogonComputeClientDigest
?terminate@@YAXXZ
_controlfp
free
isleadbyte
_iob
_snprintf
_itoa
printf
_wsetlocale
_vsnwprintf
time
srand
wctomb
rand
memcpy
strchr
iswctype
strtol
strtoul
_strnicmp
_stricmp
fprintf
__iob_func
_errno
_isatty
_write
_lseeki64
_fileno
__pioinfo
__badioinfo
malloc
fwprintf
memmove
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
logoncli
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
memset
__set_app_type
__p__fmode
__p__commode
__setusermatherr
_amsg_exit
_initterm
exit
_XcptFilter
_exit
_cexit
__getmainargs
NetApiBufferAllocate
NetApiBufferFree
NetpwNameCompare
RtlInitAnsiString
NlsMbCodePageTag
RtlxAnsiStringToUnicodeSize
RtlAnsiStringToUnicodeString
RtlInitUnicodeString
RtlxUnicodeStringToOemSize
RtlUpcaseUnicodeStringToOemString
RtlInitString
NlsMbOemCodePageTag
RtlOemStringToUnicodeString
RtlLengthSid
RtlUnwind
RtlSystemTimeToLocalTime
RtlTimeToTimeFields
RtlConvertSidToUnicodeString
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
msvcrt
netutils
netutils
netutils
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
ntdll
In the next article, I would concentrate on specific switches and try to provide internals
of it.
Download