LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-02-2005, 05:38 AM   #1
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Samba installation problem


I installed Samba and all of it's components from my Cds, using MCC.

i can't seem to even start SMB4k, which I used to access previously (previous installation) ..

It should have been found in

Internet ===> File Transfer ===> SMB4K

What must be wrong?
 
Old 06-03-2005, 12:32 AM   #2
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 834

Rep: Reputation: 43
Do you mean you can't find the entry for smb4k? Will it run from Start, Run Command, smb4k?
 
Old 06-03-2005, 12:44 AM   #3
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
No, it doesn't.
 
Old 06-03-2005, 04:11 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
That answers the second question but not the first one.
When you checked that samba was installed (rpm -q samba), what happened?
 
Old 06-03-2005, 05:03 AM   #5
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 834

Rep: Reputation: 43
I think that smb4k is not part of the samba package itself. I'm at work (Win2k ) and cannot check.

From Mandrake Control Center, Software Management, Remove programs, you can search for smb4k in filenames and see if this has been installed.
 
Old 06-03-2005, 06:37 AM   #6
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Sorry for the Incomplete answer.

Quote:
Do you mean you can't find the entry for smb4k? Will it run from Start, Run Command, smb4k?
I can't find an entry for smb4k in the start menu.
I can't find an entry for smb4k in the remove programs list as well (i searched for that.)

Well, the smb4k thing is not important.

The thing that I was trying to focussing on is that I have installed Samba using MCC from one of the three CDs (Mandrake 10.1 Official) and I can't get it working.

When I press smb and then tab in console,

Code:
smbcacls                  smbldap-migrate-accounts  smbpasswd
smbclient                 smbldap-migrate-groups    smbprint
smbclient3                smbldap-passwd            smbprint3
smbcontrol                smbldap-populate          smbspool
smbcquotas                smbldap-useradd           smbspool3
smbd                      smbldap-userdel           smbstatus
smbget                    smbldap-usermod           smbtar
smbget3                   smbldap-usershow          smbtar3
smbldap-groupadd          smbmnt                    smbtree
smbldap-groupdel          smbmnt3                   smbumount
smbldap-groupmod          smbmount                  smbumount3
smbldap-groupshow         smbmount3
This means that Samba is installed. How can I get the GUI for making that work?

I have installed Samba previously, and there wasn't such a problem.
 
Old 06-03-2005, 08:57 AM   #7
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 834

Rep: Reputation: 43
There isn't a GUI for Samba. It is a demon which runs in the background. (Run smbstatus to see its status). If it is installed correctly then you will be able to see your shared folders from Windows machines on the Network. Essentially Samba is a "Fire and Forget" program. It is started at bootup and does not need any intervention from you except for (re)configuration. smb4k is a GUI program but might even be 3rd party, I'm not sure.

HOWEVER

I don't believe you can set up Samba with a wizard. You have to manually edit smb.conf. I _think_ it is /etc/samba/smb.conf but I am frequently wrong. I am not on or near a Linux machine at the moment.

Open smb.conf in your favourite editor. It is extremely well commented. Go through it, making the necessary edits. At the bottom of the file you have the permissions to other users. Set them up as per the example. Probably the trickiest part of the exercise is the printer setup. You may have to toss a coin to decide which command to use (If it doesn't work, try the other one).

Don't forget to run testparm to error check the file after you save it, then restart Samba either by rebooting or running the command (man smbd will tell you how to do it)
 
Old 06-03-2005, 06:56 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
SMB4k is a windows share browser for KDE.
Before you can use samba you have to configure it.
The standard method is to edit the smb.conf file manually - but some distributions have a gui tool to help manage samba shares. (In FC2 for eg, it is in the main menue: system settings > server settings > samba.)

The GUI for SAMBA is called "SAMBA SWAT".

Have a look at:
http://www.linuxheadquarters.com/how...ng/samba.shtml

There seems to be a lot of perople experiencing this sort of difficulty when they change to Mandrake 10.1 (things not working the way they are used to).

Looking at a Mandrake 10.1 review, I see that they have changed a few things around in the menues, so that the samba share browser is located under "mount point" instead ...
Quote:
Mandrake Control Center:
Mandrake says it has a new look and feel. Well...it looks very similar and functions much the same but it does have a few new features like the XWindow connections called "Online Administration". Mount Points gives you rapid access to all of the sharing you may be doing with Samba, NFS and disk sharing which is handy. The Samba mount points did not work correctly when I tried it. As I mentioned elsewhere, I had to restart Mandrake Control Center several times because it just did not open...other than that it did work OK.
http://spidertools.com/man101_review.php

... the review also mentions that this is a buggy release.
 
Old 06-03-2005, 09:20 PM   #9
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
do not forget to add SAMBA users. From a superuser console, type smbpasswd -a xxusernamexx, then type the password twice when prompted.
 
Old 06-04-2005, 12:02 AM   #10
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
As already told, I have used the Samba Server and Client from the same CDs previously.

Yeah , sure I will definitely try your suggestions. I will update you with what have I done.

Last edited by duffmckagan; 06-04-2005 at 01:29 AM.
 
Old 06-04-2005, 01:10 AM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally posted by duffmckagan
As already told, I have used the Samba Server and Client from the same CDs previously.
And, since it dosn't work the way it did last time, then something is different this time right? Sheesh.
I suspect you've upgraded the kernel? Or is this a different installation entirely?

But if you insist - tell us what is different this time.
 
  


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
SAMBA installation! UltraSoul Linux - Software 1 01-03-2005 10:08 AM
samba installation problem ddaas Linux - Software 2 10-22-2004 07:47 AM
samba installation problem ddaas Linux - Software 2 10-16-2004 10:27 PM
samba installation problem ddaas Slackware 2 10-11-2004 01:32 AM
postfix server installation, samba server problem eozdoganci Linux - Networking 0 06-04-2004 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration