Ubuntu Networking :: Samba - Connect With One Hostname But Not Another

Jan 27, 2011

Here is what I am trying to do. I set up a Samba server on Ubuntu 10.10, which seems to be working (sort of).

I set it up using Webmin, which has always worked for me before.

I set up two shares, both of which are read/write and are allowing any hosts. And are set up using the default samba configuration that is provided by Webmin.

For privacy reasons I won't disclose the domains, but I will call them test.abc.com and xyz.com

I set up /media/mount as a share called [mount_a] and I also set up /media/mount_b as [mount_b]

The server's host name in my internal network is mount-box

I originally mapped it to a sub-domain of my domain abc.com via DNS, so that test.abc.com resolves to the IP address of my router; which has all the necesarry port forwarding set up.

In windows explorer in the remote location I tested it by using \test.abc.compoonani_a, this works fine and after a password prompt I can access my files. However, I do not want to use this domain name for this server, so I registered a new domain name and again via DNS mapped domain xyz.com to the IP address of my router.

Since setting up the new hostname, I cannot connect to it via Windows to access the samba share. It just won't work. When I try to connect the password prompt appears and I put in my credentials, when I submit it the window re-appears and it has appended the servername xyz.com before the username, so it reads \xyz.com<myusername>, but won't let me connect.

If I try again with the previous hostname test.abc.com, it works fine.

What am I doing wrong that it would let me connect with one hostname, and not another.

View 1 Replies


ADVERTISEMENT

Networking :: Samba Only Access By Ip But Not Hostname/server String

Jan 31, 2011

I am using samba version 3 (probably), and the problem is that the linux based nas can only be accessed via its ip 192.168.x.x but not its hostname /server string appointed by the smb.conf file:

Code:
[global]
netbios name = NAS
server string = NAS
smb passwd file = /etc/smbpasswd

[Code]....

View 3 Replies View Related

Ubuntu Networking :: Use A Dyndns Hostname To Connect To Server

Apr 9, 2010

I've recently set up an Ubuntu server and from within the network I can do several things like: log in via SSH, transfer files via FTP, and remotely control Torrents from other computers. My end goal is to be able to access these services by using my dyndns hostname (example.dyndns.org)from an external network.

When I type my dyndns name in my web browser it opens up my router page. How would I set things up so that I can just type my dyndns hostname to point directly to my server, instead of the router page?

All computers are connected to a router which is connected to an ADSL modem, with automatically assigned I.P addresses.

View 3 Replies View Related

Fedora Networking :: Can't Connect Via Hostname - Cannot Access Machine

Oct 23, 2009

At school can connect to my computer via SMB/Samba and VNC from the Windows Machines, but not by hostname (I still cannot VNC in at home on my desktop computer and have yet to try Samba there because I wanna setup Samba there from the comfort of my laptop and therefore need VNC first). How come I cannot access this machine by it's hostname?

View 4 Replies View Related

Fedora Networking :: Cannot Resolve Hostname - Connect To Internet Via Firefox

Oct 31, 2010

Cannot connect to internet via Firefox or Midori on my Dell Inspiron 8200 laptop with a Netgear wireless card. However, I can update via yum, I can ping google from the CLI, I can ssh to my desktop, I can point a browser to find my router which /etc/resolv.conf points to, but can't get a browser to resolve hostname. I'm posting from a different machine (desktop), here is my /etc/resolv.conf:

[Code]....

View 14 Replies View Related

Networking :: Ubuntu Server Cant Ping Or Connect External / Can Resolve Hostname And Domain

Oct 15, 2009

As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.

Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.

View 14 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

May 22, 2011

I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".

I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.

Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".

How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.

View 1 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

Fedora Networking :: Filezilla - Connect Failed With "EAI_NONAME" But Hostname Is Resolvable?

Dec 11, 2010

wonder if anyone might have a clue with this. i installed filezilla because i wanted a nice ftp client, but when i tried connecting to the server with filezilla, i get this:

Quote:Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".

yet when i googled that, i mostly found hints that said "your hostname's invalid" or "check the spelling of your hostname". well, those aren't it. i can login to this ftp server successfully through both firefox and by using a gigolo-gvfs-thunar combo.i even uploaded a file with the thunar route. and nslookup is able to see it. so what's with filezilla? by the way, this ftp account of mine is very old....i've had it for probably 10 years, and haven't logged in for 5. i'm surprised it still works.

