Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
Distribution: Personal - Red Hat 9 on IBM X22 Laptop running fluxbox WM
Posts: 24
Rep:
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.
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 :-(
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 :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.