Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange error while connecting to a cifs (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dr. Arbeitslos
Apprentice
Apprentice


Joined: 13 Aug 2005
Posts: 152

PostPosted: Thu Dec 21, 2006 9:27 am    Post subject: strange error while connecting to a cifs (SOLVED) Reply with quote

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
Code:
ssh <myLogin> sig

i'm entering my password (that works with ssh)
Now i'm changing it like that:
Code:
passwd

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
View user's profile Send private message
Hajen
n00b
n00b


Joined: 05 Feb 2004
Posts: 35
Location: Sweden

PostPosted: Thu Dec 21, 2006 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Dr. Arbeitslos
Apprentice
Apprentice


Joined: 13 Aug 2005
Posts: 152

PostPosted: Thu Dec 21, 2006 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Dr. Arbeitslos
Apprentice
Apprentice


Joined: 13 Aug 2005
Posts: 152

PostPosted: Fri Dec 22, 2006 8:37 am    Post subject: Reply with quote

I got it, the passwords from sshd and samba wasn't in sync (they used different backends I think).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum