[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2199-gcc23f91
Jeremy Allison
jra at samba.org
Fri Apr 25 15:46:31 GMT 2008
On Fri, Apr 25, 2008 at 10:02:23AM +0200, Andreas Schneider wrote:
> Jeremy Allison wrote:
>
> Hi Jeremy,
>
>> @@ -67,6 +68,13 @@
>> #define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
>> +#ifndef SAFE_FREE
>> +#define SAFE_FREE(x) do { if ((x) != NULL) {free(x); x=NULL;} } while(0)
>> +#endif
>> +
>> +#define MOUNT_PASSWD_SIZE 64
>> +#define DOMAIN_SIZE 64
>> +
>> const char *thisprogram;
>> int verboseflag = 0;
>> static int got_password = 0;
>
> Windows versions above Windows 98 (Windows 2000, XP and above including
> Samba), support passwords up to 127 characters.
>
> There is a patch on the linux-cifs mailinglist to extend the password
> check.
>
> http://lists.samba.org/archive/linux-cifs-client/2008-January/002606.html
>
> So shouldn't MOUNT_PASSWD_SIZE set to 128 and the patch from the
> mailinglist applied too?
Sure, once that's in I've no objections to changing this,
just don't want to do it now.
Jeremy.
More information about the samba-technical
mailing list