Find Jobs
Hire Freelancers

C++ Fix unicode conversion for an Active Directory password filter

$100-300 USD

Cancelled
Posted over 12 years ago

$100-300 USD

Paid on delivery
We have a C++ DLL that plugs into Active Directory as a password filter. The project files are for Visual Studio 2010. How these filters work is explained here: * [login to view URL] * [login to view URL](VS.85).aspx When a password-change is detected (when ActiveDirectory calls the passwordChangeNotify function is called in our DLL), the password filter calls a COM-component, which sends on the password-change event to other systems. This all works as advertised, except for one thing; For both the username and password, several non-standard characters are added to the string. I'm pretty sure that this is caused by a buffer-overrun when the strings are converted from a unicode string (PUNICODE) to a BSTR. I'm not a C++ programmer (I do C# usually) and am unable to fix the problem myself. To test your password DLL, I have setup a Windows Server 2003 server and Windows Server 2008 server, on which you can deploy and test the DLL. This is an easy, but urgent project. If you manage to solve the problem within 24 hours, expect a top rating and a bonus. The source code is attached. The problematic code is in PasswordFilter.cpp. Look for these functions; * INLINE BSTR PUNICODEToBSTR(PUNICODE_STRING pStr) * NTSTATUS STDCALL PasswordChangeNotify(PUNICODE_STRING User, ULONG RelativeId, PUNICODE_STRING Password)
Project ID: 3533170

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $185 USD for this job
User Avatar
See private message.
$220 USD in 2 days
4.5 (35 reviews)
5.7
5.7
User Avatar
See private message.
$150 USD in 2 days
5.0 (5 reviews)
2.6
2.6

About the client

Flag of NETHERLANDS
Zwijndrecht, Netherlands
5.0
31
Payment method verified
Member since Oct 13, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.