I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile. credfile:
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system.
Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect"
Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice.
What is baffling is I can successfully mount //server/share via command line:
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
I'm at a loss. Help?
//server/share /mnt/mycooldir cifs credentials=/etc/credfile,dom=mydomain,uid=123,gid=123,file_mode=0666,dir_mode=0755 0 0
Code:
username=foobar password=1234 (ends here no line return after '4')
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system.
Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect"
Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice.
What is baffling is I can successfully mount //server/share via command line:
Code:
mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
I'm at a loss. Help?
no subject
Date: 2009-12-03 11:46 pm (UTC)From:i ran into this with a windows share that we moved
the window's admin had to allow the new ip
no subject
Date: 2009-12-04 01:30 am (UTC)From:The problem was caused by a bug in RHEL5 where a \n was added to the end of the credfile. Wrote the file with printf and was able to automount again. I was able to mount from command line all along.
no subject
Date: 2009-12-04 02:41 am (UTC)From:and when boxes crash it gives you no info
I sooo miss Solaris with it's way of letting you know what's wrong before it crashes
(solaris)
I'm not feeling so well.
I really mean it, i think something is wrong.
I'm going to kill some programs that I think are hurting me
Nope that didn't do it, you'd better help
here's where i don't feel well
sorry, too late, i got to crash
(/solaris)
(linux)
Hey!! how's it going!!
me, i'm.....
crash
(/linux)
:-)
no subject
Date: 2009-12-04 02:57 am (UTC)From:it seems like it was just last week that everyone was on geocities.. I think that's where I found antigen all those years ago? Or was that a mailing list somewhere? gah.. I'm gettin' old!
no subject
Date: 2009-12-04 03:02 am (UTC)From:transgen
:-)
no subject
Date: 2009-12-04 03:10 am (UTC)From:I'd forgotten transgen. amazingly.
I can barely remember some of the drama. Wasn't there a mentally challenged woman who posted for a while.. or didn't they turn out to be a troll or something.. gosh.. that goes way back!
no subject
Date: 2009-12-04 03:12 am (UTC)From:it's the way of the internet