LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2004, 08:39 AM   #1
danielson
Member
 
Registered: Jun 2004
Location: Bern, Switzerland
Posts: 37

Rep: Reputation: 15
Question FC2: smbmount->ERRDOS; smbclient->works fine! WHY?


#Hi linux gurus

#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

Last edited by danielson; 06-23-2004 at 08:51 AM.
 
Old 06-23-2004, 08:58 AM   #2
danielson
Member
 
Registered: Jun 2004
Location: Bern, Switzerland
Posts: 37

Original Poster
Rep: Reputation: 15
Talking problem solved... sorry for stupid question

smbmount doesn't seem to like me...
but it works with mount
mount -o username=dan -t smbfs //kikli-g3-838-02/D$ /mnt/lcms
thx anyway
 
Old 06-23-2004, 09:26 AM   #3
danielson
Member
 
Registered: Jun 2004
Location: Bern, Switzerland
Posts: 37

Original Poster
Rep: Reputation: 15
fuck! this doesn't really work!!

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!!!
 
Old 06-23-2004, 10:02 AM   #4
danielson
Member
 
Registered: Jun 2004
Location: Bern, Switzerland
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smbclient fine, smbmount NOT fine hyllplan Linux - Software 4 07-01-2005 07:45 AM
why can't I mount with smbmount if i'm able to connect with smbclient? eantoranz Linux - Networking 3 12-17-2004 12:41 PM
smbclient v.s smbmount linuxtesting2 Linux - Networking 2 12-01-2004 07:20 AM
Cannot bridge networks on FC2/VPC, yet NAT(Shared) works fine quinthar Linux - Networking 1 09-24-2004 08:46 PM
Smbclient is working fine but smbmount is not.. sandy Linux - Networking 1 07-31-2003 05:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration