search for: dos_struni2

Displaying 4 results from an estimated 4 matches for "dos_struni2".

2002 Nov 20
3
The Samba Team announces Samba 2.2.7 - security release
...here--------------------------------- - --- libsmb/smbencrypt.c.orig Tue Nov 19 17:21:57 2002 +++ libsmb/smbencrypt.c Tue Nov 19 17:22:12 2002 @@ -63,7 +63,7 @@ if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ - - dos_struni2((char *)wpwd, (const char *)passwd, 256); + dos_struni2((char *)wpwd, (const char *)passwd, len); /* Calculate length in bytes */ len = strlen_w((const smb_ucs2_t *)wpwd) * sizeof(int16); - -------------------------------cut here--------------------------------- Changes sinc...
2002 Nov 20
3
The Samba Team announces Samba 2.2.7 - security release
...here--------------------------------- - --- libsmb/smbencrypt.c.orig Tue Nov 19 17:21:57 2002 +++ libsmb/smbencrypt.c Tue Nov 19 17:22:12 2002 @@ -63,7 +63,7 @@ if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ - - dos_struni2((char *)wpwd, (const char *)passwd, 256); + dos_struni2((char *)wpwd, (const char *)passwd, len); /* Calculate length in bytes */ len = strlen_w((const smb_ucs2_t *)wpwd) * sizeof(int16); - -------------------------------cut here--------------------------------- Changes sinc...
2002 Dec 06
0
smbpasswd has password length problem with the 2.2.7 security patch
...ut here--------------------------------- ---- libsmb/smbencrypt.c.orig Tue Nov 19 17:21:57 2002 +++ libsmb/smbencrypt.c Tue Nov 19 17:22:12 2002 @@ -63,7 +63,7 @@ if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ - dos_struni2((char *)wpwd, (const char *)passwd, 256); + dos_struni2((char *)wpwd, (const char *)passwd, len); /* Calculate length in bytes */ len = strlen_w((const smb_ucs2_t *)wpwd) * sizeof(int16); - -------------------------------cut here---------------------------------
2002 Aug 19
0
OS X Setup Woes
...a new user to the Samba world. Every time I try, I get a Console Crash log that looks like this: >Command: swat >PID: 680 > >Exception: EXC_BAD_ACCESS (0x0001) >Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x000000df > >Thread 0 Crashed: > #0 0x0007c3c0 in dos_struni2 > #1 0x000182a4 in E_md4hash > #2 0x0001832c in nt_lm_owf_gen > #3 0x00031ef0 in pdb_set_plaintext_passwd > #4 0x000311b0 in local_password_change > #5 0x0000596c in change_password > #6 0x00005c40 in chg_passwd > #7 0x00005ea8 in passwd_page > #8 0x0...