[Samba] smbclient works but mount doesn't

Bodnyk, Bruce W BBodnyk at fciconnect.com
Fri Mar 1 05:52:02 GMT 2002


I've installed Samba 2.2.3a on a Debian Linux machine and
am trying to mount a file directory from an NT machine. When
I use smbclient as in

smbclient //etbodnyk/work -U fciam/bbodnyk

it prompts me for a password and I can get to my work directory.
When I try to mount the directory using

mount -t smbfs -o username=fciam/bbodnyk //etbodnyk/work /mnt

I again get prompted for a password but the mount fails with the 
following error messages:

4854: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
mount: backgrounding "//etbodnyk/work"
etlinux1:/usr/local/samba/bin# Password:
Anonymous login successful
4856: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed.

My Linux box is in the same domain as the NT box however on the NT
side my user account in registered in the fciam domain. Also what is
interesting is I can mount directories successfully from my
Windows 2000 laptop.

Why is smbclient working but not the mount?

Any help would be appreciated!

Thanks!
Bruce

Bruce W. Bodnyk
Staff Engineer, CAE Development
FCI Electronics
825 Old Trail Road
Etters, PA 17319-9351

Phone: (717) 938-7543
Fax: (717) 938-7224
E-Mail: bbodnyk at fciconnect.com






More information about the samba mailing list