LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   redhat-config-samba (https://www.linuxquestions.org/questions/linux-newbie-8/redhat-config-samba-93158/)

cezarn 09-15-2003 05:08 PM

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

tek1024 09-16-2003 12:58 AM

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?

cezarn 09-16-2003 05:13 PM

Under Gnome BlueCurve

Cezar

Mathieu 09-16-2003 08:06 PM

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

acemics 09-16-2003 08:11 PM

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

cezarn 09-16-2003 08:23 PM

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

acemics 09-16-2003 08:31 PM

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

Vince

cezarn 09-16-2003 08:46 PM

Hi,

I tried and I get the same message :(

C

acemics 09-16-2003 08:51 PM

hmmmm...do you have the gnome-vfs2-extras package
installed?

Vince

cezarn 09-16-2003 08:57 PM

Don;t know how to find that out yet, but I'm learning :-)

Cezar

cezarn 09-16-2003 09:06 PM

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?


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