Hi I have two different distributions running, RedHat 6.0 and Slackware 7.0. Both machines are running Samba 2.05a. When I try the smbmount command on the RedHat machine, it has no problem mounting the smb service. RedHat 6.0: works: smbmount //win95machine/c /mnt/c failed: smbmount "\\win95\c" -c `mount /mnt/c -u 123 -g 456` Slacware 7.0: failed: smbmount //win95machine/c /mnt/c failed: smbmount "\\win95\c" -c `mount /mnt/c -u 123 -g 456` Error Msg: Device does not exist. The SmbClient -L host works fine on both distributions.>From a Win95 machine, I have no problem seeing the shares on bothdistributions. Is there anything I can check for the smbmount to work properly? or should I patch it. Thanks Rich -------------- next part -------------- HTML attachment scrubbed and removed
On Mon, 17 Jan 2000 awesome-dave1@juno.com wrote:> Hello, > Is anyone using linux cdroms with smbmount? If so, are you having > problems with it? Whenever I use smbmount to mount a linux rom, for > example my slackware cd, all the files are in uppercase, this does not > happen with any other cd type, for instance, a windows 98 rom. Using > samba 2.05. > Thanks. > Dave.ISO 9660, the filesystem used on all standard CD ROMs, is limited to 8.3 filenames, just like old-fashioned DOS. There are two ways to get around this limitation: one used by Microsoft (Joliet), and one used in the Unix world (Rock Ridge Extensions). Since Joliet is relatively useless in the Unix world, most Linux distributions don't provide for it on their CDs. And, naturally, Windows can't use Rock Ridge, which means that when a Windows box shares the CD out, it has to fall back to 8.3. However, because the Rock Ridge extensions are stored as a regular file in the ISO 9960 filesystem, it would be possible for the names to be translated on the Unix client (smbclient, smbmount, etc). Probably the best way to do this would be to add a command line argument (or a mount option, in the case of smbmount) that enables treating the share like a CD. Or, you could petition the makers of Slackware to put Joliet extensions on their CDs. :) -Steve Langasek postmodern programmer
On Wed, 19 Jan 2000, Jones, Rich wrote:> RedHat 6.0: > works: smbmount //win95machine/c /mnt/c > failed: smbmount "\\win95\c" -c `mount /mnt/c -u 123 -g 456` > > Slacware 7.0: > failed: smbmount //win95machine/c /mnt/c > failed: smbmount "\\win95\c" -c `mount /mnt/c -u 123 -g 456` > > Error Msg: Device does not exist.[snip]> Is there anything I can check for the smbmount to work properly? or should > I patch it.Verify that you have the smb filesystem (smbfs) compiled for the running kernel (in kernel or as a module) on the slackware box. AFAIK samba 2.0.5 doesn't support -u/-g, but 2.0.6 does (different syntax). Since you are using smbfs (or trying to :) you'll want 2.0.6 anyway for the smbmount bugfixes. /Urban