LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   type smb unknown when trying to mount xp mount via samba (https://www.linuxquestions.org/questions/linux-networking-3/type-smb-unknown-when-trying-to-mount-xp-mount-via-samba-497073/)

New2Linux2 11-08-2006 06:23 PM

How about that. I hadn't even noticed that I'm no longer a Newbie. <joy>

PinBalWyz 11-26-2006 07:00 AM

Somebody else mentioned this in passing, but it's important and non-intuitive: If you're running Debian (I don't know if this applies to other linux flavors) you'll have to apt-get install smbfs in order to access 'man mount.cifs' or the "-t cifs" or "-t smbfs" options to 'mount'.

For some reason, Debian's 'sarge' doesn't include the smbfs package when you invoke apt-get install samba. I don't know why but I think it's an annoying oversight. I spent a lot of hours before I stumbled across this omission.

O(V)eGA_l2el) 11-28-2006 08:51 PM

Is there any way to continue mounting with "cifs" filesystem and be able to use windows hostnames rather than IP addresses without having to edit the "/etc/hosts" file?

IE:

mount -t cifs -o credentials=~/path/to/.smbcredentialsfile //windowspc1/share /media/share

kstan 11-28-2006 09:01 PM

1st choice is definitly using your internal dns server.

And, another alternative which i don't know working or not(I saw the option but never try and never read, please inform us if success)
edit /etc/nsswitch.conf
edit hosts entry to
hosts files winbind dns

However, don't put much hope on 2nd choice.
Regards,
Ks

O(V)eGA_l2el) 11-28-2006 09:08 PM

Quote:

Originally Posted by kstan
1st choice is definitly using your internal dns server.
Ks


What steps are involved within FC5? Currently, this is a small home network with Linksys router issuing IP addresses (DHCP).


All times are GMT -5. The time now is 05:24 AM.