rmoerlan n00b
Joined: 18 Aug 2005 Posts: 5
|
Posted: Tue Jan 06, 2009 4:02 pm Post subject: strange mount.cifs credentials behavior |
|
|
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. |
|