> is there a maximum length of passwords (probably 8 chars) for
> svnserve on HP-UX?
Not the server but the _client_. subversion uses apr_password_get()
for the password prompt, and this uses the system getpass() function if
available, which on some legacy Unix systems will truncate the password
exactly as you see.
The fix would be something like the following (untested) quick hack to
the apr library. No need to recompile subversion, only apr. (Applies
cleanly to apr 0.9.13 as well.)
@@ -64,6 +64,13 @@
#define ERR_OVERFLOW 5
+/* don't use vendor getpass() on HP-UX, as it truncates at 8 characters */
+#if defined(__hpux) || defined(__hpux__)
+#define getpass getpassphrase
/* MPE, Win32, NetWare and BeOS all lack a native getpass() */
Received on Tue Feb 13 21:49:22 2007