LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba woes (https://www.linuxquestions.org/questions/linux-newbie-8/samba-woes-85315/)

sallas 08-24-2003 08:18 PM

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.

tangle 08-24-2003 08:59 PM

Check out this, it might help. http://www.valkyrie.net/~tangle/comp...s/smb_conf.htm

gizmogadgetus 08-24-2003 09:13 PM

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


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