Is NetUserChangePassword thread safe?

From: Koushik (koushikd_at_gmail.com)
Date: 11/25/05

  • Next message: sunit: "WorkStation"
    Date: 25 Nov 2005 03:05:30 -0800
    
    

    Hi,

    I have a server process (actually running as a service) which perform
    password change operations. For this purpose I am using the
    NetUserChangePassword API. The server can handle multiple password
    change requests at the same time. Consider a scenario where the server
    receives 2 simultaneous password change request for the same user and
    spawns 2 threads for handling the requests. In this case do each thread
    explicitly needs to acquire a lock before calling NetUserChangePassword
    or the API internally handles such scenarios?

    Thanks,
    Koushik


  • Next message: sunit: "WorkStation"

    Relevant Pages

    • Re: Paswoord Expiration
      ... "Matt Gibson" wrote: ... > Is this a new SBS server? ... day expiration, two passwords rememberd, 14 days between password change. ...
      (microsoft.public.windows.server.sbs)
    • Re: Password change
      ... need to indicate which computer the password change ... I was logged in to the remote server ... >149427.KB.EN-US How to Change User Password at Command ... >Please do not send email directly to this alias. ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Resetting passwords via webpage
      ... You experience various problems when you use the Password Change pages ... in IIS 6.0 ... "Jason Deno" wrote in message ... Its a remote web server. ...
      (microsoft.public.inetserver.iis)
    • change password at next logon
      ... I have exchange 2007 CAS, running on Server 2008 using IIS7. ... we have a password change policy and many of my users use OWA only, now all users are able to use the OWA password change when they are logged into their mailbox, but when a password is changed and the option for the user to change password at next logon checked, or the password allowed to expire the user cant login to OWA. ...
      (microsoft.public.exchange.setup)
    • Re: Password change - Where does it occur?
      ... Password changes are handled by the server that logged you on and then ... 225511 New Password Change and Conflict Resolution Functionality in Windows ... | "Dave H" wrote in message ...
      (microsoft.public.win2000.active_directory)