mount samba share woes
Ive got samba set up on both my servers, works no problem I can access the shares from all my windows clients.
But I cant seem to mount a share from one server on the other..
USing the instructions here: Welcome to JustLinux: Wanna learn Linux?
I just get an access denied..
but checking using smbclient works with the same credientials...
oasis ~ # mount -t smbfs //192.168.2.4/admin /test1 -o user=robert,password=mypass
20959: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
Am I missing something?
oasis ~ # smbclient //192.168.2.4/admin -U robert
Domain=[ROBERTS] OS=[Unix] Server=[Samba 3.0.33]
mount -t cifs //192.168.2.4/admin /test1 -o user=robert,password=mypass
IIRC, you have to pass your credentials like:
It might be 'username', too.
mount would complain long before a connection failure if he wasn't ;)
Originally Posted by jinnantonnix
yup, running as root,
cifs gives me a
chaniging user to username gives me
mount: unknown filesystem type 'cifs'
which is a problem.
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
You've already created the target mount point, right?
yep did that first. I think it must be something wrong with the kernel going by that last errorr
I'd check you've got the SMB and CIFS modules set up right, I think the error you're seeing is earlier than actually connecting to the target host.