PDA

View Full Version : cifs instead of smbfs


daviddoria
2008-07-08, 03:04 PM CDT
I am following some instructions to download software from my university server, and I am getting stuck - they say to do:

mount -t smbfs //SERVER/DIRECTORY /mnt/software -o username=USERNAME

so instead I did:

mount -t cifs //SERVER/DIRECTORY /mnt/software -o user=USERNAME

but after typing my password i get

mount error 13 = Permission denied

Is this really a permissions error? Or have I done something wrong in translating from smbfs to cifs?

Thanks,

Dave

glennzo
2008-07-08, 03:31 PM CDT
Here's what I use to mount the /temp folder on johnbonham (Fedora 9) to the /media/temp folder on this computer (Fedora 9). Just thought it might give you some ideas.

mount -t cifs //johnbonham/temp /media/temp -o username=glenn,password='',uid=500,gid=500

Hope it proves helpful.

Edit: Since they're both Fedora 9 they're both using cifs. However, johnbonham was running Fedora 8 and the command was successful for me at that time also.

daviddoria
2008-07-08, 03:34 PM CDT
no luck, same error!

glennzo
2008-07-08, 03:41 PM CDT
I'm Google - ing the error and I see that someone has had success with mount.cifs instead of mount -t cifs. Might be worth a try.

Look here, http://www.linuxquestions.org/questions/linux-networking-3/cifs-mount-error-13-permission-denied-cifs-sucks-463271/, post 13 looks interesting.

daviddoria
2008-07-08, 03:42 PM CDT
i believe they are the same thing, no?

glennzo
2008-07-08, 03:43 PM CDT
Maybe. I don't know. Anything different using mount.cifs?

daviddoria
2008-07-08, 03:44 PM CDT
nope, same thing

glennzo
2008-07-08, 03:47 PM CDT
What OS is the school server running?

daviddoria
2008-07-08, 03:48 PM CDT
I don't know, how do I check? And I thought samba was really independent of platform?

glennzo
2008-07-08, 03:49 PM CDT
Here's one that is claimed works on 2003 server. Adjust to your needs.
mount.cifs //osirus.ficticious.org/inetpub /inetpub -o user=transfer,pass=dkfhjdjskd,domain=FICTDOMAIN

daviddoria
2008-07-08, 03:51 PM CDT
nothing is different there...still doesn't work with a "fictdomain"...

glennzo
2008-07-08, 03:51 PM CDT
I don't know, how do I check? And I thought samba was really independent of platform?Don't know how to check. I believe that Samba is supposed to be platform independent. Have you searched this forum for answers?

glennzo
2008-07-08, 04:27 PM CDT
nothing is different there...still doesn't work with a "fictdomain"...
Most of that is fictional. You need to adjust it for your own circumstances.

mount.cifs //server/directory -o user=yourusername,pass=yourpassword,domain=thescho olsdomain

Where
//server/directory is whatever you've been told to use
yourusername is your valid user name
yourpassword is the password they gave you
theschoolsdomain is whatever the schools' domain is

daviddoria
2008-07-08, 06:57 PM CDT
still no luck

is there something very different that I can try? another client perhaps?

hyperspace
2008-07-09, 06:47 AM CDT
Have you checked with IT at the university on this? Maybe they can shed some light on this issue.