diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-13 18:12:22 +0200 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-13 18:12:22 +0200 | 
| commit | a41d0c2ba0deabbaa9f6ade63f0dc0bf4cddc24c (patch) | |
| tree | 1d4db7deb2afdf0bbcaebf3389c5d3e1932e4a0d /package/proftpd/patches/patch-modules_mod_auth_unix_c | |
| parent | 8edb1cd5a6a03b391003a1047e0b3ca6d22acd45 (diff) | |
| parent | d2f556494390602b912fac06169ea6ef7552ef2e (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/proftpd/patches/patch-modules_mod_auth_unix_c')
| -rw-r--r-- | package/proftpd/patches/patch-modules_mod_auth_unix_c | 29 | 
1 files changed, 29 insertions, 0 deletions
| diff --git a/package/proftpd/patches/patch-modules_mod_auth_unix_c b/package/proftpd/patches/patch-modules_mod_auth_unix_c new file mode 100644 index 000000000..a439d6b5a --- /dev/null +++ b/package/proftpd/patches/patch-modules_mod_auth_unix_c @@ -0,0 +1,29 @@ +--- proftpd-1.3.3.orig/modules/mod_auth_unix.c	2009-10-14 20:49:31.000000000 +0200 ++++ proftpd-1.3.3/modules/mod_auth_unix.c	2010-05-30 13:02:15.515625000 +0200 +@@ -77,6 +77,7 @@ + # endif + #endif /* PR_USE_SIA */ +  ++/* + #ifdef CYGWIN + typedef void *HANDLE; + typedef unsigned long DWORD; +@@ -85,7 +86,8 @@ typedef unsigned long DWORD; + DWORD WINAPI GetVersion(void); + extern HANDLE cygwin_logon_user (const struct passwd *, const char *); + extern void cygwin_set_impersonation_token (const HANDLE); +-#endif /* CYGWIN */ ++#endif  ++*/ +  + #ifdef SETGRENT_VOID + # define RETSETGRENTTYPE	void +@@ -738,7 +740,7 @@ MODRET pw_check(cmd_rec *cmd) { +  + #else /* !PR_USE_SIA */ +  +-# ifdef CYGWIN ++# if 0 +   /* We have to do special Windows NT voodoo with Cygwin in order to be +    * able to switch UID/GID. More info at +    * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID | 
