search for: password_length

Displaying 3 results from an estimated 3 matches for "password_length".

2004 Jan 06
1
Keychain Patch Try II
...rn NULL; + return xstrdup(""); } -#endif /* USE_KEYCHAIN */ ret = xstrdup(buf); memset(buf, 'x', sizeof buf); return ret; } - -#ifdef USE_KEYCHAIN - -int get_passphrase_from_keychain(const char *prompt, char buf[], size_t size) -{ - void *password_data; - UInt32 password_length; - - if (SecKeychainFindGenericPassword(NULL, strlen(prompt), prompt, strlen(prompt), prompt, &password_length, &password_data, NULL) == noErr) { - /* Then we got the password from the Keychain */ - fprintf(stderr, "%s found in Keychain.", prompt); - strncpy(buf, (char...
2000 May 08
0
Patch for IA-64
...t. Check for shadow separately on HPUX. diff -ruN samba-2.0.6/source/include/includes.h samba-2.0.6.ia64/source/include/includes.h --- samba-2.0.6/source/include/includes.h Wed Nov 10 18:36:00 1999 +++ samba-2.0.6.ia64/source/include/includes.h Fri Apr 28 18:51:12 2000 @@ -324,6 +324,10 @@ #define PASSWORD_LENGTH 16 #endif /* HAVE_SYS_SECURITY_H */ +#ifdef HAVE_CRYPT_H +#include <crypt.h> +#endif + #ifdef HAVE_COMPAT_H #include <compat.h> #endif diff -ruN samba-2.0.6/source/smbd/chgpasswd.c samba-2.0.6.ia64/source/smbd/chgpasswd.c --- samba-2.0.6/source/smbd/chgpasswd.c Wed Nov 10 18:36:0...
2002 May 24
2
Password Length Conundrum
...hashes, not the whole old format line)from my 2.0.3 server password file, and it works properly on all platforms with the 9 character password. I haven't got any of the password synchronisation stuff turned on, just a basic test setup (conf file below). I've tried increasing the values of PASSWORD_LENGTH in source/include/includes.h and recompiling, but it hasn't helped. There appears to be something truncating my password before the hashes are created in the smbpasswd file. Does anyone who knows the source better than me know how to patch this out? Cheers Carl % more ../lib/smb.conf # Samb...