Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Sep. 01 2007,14:23 |
|
I'm trying to build a new samba extension in the continuing quest to use dsl to share printers with windows machines.
At the moment I'm having difficulty to mount a windows share:Code Sample | $ smbtree -h Password: JUANITO \\MSS-FFB1EF mss-FFB1EF \\MSS-FFB1EF\ADMIN$ IPC Service ("mss-FFB1EF") \\MSS-FFB1EF\IPC$ IPC Service ("mss-FFB1EF") \\MSS-FFB1EF\Public \\MSS-FFB1EF\config \\DSLKAYAK Samba 3.0.25b \\DSLKAYAK\OfficeJetG85 OfficeJetG85 \\DSLKAYAK\IPC$ IPC Service (Samba 3.0.25b) \\DSLKAYAK\print$ Printer Drivers \\DSLKAYAK\share | Where \\MSS-FFB1EF is a windows network hd.
If I try the following, it fails:Code Sample | $ sudo mount.cifs \\MSS-FFB1EF\Public /home/dsl/mnt -o user=juanito mount error: improperly formatted UNC name. \MSS-FFB1EFPublic does not begin with \\ or // No ip address specified and hostname not found |
But if I try this, it does work:Code Sample | $ sudo mount.cifs //192.168.1.110/Public /home/dsl/mnt -o user=juanito parsing options: user=john Password:
mount.cifs kernel mount options unc=//192.168.1.110\Public,ip=192.168.1.110,pass=xxxx,ver=1,user=juanito | Note that the smbfs has apparently been replaced by cifs.
Does anybody have an idea what I might be doing wrong?
|