LinuxQuestions.org
Help answer threads with 0 replies.
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 08-24-2003, 09:18 PM   #1
sallas
Member
 
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/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', 'global')
[root@Lin]#

I have also typed rpm -qa | grep samba and recieved:
samba-client-2.2.7a-8.9.0
redhat-config-samba-1.0.4-1
samba-common-2.2.7a-8.9.0
samba-2.2.7a-8.9.0

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??

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

Rep: Reputation: 78
Check out this, it might help. http://www.valkyrie.net/~tangle/comp...s/smb_conf.htm
 
Old 08-24-2003, 10:13 PM   #3
gizmogadgetus
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora Core 2
Posts: 71

Rep: Reputation: 15
looks like a tool install problem

Sallas,

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
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 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
Open Source Consulting | Domain Registration