Test framework for authentication testing

Detlef Riekenberg wine.dev at web.de
Sun Mar 18 12:01:59 CDT 2007


On So, 2007-03-18 at 12:23 +0100, Kai Blin wrote:

> Now, a better way to do this would be to actually get some stubbed out user 
> database set up, add a user for testing purposes, run the tests and then 
> delete the test user.

Sounds to be a good Idea.

> Now the question that's really bugging me is, is this 
> possible at all? 

from netapi32/access.c: 
NetUserAdd / NetUserDel / NetUserChangePassword

> Does it make sense?

IMHO: Yes. 

> What I'd want to do would be the following:
> * add a user
> * set the user password
> [... run the tests...]
> * delete the user

You must handle the case, that the user has no rights
to do that (User is not an Administrator).


-- 
 
By by ... Detlef





More information about the wine-devel mailing list