Hi,

I found the posting in the link below.
http://groups.google.co.in/group/microsoft.public.adsi.general/browse_thread/thread/fef64d519e9c0655/5c323bd87771d99d?lnk=st&q=authentication+mechanism+unknown+active+directory&rnum=7&hl=en#5c323bd87771d99d

I am also facing the same problem exactly like this. the windows service is 
trying to call a exe which will try to create a new user in Active Directory 
2000.
The exe is creating the new user when the exe is executed through the debug 
mode, but the same exe is not able to create the user while it is called by a 
windows service.

It breaks in the statement 
objSResult = objSearch.FindOne(); 

It is not able to find the existing user.

I also verified in the GPO, "Deny Log on as a service" is not set.

Any ideas how to solve this problem. How to use the imperosantion in the code 
and what it will exactly do in this case. ( I mean why should i use 
impersonation here).

Immediate reply is much appreciated.

Regards,
Krishnan

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to