also, why am i trying to work with filezilla when i have gigolo-gvfs-thunar? because thunar locks up and becomes completely unresponsive for a couple of minutes whenever i try to do any ftp'ing with it, even though it works. if i even so much as click on a file in my ftp directory, i have to wait two minutes before the window comes back and highlights the file i clicked.

UPDATE: just tried connecting via ftp in the command line, and no luck. so apparently it's not just filezilla. maybe i just can't ftp directly to that host anymore? but if so, then why are firefox and gigolo able to connect? networking is not one of my strong points, so this is confusing to me.

update again whaddya know, maybe i'm slowly starting to get some brains when it comes to networking. though i won't say i "figured it out"....but i did make it work. i just used the ip address nslookup reported and was able to ftp to it with both filezilla and the ftp command line. i forgot to mention that i'm behind a firewall (my router), and i guess the hostname is not in the router's DNS, if my tiny understanding of routers is correct. but connecting to the ip address directly is apparently not a problem.

View 4 Replies View Related

Ubuntu :: Unable To Access Samba Share By Hostname / Resolve This?

Apr 30, 2010

I got my server set up with 10.04, and with everything installed: DHCP, SSH, Samba, VBox, etc.

DHCP, SSH work fine, but I am having problems where I cannot ping the hostname of the machine.

It worked for a few minutes after I got everything installed and now it's not letting me connect via hostname. I can connect fine if I use the IP address. I cannot ping the machine by hostname unless I add it's IP address to the hosts file.

View 7 Replies View Related

Ubuntu Networking :: Can't Connect To Samba Share

Mar 4, 2010

I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.

View 8 Replies View Related

Ubuntu Networking :: Connect Samba Through SSH Tunnel?

Nov 13, 2010

I have a server running Ubuntu Server 10.04 that is a VirtualBox/Samba/SSH server. I have port forwarding set up for ports 22 and 3389 (SSH and RDP) and I want to access the Samba share without opening any other ports. I can connect to it from my internal network, but I want to be able to access it from school. My best guess would be to tunnel the Samba port through SSH, but I don't know how. I will be connecting to it from Ubuntu 10.10 Desktop.

View 9 Replies View Related

Red Hat / Fedora :: Access Samba Share By Hostname From Win7

Mar 13, 2011

why cant I access samba share by short-hostname from win7.when I ping short-hostname, the answer is the actual ip and short-hostname.mydomain.com pinging short-hostname does work, but accessing it from start-run does not! accessing by ip or short-hostname.mydomain.com works fine.ssh by short-hostname from win7 works fine too.

View 2 Replies View Related

Ubuntu Networking :: Connect To Samba Server With Xubuntu?

Nov 14, 2010

I am trying to connect to my samba server with xubuntu, so far with no luck.

I am trying to use fusesmb and have been following these instructions:

[URL]

as well as these:

[URL]

and these

[URL]

the top ones say to use Applications - System - shared folders to setup smb client. Xubuntu maverick doesn't seem to have that menu point. So I copied the smb.conf from my desktop machine. libsmbclient is installed.

fuse as such seems to run since teh folder that i designated as mount point (~/Network) changes owner to root when i run fusesmb Network. But apart from that nothing happens.

View 1 Replies View Related

Ubuntu Networking :: Samba Connect Only Works With IP Address

Feb 13, 2011

I have a problem with Samba. I've already configured my SMB.conf file, but I can't connect to my Windows shares by their host name. for example: if I try to connect to GDEA73-PC-1 share = netshare, server connection fails. if I try to connect to 192.168.1.171 then share = netshare, it works. How do I fix this? When I run findsmb, I am on the GDEA73 NETWORK workgroup as I configured, but my local PC is the only one on it...

View 2 Replies View Related

Ubuntu Networking :: Can No Longer Connect To WHS Samba Share

Jun 1, 2011

