I am having problem with accessing shres on win server (no AD).
When try to mount I get “password to long”
The truth is that password is at last 16 characters long.
for instance, when issue cmd like:
mount -t cifs -o username=<USERNAME>,password=<PASSWORD>…
I get the mentioned error.
But with env variable PASSWD set, or with something like:
mount -t cifs -o username=<USERNAME>%<PASSWORD>
I get share mounted without errors.
The biggest problem is that I want users can mount win shares trough SMB4K but it gives me mentioned error.
>
> I am having problem with accessing shres on win server (no AD).
> When try to mount I get “password to long”
> The truth is that password is at last 16 characters long.
> for instance, when issue cmd like:
> mount -t cifs -o username=<USERNAME>,password=<PASSWORD>…
> I get the mentioned error.
>
> But with env variable PASSWD set, or with something like:
> mount -t cifs -o username=<USERNAME>%<PASSWORD>
> I get share mounted without errors.
>
> The biggest problem is that I want users can mount win shares trough
> SMB4K but it gives me mentioned error.
>
> Any idea how to solve?
>
> br
br;
Over a year ago, there was some discussion on the Samba list concerning the
fact that mount.cifs limited password length to 16 characters. This limit
apparently came about due to some historic reasons with NT4. At that time
there was a proposed patch, but I do not think the developers ever added it
to the release. Please see:
If you google: mount.cifs password maximum password length, this and
other posts can be found. It looks to me like you will need to rebuild the
mount.cifs code to accept long passwords.
I have not tried the patch and offer this only as information. Good Luck!
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
> On Thu October 1 2009 07:06 am, jedancoek wrote:
>
>>
>> I am having problem with accessing shres on win server (no AD).
>> When try to mount I get “password to long”
>> The truth is that password is at last 16 characters long.
<snip>
>
> br;
>
> Over a year ago, there was some discussion on the Samba list concerning the
> fact that mount.cifs limited password length to 16 characters. This limit
> apparently came about due to some historic reasons with NT4. At that time
> there was a proposed patch, but I do not think the developers ever added it
> to the release.
<snip>
br;
You might want to try the most recent release of Samba just in case this was
fixed. The most recent release is 3.4.2. I’m not sure if it is yet on the
Suse mirrors having just been released on 10/1/09.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green