Samba troubles...
ok well i think the easiest way for you to find out whats been tried to help this problem and what it exactly is is goto this link:
http://forums.overclockers.com.au/sh...5&pagenumber=1 hopefully you guys can come up with something *prays* :) |
sorry? we're meant to get an account on some australian forum website in order to be entitled to help you?? hmm, no thanks.
|
oh shit...sorry! i forgot that you have to register to view OCAU...whoops...ok well a run down of whats happening...ive just installed Samba and when i go smbclient -L 192.168.0.200 i get this:
add interface ip=192.168.0.203 bcast=192.168.0.255 nmask=255.255.255.0 session request to 192.168.0.200 failed (Called name not present) session request to 192 failed (Called name not present) password: hopefully those errors don't mean all that much?? anway, i enter the password and it displays the shares.. now onto trying to view the damn things!! somebody mentioned this: mount -t smbfs -o username=yourusername,password=yourpassword //ipaddress/sharename /mnt/whateverdirectoryyouwanttomntitat when i go mount -t smbfs -o username=administrator,password=mahpassword //192.168.0.200/f$ /mnt/f it says this: mount: mount point /mnt/f does not exist so i went into /mnt and created the f folder then tried again and i get this error: smbfs: mount_data version 1919251317 is not supported mount: wrong fs type, bad option, bad superblock on //192.168.0.200/f$, or too many mounted file systems then sombody suggested: ps -ae|grep smbd && ps -ae|grep nmbd which should return something like 643 ? 00:00:00 smbd 537 ? 00:00:00 nmbd if it didn't return that, he said try this: /usr/local/samba/bin/smbd && /usr/local/samba/bin/nmbd so i tried but mine returned 16249 ? 00:00:00 smbd 16251 ? 00:00:00 nmbd so then it tried the /usr/local/samba/bin/smbd && /usr/local/samba/bin/nmbd and tried the ps -ae|grep smbd && ps -ae|grep nmbd cmd again..it returned the same numbers/msg...so i just tried mounting it again but it still didn't work any idea's??? Edit: im running RedHat 7.1 |
to use the the mount command with smbfs your kernel has to have support built in or a module loaded for smbfs.
What distro do you use? Opps last line in your post. Does RH7.1 ship with smbfs built into the default kernel? Is the share f$ or is it F$ I looked on mine and the admin shares are all caps, Dont know if that matters. mount -t smbfs -o username=<username> /192.168.1.***/C$ /test Worked on my slack box(samba server) to connect to this win2k machine I'm typing on, that has no "shares" except for the admin shares. I rebuilt the kernel to include support for smbfs built in. |
yeah somebody just said my kernel may not have support for smbfs in the thread at OCAU...what exactly is smbfs? just a samba program that allows viewing of shares??
is it possible to download the module needed for smbfs? oh wait...anythings possible with linux i hear ;) |
smbfs is support for windows network filesystem. Like vfat is support for fat32 and fat partitions. You may allready have the module on your system.
modprobe smbfs |
i tried the cmd modprobe smbfs just then and nothing came up...it just returned to the shell...
|
modprobe will try to install a module, but you won't get any feedback if it succeeds. Type lsmod to see if it worked; the module should show up in the resulting list.
|
well i did lsmod and in the list it shows this:
smbfs size: 35696 used by: 0 :confused: |
does anybody know the modules that it requires to run so i can download them??
|
As lsmod shows you, smbfs is loaded already, so it's probably not a module issue.
Make sure that mount.smb and mount.smbfs both exist in /sbin. If they live somewhere else on your system, move them to /sbin. |
ive done a search in the samba dir and /sbin dir but cannot find any files called mount.smb or mount.smbfs
i did a search on google for mount.smb and it didn't come up with a download location for these files...could somebody e-mail them to leighgardiner@hotmail.com please? thanks |
Grim Reaper,
I've already emailed you the following, but I'll post it here as well just to let the entire world know how off-base I am about this: :D Quote:
|
Samba mount problems
I had the same error:
kernel: smbfs: mount_data version 1919251317 is not supported I am using suse 9.0 for AMD64 and had upgraded from the supplied Samba 2.2.8 rpm to a compiled 3.0.2 tarball. I checked the original rpms and found that there was a file /sbin/mount.smbfs which was not in the 3.0.2 install. I softlinked this to smbmount and can mount mount shares. |
All times are GMT -5. The time now is 03:43 PM. |