I'm running 10.10 on a pretty fresh install with a brand new system I built especially for Ubuntu.For some reason, I'm beginning to have trouble with accessing my Samba shares from this computer. I have a Windows Home Server also running on my network and I have to be able to access the files on it.At first Nautilus showed "SERVER" in the folder tree when I clicked on "Network" and everything was working great. A couple of days ago my WHS "SERVER" suddenly no longer showed up in Nautilus and I had to mount the WHS server manually (via "Connect to Server...").

Now, today, even that doesn't work. When I try to mount manually I get the error "Failed to Retrieve Share List from Server". I can now no longer access the WHS from Ubuntu at all.Why has my ability to access the Samba shares on my WHS deteriorated over time to the point where I can't access them at all?? Any ideas?I have other systems on this network (Mac and Windows) and none of the others have any problems at all with the WHS. Re-booting WHS and router has no effect. I've changed nothing in my set-up. Is this update related?

View 1 Replies View Related

Fedora Networking :: Can't Even Get Samba To Connect

May 20, 2009

I recently have just started using linux and downloaded Fedora 10 and I'm trying to figure out how to fileshare and print share with my windows vista machine.I edited the registry file on my Vista machine HKEY_ LOCAL_ MACHINESystemCurrentControlSetContro lLsaLMCompatibilityLevel and changed the level from 3 to 1.I've also gone through a lot of tutorials on editing the smb.conf file and set my workgroup name, netbios, and changed permissions on my linux machine (a Lenovo netbook) etc but thats about as far as I can get. This may sound like a dumb question but I can't even get samba to connect on my linux machine so how do I do that?

I was wondering if any of you guys can provide a solution as to how to connect or direct me to a good howto for setting up and using Samba seeing how I'm a noob.I've been on Samba.org already and I'm more confused than ever.

View 2 Replies View Related

Networking :: Can't Connect More Than 2 Users In Samba

Sep 13, 2010

I've done all this config [URL] This config for the "foo" folder:

("pruebas" its a user)

Code:

[foo]
path = /home/pruebas
ready only = no
guest ok = yes

[code]....

I have the [HOME] code too, its everything fine with it, and I cant connect with another user ("alfredo") from Red Hat to Windows XP with no problem... but as soon as I double click in "foo" directory, appears this:

[URL]

Already tried to disconnect from windows the directories with "net use" but it doesn't work

View 2 Replies View Related

Fedora Servers :: Access Samba Share By Hostname From Win7

Mar 13, 2011

Running samba-3.5.6-71.fc14.x86_64. Why cant I access samba share by short-hostname from win7. When I ping short-hostname, the answer is the actual ip and short-hostname.mydomain.com

sa pinging short-hostname does work, but accessing it from start-run does not! Accessing by ip or short-hostname.mydomain.com works fine. ssh by short-hostname from win7 works fine too.

View 14 Replies View Related

Ubuntu Networking :: Samba Connect Invalid Users As Guests?

Jan 12, 2010

I'm not sure if this is even possible and I've tired searching, but I can't seem to figure it out. I have a few shares setup in Samba. I want them to prompt for a username and password. If an invalid user/pass is entered I want the user to be authenticated as a guest.

View 6 Replies View Related

Ubuntu Networking :: Vista Unable To Connect To Samba Printer

Feb 22, 2010

I'm having some problems with sharing my printer via SAMBA. Connected to my Ubuntu 9.10 Desktop is a HP office-jet D135 witch I shared via samba. I have no problems printing from my Ubuntu laptop. And in Vista I can see and access all the other shares, including the printer. But ones i try to access the printer I get a pop-up window telling me: "unable tot connect to printer error code 0x00000709 check if the name is correct or if the printer is connected to the network" ( but of course in Dutch). What is going wrong here?My /etc/samba/smb.conf

[Code]...

View 1 Replies View Related

Ubuntu Networking :: 10.04 Can't Connect To Internet After Setting Static IP For Samba

May 17, 2010

I recently used this process to connect my Samba network to be able to access and allow Windows XP machines to access my computer on my office network.

For various reasons, all the XP computers on the network are set to fixed (do we say static?) IP addresses with manual DNS. Hence I realised during the Samba setup that I had to set a static IP on my Ubuntu machine similar to my Windows static IP's (ie 192.168.10.?) in order to be able to see the Windows share PC's properly.

