If connectionUserName and connectionPassword are not set, the IIS account will be used. If impersonation is used (set to true in the identity tag, as the following example shows), the current user credentials will be used in the process.
However, when I omit the connectionUserName and connectionPassword properties from the TelerikADRoleProvider I get a configuration error 'Object reference not set to an instance of an object'.
When I specify these two properties but without values, then this error doesn't occur. However, the AD role provider is not able to get the roles out of Active Directory.
The same problem counts for TelerikADMembershipProvider. It won't work without the properties connectionUserName and connectionPassword properly set.
I have tried with impersonation set to true in the system.web -> identity config element. And without impersonation so that the IIS application pool account will be used. Both scenario's fail.
Am I missing something? Is it a bug? Please give me some hints how to set up AD integration without the need to specify any username / password information in the web.config file.