Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-24-2003, 09:18 PM   #1
Registered: Aug 2003
Location: Australia ACT
Distribution: Debian 2.6
Posts: 31

Rep: Reputation: 15
samba woes

Hi all,

am running RH9 and am trying to setup samba. So far win machines have been able to see linux, but unable to access but am still researching through various posts what that can be attributed to. My Q is b4 doing all this, when I type redhat-configure-samba i get:

[root@Lin]# redhat-config-samba
Traceback (most recent call last):
File "/usr/share/redhat-config-samba/", line 20, in ?
File "/usr/share/redhat-config-samba/", line 58, in __init__
self.samba_data = sambaParser.SambaParser(self)
File "/usr/share/redhat-config-samba/", line 24, in __init__
File "/usr/share/redhat-config-samba/", line 55, in parseFile
token = self.createToken(line)
File "/usr/share/redhat-config-samba/", line 127, in createToken token = sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name, value), self.parent)
File "/usr/share/redhat-config-samba/", line 20, in __init__
raise AttributeError, value
AttributeError: ('default', 'global')

I have also typed rpm -qa | grep samba and recieved:

But their is no samba server listed. I had hoped this was why when I selected samba server from startup (main menu ->sytem settings->server settings->samba server) that nothing happens. So I have downloaded the latest version of samba (3) yet on trying to install i get a bunch of conflicting problems with the above mentioned packeages. How do I upgrade or add to the current samba packages this new one? I have tried uninstalling samba-2.2.7a-8.9.0, but replies with the client is dependant on this. Have installed webmin (looks great) but have yet to really try it out as my understanding is that is is an interface to the samba server, whcih doesnt seem installed??

Old 08-24-2003, 09:59 PM   #2
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Check out this, it might help.
Old 08-24-2003, 10:13 PM   #3
Registered: Aug 2003
Location: Texas
Distribution: Fedora Core 2
Posts: 71

Rep: Reputation: 15
looks like a tool install problem


looks like something is disagreeing with your tool configuration. You probably do want to re-install it. If you want to uninstall all of samba your dependency order (i think) should be:

remove redhat config
remove samba client
remove samba
remove samba common

Then reinstall in reverse order. (Alternatively you may try the redhat network to see if there are any updates. The demo version is free and very useful)

The most probably reason that your windows machines can see your samba machine, but not access it is due to the differences in the nmb and smb daemons. nmb will allow machines on the same domain/workgroup to see your machine running. This daemon does not provide shares to access however. That is done by the smb daemon. In order to browse you need to set up shares explicitly, and in a simple case set up a share level access permission.

Hope this helps


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 woes Imaboyo Linux - Software 13 09-21-2004 06:39 PM
Samba Woes webhead Linux - Networking 3 09-15-2004 10:40 PM
More Samba woes mmcinnis Linux - Networking 14 09-19-2003 07:56 AM
Samba WOES AnselmoMH Linux - Networking 4 06-25-2003 11:04 AM
samba woes... prodigius Linux - Software 1 01-14-2002 03:05 PM > Forums > Linux Forums > Linux - Newbie

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

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