Once I set my Ubuntu machine to static IP of 192.168.10.3 with subnet of 255.255.255.0 and gateway of 192.168.0.1 then I was able to access and be accessed by PC's on the network. However I couldn't access the internet after this. I input the DNS server in the edit connections as you can see per the attachment. All these settings (except the IP address obviously) were all now exactly the same as the PC machines, and I thought I'd now be able to access the windows network, as well as have access to the internet, however, even though my wired network is connected there is still no internet access.

I'm using the GUI under network connections to make all these changes if that is important. I can't understand why this doesn't work?

View 6 Replies View Related

Fedora Networking :: Samba Won't Connect Using Xfce

May 11, 2010

I was able to connect to my XP home machine from downstairs F12 machine with gnome. I also have laptop with F12 but with xfce windows manager, following the same instruction, (wireless work fine) I don't see the network icon in the file manager. Can someone let me know how to trouble shoot?

View 12 Replies View Related

Networking :: Connect A Distro So A Samba Server?

Jul 22, 2010

i just installed zenwalk on another computer in my house (experimenting with zencafe as well) and i also installed the source code of samba directly from the website (i saw that the smbclient command wasn't there when i first installed zenwalk) i have a samba server that has ubuntu as its operating system and i would like to connect my zenwalk system to the shares so i can access them from that computer

i heard that smbclient is the way to go when you do something like this so i tried it a few times and nothing worked ps i am using webmin to configure samba on my ubuntu platform

View 7 Replies View Related

Ubuntu Networking :: Samba: Unable To Mount Location - Can't Connect To Vista PC

Mar 27, 2010

I have noticed that I am not the first one to have problems with samba and connecting to a Windows PC. I have read so many articles and I have tried a couple of things that seemed to make sense, but no luck.

I can connect from my Vista to my Ubuntu netbook remix, but not the other way around. I get the error message: "Unable to mount location", "failed to mount windows share" and I get "mount error 12 = Cannot allocate memory" in Smb4K.

There was a suggestion that "mount error 12 = Cannot allocate memory" indicated it was a problem originating in Vista, but the added registry values on my Vista PC that was suggested didn't change anything. I have also read and [URL] and implemented 3.1 and 3.2 but it made no difference either.

View 4 Replies View Related

Ubuntu Networking :: Windows PC Doesn't See Samba Share But Can Connect Manually

Aug 29, 2010

I'm running Lucid and and trying to get Samba set up to allow sharing files on my network. My problem is that my Windows laptop (Win7) can't see the Linux PC when I click on Network. It only shows my own laptop and my roommate's Vista laptop. However, if I manually connect to the computer (\serenity) it works just fine.

Right now I'm simply using the smb.conf that comes with the package and adding my share info.

The relevant section is:

Code:

View 2 Replies View Related

Ubuntu Networking :: Connect To A Samba Share, It Requires To Send The Servernetbiosname?

May 12, 2011

When trying to connect to a Samba share, it requires to send the servernetbiosname. Let me try to describe it.At my university anyone has a personal web directory, which is hosted at another university. It's on a SuSE server, shared via Samba. There are several universities on this server, using the same Samba with different NetBIOS names.There is an open Cisco WiFi, anyone can connect. But to use it, you have to use VPN (Anyconnect for example or in my case the module Ubuntu provides).Now my problem is, I can't easily connect to any share on the server (tried several shares from several machine to be sure it's not just me). After trying several variants on bash, I finally figured out, that I have to supply the servernetbiosname to get it to work.Not working:

Code:
root@cmp:~# mount.cifs //svr1.sd.domain.net/htdocs /tmp/mnttst/ -o 'user=uname,domain=DOM' -v

[code]....

View 3 Replies View Related

Fedora Networking :: FC12 Upgrade Cannot Connect To Samba?

Dec 11, 2009

I have just upgraded to FC 12 from FC 11 everything on FC 11 was fine, I has samba, openvpn, subversion, tinyproxy and apache all working fine. Friends could vpn in and do all the stuff they where allowed to do,

Now unfortunately I have this issue after upgrading to FC12, All the samba mounts have disappeared from all my friends computers, when I look at the log files I now see this;

smbd/server.c:457(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved