I have a problem here with the ADSOpenObject call . /wcscpy(GroupDN, L"WinNT://tellytubbies.net/hhhhhh2,user"); if(SUCCEEDED(result = ADsOpenObject(GroupDN, NULL ,NULL ,ADS_SECURE_AUTHENTICATION,IID_IADs ,(void **)&Group))) { } hhhhhh2 is the SAMACcount name of a user in the AD . This call to ADSOPen Object is not returning. Isit because of any locking issues. I tried giving several user name and password . I am getting the results ok when i ran this as an application . I face this problem only when i run this as a password filter . Password filter dll is called by the OS whenever an attempt is made to change a user password . This dll work in the security context of local system account . THanks in advance for all your replies . Regards Ciju O Baby
I assume that your'e running the pwd-filter on the AD-server as recommended? regards Emil Kvarnhammar http://www.ynax.com "Ciju O baby" wrote in message news:u$xXsiPXFHA.1404@TK2MSFTNGP09.phx.gbl... >I have a problem here with the ADSOpenObject call . > /wcscpy(GroupDN, L"WinNT://tellytubbies.net/hhhhhh2,user"); > if(SUCCEEDED(result = ADsOpenObject(GroupDN, NULL ,NULL > ,ADS_SECURE_AUTHENTICATION,IID_IADs ,(void **)&Group))) > { > > } > > hhhhhh2 is the SAMACcount name of a user in the AD . This call to > ADSOPen > Object is not returning. Isit because of any locking issues. I tried > giving > several user name and password . I am getting the results ok when i ran > this > as an application . I face this problem only when i run this as a password > filter . Password filter dll is called by the OS whenever an attempt is > made to change a user password . This dll work in the security context of > local system account . > > THanks in advance for all your replies . > > Regards > Ciju O Baby > >
Yes "Emil" <nomail at nomail dot com> wrote in message news:uO3SbMtXFHA.3840@tk2msftngp13.phx.gbl... > I assume that your'e running the pwd-filter on the AD-server as recommended? > > regards > Emil Kvarnhammar > http://www.ynax.com > > "Ciju O baby" wrote in message > news:u$xXsiPXFHA.1404@TK2MSFTNGP09.phx.gbl... > >I have a problem here with the ADSOpenObject call . > > /wcscpy(GroupDN, L"WinNT://tellytubbies.net/hhhhhh2,user"); > > if(SUCCEEDED(result = ADsOpenObject(GroupDN, NULL ,NULL > > ,ADS_SECURE_AUTHENTICATION,IID_IADs ,(void **)&Group))) > > { > > > > } > > > > hhhhhh2 is the SAMACcount name of a user in the AD . This call to > > ADSOPen > > Object is not returning. Isit because of any locking issues. I tried > > giving > > several user name and password . I am getting the results ok when i ran > > this > > as an application . I face this problem only when i run this as a password > > filter . Password filter dll is called by the OS whenever an attempt is > > made to change a user password . This dll work in the security context of > > local system account . > > > > THanks in advance for all your replies . > > > > Regards > > Ciju O Baby > > > > > >
Is it locking the AD Object when the password filter is called "Emil" <nomail at nomail dot com> wrote in message news:uO3SbMtXFHA.3840@tk2msftngp13.phx.gbl... > I assume that your'e running the pwd-filter on the AD-server as recommended? > > regards > Emil Kvarnhammar > http://www.ynax.com > > "Ciju O baby" wrote in message > news:u$xXsiPXFHA.1404@TK2MSFTNGP09.phx.gbl... > >I have a problem here with the ADSOpenObject call . > > /wcscpy(GroupDN, L"WinNT://tellytubbies.net/hhhhhh2,user"); > > if(SUCCEEDED(result = ADsOpenObject(GroupDN, NULL ,NULL > > ,ADS_SECURE_AUTHENTICATION,IID_IADs ,(void **)&Group))) > > { > > > > } > > > > hhhhhh2 is the SAMACcount name of a user in the AD . This call to > > ADSOPen > > Object is not returning. Isit because of any locking issues. I tried > > giving > > several user name and password . I am getting the results ok when i ran > > this > > as an application . I face this problem only when i run this as a password > > filter . Password filter dll is called by the OS whenever an attempt is > > made to change a user password . This dll work in the security context of > > local system account . > > > > THanks in advance for all your replies . > > > > Regards > > Ciju O Baby > > > > > >