Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
#I'm trying to mount a shared file of a W2K PC on my linuxbox (FC2) at work.
#The file is shared for "everyone" on the windows pc. But just to be sure an appropriate #account (dan%password) exists on this system. No firewall installed.
#I can enter the share via nautilus: smb://kikli-g3-838-02/D%24... works fine
#I am trying with smbmount like this:
####################################
[don@tron don]$ smbmount //kikli-g3-838-02/D$ /mnt/lcms -o username dan%password
Password:
Anonymous login successful
9632: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
####################################
#If i don't specify the password in the comand (but i am asked for the pwd anyway)
#it looks even worse:
####################################
[don@tron don]$ smbmount //kikli-g3-838-02/D$ /mnt/lcms -o username dan
Password:
9835: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
###################################
#The funny thing is that smbclient works just fine:
####################################
[don@tron don]$ smbclient //kikli-g3-838-02/D$ -U dan%password
Domain=[KIKLI-G3-838-02] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \> ls
Data D 0 Thu Jun 10 09:35:20 2004
E3K00130 DR 0 Tue Jan 13 14:18:01 2004
HyStar D 0 Tue Apr 20 10:27:59 2004
Methods D 0 Tue Jun 8 15:40:47 2004
Perl D 0 Wed Mar 31 18:10:21 2004
RECYCLER DHS 0 Mon Dec 22 17:13:58 2003
Shortcut to Methods.lnk A 375 Tue Apr 13 16:30:59 2004
Shortcut to Transfer.lnk A 383 Wed Apr 21 09:52:22 2004
System Volume Information DHS 0 Mon Dec 22 17:23:25 2003
testfile A 0 Wed Apr 28 07:44:08 2004
Transfer D 0 Wed Jun 16 11:52:54 2004
WUTemp DA 0 Mon May 10 10:57:57 2004
34200 blocks of size 1048576. 30108 blocks available
#####################################
#But i would really like to mount it! Could you please help me?
#The smb.conf file looks like this (if it is of any importance):
#####################################
[global]
security =share
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
browseable = no
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
[public]
comment = Public Stuff
path = /public
;guest ok = yes
;guest only = yes
public = yes
read only = no
###################################
Thank you for reading this
the mount... command doesn't produce an error, BUT it times out, or hangs for ever!!!! I had to reboot my box, even shutting down was problematic because of samba... i had to pull the plug after 37 time outs!
please help! i know it works somehow, because nautilus can acces this stupid windows share!!!
Now it works
thx for your help
mount -t cifs //130.92.40.45/D$ /mnt/lcms -o user=Administrator
It doesn't work with the machinename, it has to be the IP, it doesn't work with my username althought it is shared for everyone! Maybe because its an entire disk? Happy now
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.