OK. All I want is to do is check wheather a password is correct or not. I want to ask a server if as string like "asecret" is the correct password for user "myname". All I want to know of the server is if the password is OK or NOT OK. I'm not using it for password guessing or anything. I just want my app to use the same password as the password on the server. So when I change a user's password for his/hers login on the Server my app also "changes" with it and they can use the new password. This way I won't havo to change the password in several places.

What API should I use, and maybe you can also tell me how. I don't care about other stuff around the code, all I want to know is the basic procedure...

I do know how to get a users/group list from the server...

Please, can anyone help me?