LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-20-2005, 02:48 AM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
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
 
Old 05-21-2005, 11:48 AM   #2
gian2oo1
Member
 
Registered: Oct 2004
Location: Rhode Island, USA
Distribution: Slackware... Simplicity is bliss.
Posts: 62

Rep: Reputation: 15
kio_smb...is that a module that isn't in your kernel or hasn't been loaded?
 
Old 05-21-2005, 12:10 PM   #3
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
Try:

smb://computername

watch the /
 
Old 05-21-2005, 01:02 PM   #4
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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
 
Old 05-21-2005, 02:20 PM   #5
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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
 
Old 05-21-2005, 10:05 PM   #6
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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
 
Old 05-21-2005, 11:21 PM   #7
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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?
 
Old 05-22-2005, 07:25 PM   #8
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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
 
Old 05-22-2005, 08:14 PM   #9
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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?
 
Old 05-22-2005, 09:43 PM   #10
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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 ??
 
Old 05-22-2005, 10:43 PM   #11
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
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.
 
Old 05-23-2005, 01:27 AM   #12
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SMB shares via Konqueror nrunge Linux - Software 1 01-28-2004 11:45 AM
samba shares through konqueror ! paonethestar Mandriva 4 11-06-2003 11:42 PM
prob with samba shares in konqueror paonethestar Programming 1 11-01-2003 03:39 AM
SMB Shares on Win2k wont give me access nrunge Linux - Software 0 10-21-2003 06:54 PM
Konqueror and viewing smb shares parapente Linux - General 0 09-09-2001 11:52 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration