cifs mount "password too long"
Hello,
I'm trying to do a cifs mount to mount a directory on my RHEL4 server to a shared folder on a Windows 2003 server. I'm using this command: mount.cifs //<W2K3ipaddress>/<sharedFolder> /<pathToLinuxFolder> -o dom=<domainName>,user=<W2K3username>,pass="<W2K3password>" I'm getting a "password too long" error message. My password is 14 alphanumeric and contains an @ symbol and an exclamation point...would either the @ symbol or the exclamation point be causing the problem? I see it tries to convert my the part of my password after the exclamation point up to the @ symbol to "ls -al" after I hit enter. If I leave the quotes off around the password, I get a "invalid mount a" error. I think when it's converting the password to "ls -al" it's reading the "-a" as an option. How can I get this to work using my current password??? Thank you |
If the password is 1@5!8 then you probably need to escape the @ and the ! as follows:
Code:
pass="1\@5\!8" Code:
pass='1\@5\!8' |
All times are GMT -5. The time now is 10:36 PM. |