First of all thanks on your responce.
i read following link and come to know that there are some dwAuthFlags which we can't use as WinNT provider. For Example:
typedef enum {
ADS_SECURE_AUTHENTICATION = 0x1,
ADS_USE_ENCRYPTION = 0x2, //This option is not supported by the WinNT provider.
ADS_USE_SSL = 0x2, //This option is not supported by the WinNT provider.
ADS_READONLY_SERVER = 0x4,
ADS_PROMPT_CREDENTIALS = 0x8,
ADS_NO_AUTHENTICATION = 0x10,
ADS_FAST_BIND = 0x20,
ADS_USE_SIGNING = 0x40, //This option is not supported by the WinNT provider.
ADS_USE_SEALING = 0x80, //This option is not supported by the WinNT provider.
ADS_USE_DELEGATION = 0x100,
ADS_SERVER_BIND = 0x200,
ADS_NO_REFERRAL_CHASING = 0x400, //This option is not supported by the WinNT provider.
ADS_AUTH_RESERVED = 0x80000000
} ADS_AUTHENTICATION_ENUM;
what is your opinion about the Flags
http://msdn.microsoft.com/en-us/library/aa772247.aspx
Please help me if u can
Thanks in Advance.