Category : adsi

I’m trying to work with active directory from Rust by following the c++ examples Microsoft posts for the ADSI API and the Windows-RS crate. I’m not understanding quite what is going on here: https://docs.microsoft.com/en-us/windows/win32/api/adshlp/nf-adshlp-adsopenobject They create an uninitialized pointer to IADs (drawing from my c# knowledge, it looks like an interface) then, when it comes ..

Read more

I’m attempting to check the RelayForAuth setting for my Windows SMTP Server using the below commands. Powershell appears to display the correct result ‘False’ but when running the same command via command prompt, it generates an error: Powershell Example: ([ADSI]"IIS://localhost/smtpsvc/1".RelayForAuth -like "*0*") Output: False Command Prompt Example: powershell -command "([ADSI]"IIS://localhost/smtpsvc/1".RelayForAuth -like "*0*")" Output: At line:1 ..

Read more