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 |
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 |
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!!! |
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 :) |
All times are GMT -5. The time now is 08:21 AM. |