LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2003, 05:08 PM   #1
cezarn
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
redhat-config-samba


Hi,

I try to use the RedHat 9 tool to configure Samba but when I click on the Samba Server nothing's happening.

The message from doing it in terminal is:
---------------------------------------------------------------------------
[root@cezar cezar]# redhat-config-samba
Traceback (most recent call last):
File "/usr/share/redhat-config-samba/redhat-config-samba.py", line 20, in ?
mainWindow.MainWindow(debug_flag)
File "/usr/share/redhat-config-samba/mainWindow.py", line 58, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/redhat-config-samba/sambaParser.py", line 24, in __init__
self.parseFile()
File "/usr/share/redhat-config-samba/sambaParser.py", line 55, in parseFile
token = self.createToken(line)
File "/usr/share/redhat-config-samba/sambaParser.py", line 127, in createToken token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/redhat-config-samba/sambaToken.py", line 20, in __init__
raise AttributeError, value
AttributeError: ('default', 'cezar')
----------------------------------------------------------------------

Does anyone has any idea what it might be? I reinstalled Samba, server, client and tool (redhat-config) but no luck so far.

Thank you,
Cezar
 
Old 09-16-2003, 12:58 AM   #2
tek1024
Member
 
Registered: Sep 2003
Posts: 49

Rep: Reputation: 15
o_O

Did you run this in a terminal window under a GUI environment, or from a straight terminal? It needs a GUI to display, I believe; the only RedHat config tools I'm familiar with that don't need a GUI are the network and print configs. Does that help at all?
 
Old 09-16-2003, 05:13 PM   #3
cezarn
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Under Gnome BlueCurve

Cezar
 
Old 09-16-2003, 08:06 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I often see this problem on LQ with RedHat configuration GUI tools and I still don't know how to fix them.
But I can give you some advice.

The GUI does not support all the functionality of Samba,
so consider editing the Samba configuration file manually.
/etc/samba/smb.conf

Last edited by Mathieu; 09-16-2003 at 08:07 PM.
 
Old 09-16-2003, 08:11 PM   #5
acemics
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Personal - Red Hat 9 on IBM X22 Laptop running fluxbox WM
Posts: 24

Rep: Reputation: 15
You may also want to consider webmin http://www.webmin.com/ I found it to be an amazing help in configuring Samba and cleaned up the issues I was having. It also provides a great deal more functionality. It is worth a look.

good luck,
Vince
 
Old 09-16-2003, 08:23 PM   #6
cezarn
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi acemics,

Webmin is the first thing I tried when I saw samba doesn't want to show up :-) it's very very powerfull, you can manage mysql, httpd almost everything from there.
I tried played with and it's just know I get this message whenever I try to see my Network Servers:
---
Couldn't display "smb:///", because the attempt to log in failed
---
I have a networl of 3 pc's, 2 Red Hat 9 and a Win2k, I can see the computer's content (even Win2k sees one of my linux box and that one sees the W2K)
The problem is my third box, from which I can see both linux and w2k (in a nautilus window I do smb://compName) but it can't be seen from either one of them.
That's why I tried playing around with samba, webmin on this one, should be some settings somewhere I overlooked, I don't know but it bugs me :-(

Cezar

Last edited by cezarn; 09-16-2003 at 08:24 PM.
 
Old 09-16-2003, 08:31 PM   #7
acemics
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Personal - Red Hat 9 on IBM X22 Laptop running fluxbox WM
Posts: 24

Rep: Reputation: 15
did you try smb://ip address instead of compName?

Vince
 
Old 09-16-2003, 08:46 PM   #8
cezarn
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,

I tried and I get the same message

C
 
Old 09-16-2003, 08:51 PM   #9
acemics
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Personal - Red Hat 9 on IBM X22 Laptop running fluxbox WM
Posts: 24

Rep: Reputation: 15
hmmmm...do you have the gnome-vfs2-extras package
installed?

Vince
 
Old 09-16-2003, 08:57 PM   #10
cezarn
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Don;t know how to find that out yet, but I'm learning :-)

Cezar
 
Old 09-16-2003, 09:06 PM   #11
cezarn
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mathieu
I often see this problem on LQ with RedHat configuration GUI tools and I still don't know how to fix them.
But I can give you some advice.

The GUI does not support all the functionality of Samba,
so consider editing the Samba configuration file manually.
/etc/samba/smb.conf
Hi Mathieu,

Just saw your post.
I tried editing manually smb.conf using RedHat's HowTo for Samba but I had no luck :-)

PS: what's LQ?
 
  


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
redhat-config-samba does not start hobz Linux - Networking 9 01-17-2005 06:53 AM
can't open redhat-samba-config need help nvoke Linux - Networking 7 11-14-2004 05:09 PM
redhat-config-securitylevel and SAMBA chromedog Programming 0 05-02-2004 04:48 PM
SAMBA -> Config problem RedHat-Win98 paulvl Linux - Networking 4 09-10-2003 09:23 PM
RedHat 8 Samba config issues bjshaw Linux - Networking 51 02-19-2003 07:09 PM


All times are GMT -5. The time now is 12:36 AM.

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