1 /* cygserver_setpwd.h: Set LSA private data password for current user.
3 This file is part of Cygwin.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 #ifndef __CYGSERVER_SETPWD_H__
10 #define __CYGSERVER_SETPWD_H__
12 #include <sys/types.h>
13 #include "cygserver.h"
15 #define CYGWIN_LSA_KEY_PREFIX L"L$CYGWIN_"
17 #ifndef __INSIDE_CYGWIN__
18 class transport_layer_base
;
22 class client_request_setpwd
: public client_request
24 friend class client_request
;
35 #ifndef __INSIDE_CYGWIN__
36 client_request_setpwd ();
37 virtual void serve (transport_layer_base
*, process_cache
*);
42 #ifdef __INSIDE_CYGWIN__
43 client_request_setpwd (PUNICODE_STRING
);
47 #ifdef __INSIDE_CYGWIN__
48 unsigned long setlsapwd (const char *passwd
, const char *username
);
51 #endif /* __CYGSERVER_SETPWD_H__ */