gerald_clark wrote:Did you also copy /root/.mysharecreds from your C6 machine?
I did. I initially mistyped the file name and mount complained, but once I fixed that everything seems to mount fine ... just no permissions.
I have verified the creds are exactly the same between both
The file has the following contents:
Code: Select all
username=mydomain/myshareusername
password=mysharepassword
Asking me that helped me locate part of the problem. It's not logging in using those creds. When I look at the event viewer I see the CentOS v7 machine trying to log in as "guest" to the share.
Why would v7 log in as guest when v6 logs in correctly?
EDIT:
Trying to manually mount the cifs share via the following command produces the exact same result.
Code: Select all
mount -t cifs -o username=mydomain/myshareusername,password=mypassword //my.windows.server/myshare$ /mnt/myshare
EDIT2:
This works:
Code: Select all
mount -t cifs -o username=myshareusername,password=mypassword,domain=mydomain //my.windows.server/myshare$ /mnt/myshare
How can I translate the mount command that work to an fstab entry?
EDIT3:
Resolved.
I removed the mydomain/myusername form the credentials file and just added the ,domain=mydomain to the fstab entry.