* cygserver_setpwd.h (setlsapwd): Add username parameter to declaration.
* external.cc (cygwin_internal): In the CW_SET_PRIV_KEY case, fetch additional username parameter. * setlsapwd.cc (setlsapwd): Add username parameter. Allow admin to set the hidden password for other users.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* cygserver_setpwd.h: Set LSA private data password for current user.
|
||||
|
||||
Copyright 2008 Red Hat, Inc.
|
||||
Copyright 2008, 2011 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
};
|
||||
|
||||
#ifdef __INSIDE_CYGWIN__
|
||||
unsigned long setlsapwd (const char *passwd);
|
||||
unsigned long setlsapwd (const char *passwd, const char *username);
|
||||
#endif
|
||||
|
||||
#endif /* __CYGSERVER_SETPWD_H__ */
|
||||
|
Reference in New Issue
Block a user