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


ADVERTISEMENT

CentOS 5 Networking :: Access The Server Using Its Hostname ?

Sep 17, 2010

I've completed the installation of a CentOS server.Running the setup utility as root, ive set up a static IP and installed apache. Now this works ok. I can type in the servers IP address from my browser/putty/winSCP and access the server within the intranet. The problem is that i would also like to access the server using its hostname, e.g. http://centos or whatever Currently i cannot do it. I've searched the forums, edited the /etc/sysconfig/network and /etc/hosts to no avail no matter what i do i cannot access it. i've disabled some services so im not sure if this is the fault.

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

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

Networking :: Unable To See Shares On Samba Server - No Authentication Access Desired (open Access)

Jun 12, 2009

I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.

smb.conf follows:

# Samba config file created using SWAT
# from UNKNOWN (>)
# Date: 2009/06/12 14:15:15

[code]....

View 1 Replies View Related

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

Ubuntu Networking :: Cannot Access Samba Server Using Windows XP/7

Mar 4, 2011

I cannot access my Ubuntu samba server using windows XP or 7. I keep getting prompted for a username/password. I have created both a unix username with password and a samba username with the same password i used for the unix user. When windows prompts me for the username/password i give it the same one i created on the samba server, but it still will not take it. I know samba is running because i can view the shares but cannot access them without getting prompted for username/password. I just have the one user for now while i am testing, but there will be more.

I am using Ubuntu Desktop 10.04.

View 2 Replies View Related

Networking :: Samba Server To Access Solaris 9 Partition On Windows

Jul 16, 2010

I want to install Samba server to access a shared folder in Solaris box on a windows box

View 1 Replies View Related

Networking :: Squid3 Access Log Hostname ?

Feb 3, 2010

I have Squid3 running and SARG for producing report. I would like to see the hostname being logged in the access.log file instead of the client IP address. I have already set the option log_fqdn=on and it doesn't do it. I still see the client IPs in access.log files...

View 4 Replies View Related

Server :: Samba And VSFTPD / Create Folder Rights That Samba And Ftp User Will Have An Access To All Directories?

Oct 20, 2010

I would like to configure an access to folder

/fileserver

for two services : Samba and VSFTPD

How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.

My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)

View 1 Replies View Related

Ubuntu Networking :: Access PC Using Hostname Instead Of IP Address?

Apr 13, 2010

Right now my setup is as follows: I have an Asus Eeepc 900 running Netbook Remix named eeepc, and a media centre running 64-bit Ubuntu named media.When I try to ping or ssh into one machine from the other, for exampleCode:$ ping mediaI get an "unknown host name" error. However, pinging the device's IP address works. How do I get the computers to recognize each other's host names? Did I miss something in the setup?

View 2 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 :: Access Externally With Hostname Instead Of IPAddress ?

Aug 16, 2011

The details of "how to access externally with hostname instead of IPAddress in fedora"

View 1 Replies View Related

Ubuntu :: Error : Mount.nfs : Access Denied By Server While Mounting Hostname

Sep 20, 2010

I just built an AMD Phenom II Six Core with 4 Gigs Ram a 160Gib / and swap, and (2) Two Tb mirror for Raid (data storage) I had been using DMRAID in the deprecated box but this box has MDADM v3.1.4 - 31st August 2010 from source (on MDADM wikipedia).

I have no permission problems with using the raid and dmraid is un-installed. The raid is working perfectly and is mounted in my fstab with ext4 defaults 0 2 as my options.

I have two exports
/media/raid/Test
/test

Both show IP and subnet on the showmount -e for the server. I can mount the test just fine on the server. I cannot, however, mount the /media/raid/Test error: mount.nfs: access denied by server while mounting hostname:/media/raid/Test Using dmraid I am able to have the deprecated box export and mount nfs shares from the raid but using MDADM on the new computer, I cannot. I get similar results with pointing MYSQL's data folder to a location on the "/media/raid/Database" (even with apparmor entries).

View 1 Replies View Related

Fedora Networking :: Samba Server Not Shown In System Administration / Give Permission To Access Home Folder?

Jul 1, 2010

I installed samba server in my external HDD. But it is not shown in system ----> Administration. Is there any problem. Then How to give permission to access home folder.

View 3 Replies View Related

Ubuntu Networking :: Samba File - Access Shared Folder - Error: Failed To Retrieve Share List From Server

Sep 24, 2010

I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:

[Code]....

View 5 Replies View Related

Programming :: HOSTNAME Variable Is Being An Empty String

May 19, 2011

The script produces 2 empty lines and I don't know why.

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

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

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

Ubuntu Networking :: Can't See Server On LAN With Hostname

Mar 22, 2011

I have set up an Ubuntu 10.10 server with SAMBA shares and Apache web server. Everything was working fine. Then there was a power failure and after I restarted the server the XP pc's can see the server using the hostname. They can only see it using the ip adress. I haven't change anything on server or client side. Just the restart of the server.

View 3 Replies View Related

Networking :: Specify Hostname (in Local Box, Not In DNS Server)

May 31, 2010

What is the right way to specify hostname(in local linux box, not in DNS server):

myhost1
or
myhost1.mydomain1

View 2 Replies View Related

Server :: Samba - While Access The Shared Folders In WINDOWS I Got "access Dined" Error

Feb 27, 2010

I am using RHEL5 in that i have installed samba rpm as well as created samba users while access the shared folders in WINDOWS i got "access dined" error.

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

CentOS 5 Networking :: Hostname Changes Automatically On A Server With Static IP?

Jan 7, 2009

Server has been moved to a different locations and so the IP has been changed now the hostname is changed to something other that what it was before.

Could it be the rDNS that is causing this?

Note: this is not a DHCP connection.

View 1 Replies View Related

Server :: Access Permission In Samba?

Jan 25, 2010

I'm new with Samba and have access problem with Samba on Rhel 5. I want to share iso directory, and user admin can read and write while user bill can read only. smb.conf file looks like this#======================= Global Settings =====================================

[global]
workgroup = CORP
security = SHARE

[code]....

View 3 Replies View Related

Server :: Host Name Access Without Samba?

Dec 2, 2010

I'm setting up a LAMP production server for the first time. When I installed Ubuntu server edition, I selected to install Samba. My idea was to be able to easily access the server's files on the LAN using Windows. All was well and I could ping/ssh between Windows and the Ubuntu server without any problems using the host names. Later, I became concerned that running Samba on a production server might introduce security issues. Therefore, I used apt to purge Samba.

Now I am unable to ping/ssh between the Windows machines and the server using the host names. It only works if I use the IP address.

Two questions:

1.) Is it a security risk to run Samba on a production LAMP server?

2.) How do I get back to being able to use host names without installing Samba?

View 4 Replies View Related

Server :: Can See My Samba Share But Cannot Access It.

Apr 24, 2009

This is my first post. I am not all that new to Linux. I have done lots of reading on the OS but always felt a little timid when it came to trying out stuff.Here is my problem I have a stand alone samba server I am trying to setup to share all my digital photos and other doc. I can see the share from other machines. On the windows machines you can see the users home directory and the share itself in an folder icon. Whenever I try to access the share it asks for a passwd. I enter the passwd and the share folder is visible when I click on the folder I get and error message.

View 14 Replies View Related







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