hi there,
im able to set file permissions using Get/ SetNamedSecurityInfo... but i
can't for the life of me work out how to get the API to set permissions
on AD Objects. the API is designed to do it - i must be too dense.!
my error occurs at
strVar = GetNamedSecurityInfoA("CN=abc,OU=123,DC=idontcare, DC=local", _
SE_DS_OBJECT, DACL_SECURITY_INFORMATION, Nothing, Nothing, pOldDACL, _
Nothing, pSecDesc)
and winerror.h defines the error as ERROR_BAD_PATHNAME, i have tried
including LDAP:// at the beginning of the string as well, and YES the
path i am using does exist.
can anyone shed any lighT?