Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: NickCritten on June 20, 2005, 05:33:03 PM
-
Hi All,
I've got a pain of a problem here.
I have an SME 6.5 set up on Network 10.139.251.0/24
I need to access my Samba Shares from the network 10.139.8.0/24 and a couple of others.
I have entered this network in the "Local Networks" Server Manager Panel, but whenever I try to connect to IBays via their Samba shares, it throws up
\\servername.domain.com:
The Specified network name is no longer available
This is not a DNS issue, as I have manually created the A Host entry on the Windows DNS server. I have even tried putting the entry directly into the HOSTS file on the Windows Box.
I am able to ping the SME box by both its NETBIOS name and its FQDN no problem.
Connecting Via Samba from the same IP domain as the server works fine.
I am able to SSH to the SME box fine (SSH is configured to only allow accesss from local networks)
But I cannot connect via Samba!!
Can anyone give me an Idea of what might be wrong?
My system is a Vanilla 6.5rc1 installl with only the PHPMyadmin contrib installed.
Many Thanks,
-
I might be stating the obvious (but I don't mind):
Did you check the logs?
You may also want to check connecting to the ip address (\\10.139.251.x). The dns entry you made, well, I don't know what your sme dns thinks of that...
Anything special about your client?
Is it able to connect to the website using NetBIOS name/FQDN? (http)
Server-manager? (https)
You could try telnet 10.139.251.x 22
In my experience, you get a pretty clear message about permission denied when it's sme thinking your not allowed to ssh in.
Hth
-
Thanks for replying DarkMirage :)
Did you check the logs?
I'm not sure which logs to check...
smbd logs last entries were:
>>2005-06-20 16:59:13.319738500 smbd version 3.0.7-1.2sme01 started.
>>2005-06-20 16:59:13.319907500 Copyright Andrew Tridgell and the Samba Team 1992-2004
>>2005-06-20 16:59:13.573802500 standard input is not a socket, assuming -D option
Which looks ok, and i can't see anything in messages that would indicate a problem.
You may also want to check connecting to the ip address (\\10.139.251.x). The dns entry you made, well, I don't know what your sme dns thinks of that...
Connecting using IP address also does not work, I get the same error.
The SME DNS isn't being used, and I've configured the SME server to forward to the Windows DNS server for resolution anyway.
Anything special about your client?
Is it able to connect to the website using NetBIOS name/FQDN? (http)
Server-manager? (https)
Nothing special, Yep, and Yep, everything works except Samba Access.
You could try telnet 10.139.251.x 22
In my experience, you get a pretty clear message about permission denied when it's sme thinking your not allowed to ssh in.
SSH is working fine, its just Samba access that refuses to work.
Thanks for the suggestions though!
Any other Ideas on how to diagnose this?
-
For some reasons (Bug?), local networks change doesn't update samba configuration file. @access variable in the template doesn't expand to list of local network for "hosts allow" or syntax of hosts allow changed for samba3.
I've seen it on the test 6.5RC1 server, but didn't have enough time to investigate the details. Just manually updated smb.conf and restarted samba for that time.
-
Hi Boris,
That sounds like the problem!
When i go into work tomorrow, I'll try updating the .conf file & see where I go from there.
I'm going to log it with BugTracker now.
-
I just found this bug 218 in the bugtracker. So you are saying that adding local networks doesn't properly update or update at all the smb.conf file? Can you give me an example of what the smb.conf file looks like before you add a local network, then what it should look like after you have manually modified it? Also to test, do I just need to add a local network, then try to connect to my SME server via that local network to any ibay I have created? If not, give me some other test criteria, so I can test it properly.
Thanks,
JB
-
Hi mrjhb3,
I am rediculously busy at the moment at work, and have several training course coming up, Not to mention Christmas! :-o
I will put this in my calendar to do, but If you have not heard anything within the next two weeks, please reply to this thread again to give my memory a kick in the pants :)
Many Thanks for your interest.
Nick
-
Nick,
I'm just reminding you again. The bug is now detailed at http://bugs.contribs.org/show_bug.cgi?id=268. It would be good if you could comment there and provide some examples of what the smb.conf should look like on a change, and how to test.
Thanks,
John Bennett
-
Hi mrjhb3,
I am rediculously busy at the moment at work, and have several training course coming up, Not to mention Christmas! :-o
I will put this in my calendar to do, but If you have not heard anything within the next two weeks, please reply to this thread again to give my memory a kick in the pants :)
Many Thanks for your interest.
Nick
All,
Try this updated RPM, on a test server if possible.
http://mirror.contribs.org/smeserver/contribs//jbennett/bugs/268/
Please provide feedback in the bug tracker.
http://bugs.contribs.org/show_bug.cgi?id=268
root@test65-1 samba]# rpm -q e-smith-samba-2.1.0-10gjz.sme00 --changelog | more
* Sun Dec 25 2005 John H. Bennett III <bennettj@thebennetthome.com>
- [2.1.0-10gjz.sme00]
- Removed file /etc/e-smith/templates/etc/smb.conf/01access and
Added code from SME7 to /etc/e-smith/templates/etc/smb.conf/11hostsAllow
so that when smb.conf is expanded, any local networks created in server-manager
will show up in the hosts allowed section [268]
JB
-
Sorry about the slow response.. To say I've been busy would be an understatement of galactic proportions.
Various mad things have happened which I won't go into but to cut a long story short I have upgraded my server to 7b8, so at the moment I cannot provide feedback on 6.5.
I *WAS* having a similar problem on SME7, but after checking the smb logs I figured out that server manager was adding host (/32) addresses as ip.ip.ip.ip/255.255.255.255 when it should just add ip.ip.ip.ip (no subnet mask)
I'll be logging a bug out on that.
I'll update the Bug for 6.5 as best i can, and if I get another 6.5 machine up and running then I'll update as much as possible.
Cheers,