LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Konqueror-Samba Not Letting me access SMB shares (https://www.linuxquestions.org/questions/slackware-14/konqueror-samba-not-letting-me-access-smb-shares-325269/)

brokenflea 05-20-2005 02:48 AM

Konqueror-Samba Not Letting me access SMB shares
 
i've compiled samba from source on my notebook. i connect via a wireless connection and can successfully browse windows share on other boxes on the network when i use the CLI (smbclient \\machine_name\share) , but when i go into konqueror and try to browse the network using smb:\\\machine_name, this is the error i'm getting :

An error occurred while loading smb:/tomatoes:


Could not start process Unable to create io-slave:
klauncher said: Error loading 'kio_smb'.


i've googled this and couldn't locate anything that would help me with this problem. if anyone's encountered this before i would appreciate it if there's a way around it.
TIA

gian2oo1 05-21-2005 11:48 AM

kio_smb...is that a module that isn't in your kernel or hasn't been loaded?

coffeedrinker 05-21-2005 12:10 PM

Try:

smb://computername

watch the /

datadriven 05-21-2005 01:02 PM

Do you run smbclient as root? I think in order for konqueror to access smb share you have to chmod a couple of files

chmod +s /usr/bin/smbmnt /usr/bin/smbumount

brokenflea 05-21-2005 02:20 PM

i ran konqueror as root (through run and 'kdesu konqueror')... i'm gonna try to chmod those files and see what comes up.
also, another thing i noticed was , i installed smb4k and running it as root , it comes up with the error that says, couldn't locate smbmount .... and when i click OK it just shuts the program off. i also recently compiled my kernel to 2.6.10 to get ACPI support for my notebook and i did specify smb file system under file systems > Network file systems. is that the only place i needed to specify or did i need to do something else (specify another module) to have this working.

TIA

brokenflea 05-21-2005 10:05 PM

i tried to chmod those file but i get a

chmod: cannot access `/usr/bin/smbmnt': No such file or directory
chmod: cannot access `/usr/bin/smbmount': No such file or directory

do i need to recompile samba again or worse, recompile my kernel. here's a section from my .config under /usr/src/linux:

CONFIG_SMB_FS=y

any suggestions would be gladly appreciated. thanks

datadriven 05-21-2005 11:21 PM

You definitely DO NOT want to chmod /usr/bin/smbmount

It looks as though you don't have the samba package installed. The samba package is not the same thing as the kernel extension you mentioned.

What does

ls -l /usr/bin/smb*

show?

brokenflea 05-22-2005 07:25 PM

this is the output of ls -l /usr/bin/smb*

Code:

lrwxrwxrwx  1 root root 29 2005-05-13 04:13 /usr/bin/smbcacls -> /usr/local/samba/bin/smbcacls
lrwxrwxrwx  1 root root 30 2005-05-13 04:13 /usr/bin/smbclient -> /usr/local/samba/bin/smbclient
lrwxrwxrwx  1 root root 31 2005-05-13 04:13 /usr/bin/smbcontrol -> /usr/local/samba/bin/smbcontrol
lrwxrwxrwx  1 root root 31 2005-05-13 04:13 /usr/bin/smbcquotas -> /usr/local/samba/bin/smbcquotas
lrwxrwxrwx  1 root root 30 2005-05-13 04:13 /usr/bin/smbpasswd -> /usr/local/samba/bin/smbpasswd
lrwxrwxrwx  1 root root 29 2005-05-13 04:13 /usr/bin/smbspool -> /usr/local/samba/bin/smbspool
lrwxrwxrwx  1 root root 30 2005-05-13 04:13 /usr/bin/smbstatus -> /usr/local/samba/bin/smbstatus
lrwxrwxrwx  1 root root 27 2005-05-13 04:13 /usr/bin/smbtar -> /usr/local/samba/bin/smbtar
lrwxrwxrwx  1 root root 28 2005-05-13 04:13 /usr/bin/smbtree -> /usr/local/samba/bin/smbtree


datadriven 05-22-2005 08:14 PM

It appears that you do not have smbmnt, smbmount, or smbumount.

here's mine
Code:

ls -l /usr/bin/smb*
-rwxr-xr-x  1 root bin 1157240 2004-12-20 00:27 /usr/bin/smbcacls*
-rwxr-xr-x  1 root bin  749672 2004-12-20 00:27 /usr/bin/smbclient*
-rwxr-xr-x  1 root bin  527468 2004-12-20 00:27 /usr/bin/smbcontrol*
-rwxr-xr-x  1 root bin 1142348 2004-12-20 00:27 /usr/bin/smbcquotas*
-rwsr-sr-x  1 root bin    8864 2004-12-20 00:27 /usr/bin/smbmnt*
-rwxr-xr-x  1 root bin  684316 2004-12-20 00:27 /usr/bin/smbmount*
-rwxr-xr-x  1 root bin 1266204 2004-12-20 00:27 /usr/bin/smbpasswd*
-rwxr-xr-x  1 root bin  673564 2004-12-20 00:27 /usr/bin/smbspool*
-rwxr-xr-x  1 root bin  516008 2004-12-20 00:27 /usr/bin/smbstatus*
-rwxr-xr-x  1 root bin    4896 2004-12-20 00:27 /usr/bin/smbtar*
-rwxr-xr-x  1 root bin  680056 2004-12-20 00:27 /usr/bin/smbtree*
-rwsr-sr-x  1 root bin    6732 2004-12-20 00:27 /usr/bin/smbumount*

Why did you choose not to use the slackware samba package?

brokenflea 05-22-2005 09:43 PM

initially i had ubuntu on my notebook, but i got fed up with it (being used to slackware for so long now..) so when i was installing slack on my notebook i guess one of the disks might have been scratched and whilst installing samba, it gave me an error that the samba-3.x.tgz package couldn't be installed, so i skipped it for then only to think i would later install it via the source packages, which i did. is there any way to uninstall the samba source i've installed right now and just mount the slack cd and reinstall it again ??

datadriven 05-22-2005 10:43 PM

Did you make a package w/ checkinstall, or did you just run 'make install'?

If you made a package you can just remove it. Sometimes you can run 'make uninstall' and it will remove the program, but that depends on whether or not the program makers made it that way. I don't know if that's the case with samba or not.

However, if the missing files are in /usr/local/samba/bin just adding symlinks in /usr/bin might fix your issues.

brokenflea 05-23-2005 01:27 AM

just wanted to let you all know that i fixed the problem. you were right since i had compiled samba from source i didn't have some files needed for konqueror to access smb. so i went to the samba source directory, did a make uninstall, it removed all the modules. went to the /usr/bin and /usr/sbin directories and removed all the symlinks, downloaded the samba tgz package from slackware.com, and it works now. thanks for all your help.
you rock!!


All times are GMT -5. The time now is 07:21 AM.