[linux-cifs-client] mount.cifs credentials passing

Richard Hughes ee21rh at eim.surrey.ac.uk
Thu May 6 09:03:11 GMT 2004


I only just got credentials to work. it kept saying:

 mount error 13 = Permission denied

It would appear that mount.cifs.c expects that the cred file is in the
form:

username=me
password=metoo

but the man page tells us to write it in the form:

username = me
password = metoo

which gives us the username " me" and the password " metoo".

Is it worth modifying mount.cifs.c to catch this common case (as it
worked for smbfs I think) or should we just update the man page?

Removing the spaces made it work.


Richard Hughes



More information about the linux-cifs-client mailing list