Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange mount.cifs credentials behavior
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
rmoerlan
n00b
n00b


Joined: 18 Aug 2005
Posts: 5

PostPosted: Tue Jan 06, 2009 4:02 pm    Post subject: strange mount.cifs credentials behavior Reply with quote

This is in a workplace environment where the server with the share is an EMC box using AD for authentication for our Windows users. Yipee!

If I do this:
Code:

mount.cifs //server/share /home/rmoerlan/share -o domain=corp,user=firstname.lastname,password=passwd


It works just fine.

However, if I want to use a credentials file and set them as:
Code:

user=firstname.lastname
password=passwd


and then try
Code:

mount.cifs //server/share /home/rmoerlan/share -o domain=corp,credentials=/home/rmoerlan/.cred
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


I do a similar thing with my home machines w/o trouble. I've tried smb4k and it can't mount anything, giving me the same permission denied error. However, I can browse the share using Dolphin using a username of domain\firstname.lastname and the same password.

I've tried putting the password in quotes, but that didn't work. I tried putting domain\firstname.lastname in the credentials and combinations with domain=corp being in or out of the mount.cifs options w/o success.

This occurs whether I try it as a user or as root.

I'm pretty much at a loss as to how next to try attacking this one.
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