View previous topic :: View next topic |
Author |
Message |
Dr. Arbeitslos Apprentice
Joined: 13 Aug 2005 Posts: 152
|
Posted: Thu Dec 21, 2006 9:27 am Post subject: strange error while connecting to a cifs (SOLVED) |
|
|
Hi,
i'm trieing to mount like that:
Code: |
mount -t cifs sig:/shared /media/sigShared -onoauto,username=<myLogin>,uid=1000,gid=100
|
and get after entering my password:
Quote: | mount error 13 = Permission denied |
now the strange part:
if I ssh to the that machine
i'm entering my password (that works with ssh)
Now i'm changing it like that:
and entered some new password to test things.
I trieed the following passwords for testing purposes:
asdfghjkl -> works, I can mount the share without error.
yxcvbnm -> doesn't
qwertzuio -> doesn't
<aRangeOfOthers> doesn't
asdfghjkl -> works again.
So this is reproducible. Nothing else is changed during that tests.
What I'm doing wrong?
Thanks in advance.
edit: btw the connection to the server goes through openvpn in the case that matters.
Last edited by Dr. Arbeitslos on Fri Dec 22, 2006 8:35 am; edited 1 time in total |
|
Back to top |
|
|
Hajen n00b
Joined: 05 Feb 2004 Posts: 35 Location: Sweden
|
Posted: Thu Dec 21, 2006 10:06 am Post subject: |
|
|
Hi
I have noticed the same behaviour on a Gentoo box we installed last week. But the problem is not for all cifs mounts.
When mounting shares from a Win SBS 2003 server I get no errors and the mount works fine.
When trying to mount from a Win 2000 server I get the same error as Dr. Arbeitslos.
Both the abowe cifs mounts works with the same credentials and fstab entries on anothe Gentoo box here. The new box is using 2.6.8-gentoo-r4 kernel whereas the old one is running a 2.6.17-gentoo-r8 kernel. Exept from that they are using the same version of samba (3.0.22-r3) etc. |
|
Back to top |
|
|
Dr. Arbeitslos Apprentice
Joined: 13 Aug 2005 Posts: 152
|
Posted: Thu Dec 21, 2006 11:01 am Post subject: |
|
|
Hi Hajen,
did you mean 2.6.18-gentoo-r4 instead of 2.6.8-gentoo-r4? If so, the both machines causing errors are running the same kernel. |
|
Back to top |
|
|
Dr. Arbeitslos Apprentice
Joined: 13 Aug 2005 Posts: 152
|
Posted: Fri Dec 22, 2006 8:37 am Post subject: |
|
|
I got it, the passwords from sshd and samba wasn't in sync (they used different backends I think). |
|
Back to top |
|
|
|