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


ADVERTISEMENT

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 Networking :: Unable To Access Samba Share From Windows Machine?

Jul 15, 2011

I am unable to access samba share from my windows machine. I am getting the following error

View 9 Replies View Related

Server :: Unable To Enable Write Access To Samba Share

Aug 14, 2010

Hi,

I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:


Code:
drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps
drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music
drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics
drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video
This is how my smb.conf file looks like for this particular share:


Code:
[share1]
comment = share1
browsable = yes
path = /samba
write list = michal
Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:


Code:
michal = "michal"
When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.

Any ideas? Thanks!

View 1 Replies View Related

Server :: Unable To Access Samba Share On CentOS 5.4 From Windows XP Or Vista

Jan 23, 2010

I can't be the first one with this problem. What am I missing?

I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.


---- Environment summary:
Clean server install of CentOS 5.4 includes SELinux
- lets call this 'server'
- updated samba to 3.0.33-3.15.el5_4.1

Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above
Client2 - Windows Vista - WINS configuration uses 'server' noted above

---- What works / what doesn't ------
Clients can see the server (XP and vista) in network neighborhood.
The following does not work from windows (xp or vista)
net view
net view \server
net view \server-ip
net view \servershare

This does work on the server
smbclient -L \server
smbclient -L \server --user validuser
smbclient -L \client1 --user validuser


---- What I have configured and tried (config/output below) --------
firewall ports for samba are open
SELinux enforcing or permissive
file context is set on share
samba booleans are set

***firewall
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT

***SELinux mode/booleans
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted

# getsebool -a | grep smb
allow_smbd_anon_write --> off
smbd_disable_trans --> on

# getsebool -a | grep samba
samba_domain_controller --> on
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> off
samba_share_fusefs --> off
samba_share_nfs --> off
use_samba_home_dirs --> on
virt_use_samba --> off

***filesystem
# semanage fcontext -a -t samba_share_t �/share/photos(/.*)?�
# restorecon -R -v /share/photos

***Disks
]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 9920624 2070872 7337684 23% /
/dev/sda1 101086 19146 76721 20% /boot
tmpfs 1846656 0 1846656 0% /dev/shm
/dev/mapper/VolGroup00-xen
100791728 202540 95469188 1% /xen
/dev/mapper/VolGroup00-photo00
251981556 191716 238989840 1% /share/photos
/dev/mapper/VolGroup00-dmsdoc00
100791728 192256 95479472 1% /share/alfresco
none 1846656 104 1846552 1% /var/lib/xenstored



***smb.conf
[global]
workgroup = workgroup
netbios name = server
security = user
name resolve order = wins hosts lmhosts bcast
encrypt passwords = yes
hosts allow = 192.168.0.
hosts deny = 192.168.122.
interfaces = eth0
passdb backend = tdbsam
oslevel = 222
local master = yes
domain master = yes
preferred master = yes
cups options = raw
username map = /etc/samba/smbusers
wins support = yes
log level = 4
guest ok = yes

[photo]
comment = Photos
path = /share/photos
read only = yes
guest ok = yes

View 5 Replies View Related

Networking :: Unable To Resolve IP To Hostname

Aug 1, 2010

i searched the internet on how to resolve IP to hostname in my internal network. However, i could not find any solution to it. Any gurus around have any knowledge on this? i have tried whois, dig and nslookup however it doesnt give me anything.

View 1 Replies View Related

Ubuntu Servers :: Unable To Resolve Host / Hostname Is Set To (none)?

May 25, 2010

I just built out an Ubuntu Server 10.04.

My problem is setting the hostname. I cloned the machine, then normally on the clone, I would change the /etc/hostname and /etc/hosts file.


However, when I do this, upon restart, I get the message, "init hostname main process (some process number) terminated with status 1"Then, when the machine finally boots, the hostname is set to (none). Literally has braces like: user@(none):

I've tried: sudo hostname machine_name but it says can't resolve hostname (none).

I've Google'd around a lot but can't get it. It may have something to do with 10.04? I have been using 9.04, 9.10 with no problems.

eric@(none):~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
code....

View 9 Replies View Related

Server :: Unable To Resolve Hostname Some Times

Feb 28, 2010

I have squid on my RHEL5 server and a no of windows clients ,on clients some sites opened without any error but some sites whilw opening says unable to resolve hostname ,why this kind of problem ?This may be DNS problem ,but it should happen for all address not some .

View 2 Replies View Related

SUSE :: URL Link Launcher Creation / Unable To Resolve Hostname

Aug 6, 2010

I am updating all of the company systems from Novell SuSE Desktop 10 SP2 to 11. We have several links on the desktops of users that are URL's. In version 10, I just did a Create Launcher, Type was Link and I could type in a URL. The LINK type no longer exist. I checked on my system at my desk which is OpenSuSE 11 and it also does not have the link type. I have been searching on the Internet for creating Launchers and then looking for information on creating links and have not been able to find anything. Can anyone point me to a good howto or document on creating URL link launchers (we have a system that runs Apache and from the users PC they click the link to connect to the server). I tried just creating a bookmark in Firefox and then dragging the bookmark to desktop and customizing icon. But, I build the systems at our corporate offices, and when I build, the IP address on the system is the actual IP and since it is not at the final location it can not connect, and the bookmark creation on desktop fails with error 'Unable to resolve hostname'

View 1 Replies View Related

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

Software :: Windows Computers Can't Resolve Samba Share Names In 10.04

Oct 2, 2010

After upgrading my ubuntu server from 9.04 to 10.04, the window computers couldn't resolve samba shared names anymore, the error code displayed by Windows was 0x80070035.

I was using the ubuntu server as a samba server, using 'share' as the security authentication method, it has been working very well under previous ubuntu versions but, after upgrading to 10.04, the windows computers can't access the server shares anymore; the linux computers don't have any problems (I can access the shares from linux).

As a workaround, I've added the name of the server in c:windowssystem32driversetchosts; but I'd like to know how to fix the problem without modifying every windows computer.

View 1 Replies View Related

Networking :: Can't Access Ubuntu Share From Windows 7 Machine / Resolve It?

Oct 8, 2010

I am running Ubuntu 9.10 on my desktop right now. I have an external western digital terabyte drive plugged into it. I am able to see it and view it fine. Let's work with my music folder for example. I want to be able to access this music from my Windows 7 laptop so that I may add it to my itunes. However, when I enter the \servershare from the windows 7 laptop it says that the "server" is found but the "share" seems to be invalid. I've checked this 20 times and setting the share name to "music". I've rebooted 2 times on each computer yet to no avail. If I make a share on the Ubuntu desktop I can access it from the laptop. So it seems like it just gets lost when looking inside the external. This was just working last week, then I had to blow away they win 7 lappy and now it just won't work!

View 2 Replies View Related

Ubuntu Networking :: Access Samba-share From App?

May 3, 2011

I have a samba-share that mounts on my desktop. But how do I find it from applications?
When I browse from application is not visible in the desktop folder.

PS. I find it with smb://pathway, but I don't know how I can do it from some gui-applications.

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

Ubuntu :: Samba Share In 9.10 - Few Folders Access By 3 Users

Apr 28, 2010

I have configure few folders access by 3 users, In common folder only users that create that document can do changes. The rest of the users can only read the file but can not do changes. Ownership of the folder is admin, group is sambashare which already have the access create and delete files. All the 3 users already in sambashare main group, and they only can edit the file that they copy or create to the common folder .........

View 5 Replies View Related

Ubuntu Networking :: Remote Access To Samba Share

Sep 22, 2010

I need to access a windows share at my university's server. When I am at the university, I can access the share by nautilus (or dolphin) in a similar way to ftp:

smb://domain%5Cusername@server/share

The thing is that when I try the above anywhere else except the university, it does not connect. I guess it has something to do with the domain, but I am not sure.

View 5 Replies View Related

Ubuntu Networking :: How To Remotely Access Samba Share

Dec 19, 2010

My work uses an internal software suite where the data is hosted with a linux server. It uses mysql and samba shares. We are currently opening a new location and need to be able to access the samba shares. We are able to access the mysql databases. The samba shares are used to store various files for the software such as updates, invoices (as pdf files), etc. I've setup vpn connections using windows servers in the past but I can't, for the life of me, get a VPN server setup on our linux server that windows will connect to. I've tried openvpn and pptp. I'd prefer to use the built in windows client to connect.

View 8 Replies View Related

General :: How To Access Samba Share From Both Fedora And XP

May 12, 2011

I installed samba server on fedora13 last week and share some files from samba server GUI. I also created samba user and password for shared folders but I can't get access samba share folder from neither fedora machine nor Windows XP. When I open samba share from other fedora such as smb://192.168.10.2. I can see share file and when I browse folder, password required box is appeared but after I put samba username and password. The Error message is Unable to mount location Failed to mount Windows share. Even when I browsed samba share from windows xp.

Error message is \192.168.10.2smbshare is not accessible. You might not persioon to use this network resource. Contact the administrator. The network path was not found. How can I get access samba share from both fedora and XP that is what I installed on server:

[root@fedora2 mnt]# rpm -qa samba*
samba-winbind-clients-3.5.2-60.fc13.i686
samba-swat-3.5.8-74.fc13.i686
samba-client-3.5.8-74.fc13.i686
samba-3.5.8-74.fc13.i686
samba-common-3.5.8-74.fc13.i686

and here is my smb.conf file
# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2011/04/29 22:05:08

[global]
workgroup = workgroup
server string = Samba Server Version %v
security = user
guest account = youth
log file = /var/log/samba/log.%m
max log size = 50
guest ok = yes
cups options = raw
smb passwd file = /etc/samba/smbpasswd
;encrypt passwords = yes

[homes]
comment = for all users
read only = No
;browseable = yes
path = /home/aung/smbshare

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Public]
path = /home/aung/Public
read only = no
;browseable = yes
valid users = abrt, ftp, operator, youth, yu

[smbshare]
comment = personal share
path = /home/aung/smbshare
write list = yu
read only = no
;browseable = yes
valid users = youth

View 2 Replies View Related

Software :: Cannot Access Samba Share In Fedora 9

Jul 12, 2009

I'm relatively new to liunx and I have recently installed Fedora 9 to act as a media server. I thought everything was going well until I tried to connect to my Samba share but could not.Not sure what the netbios is but I believe this can be anything I want?So as far as I can tell, the laptop can see the Samba Share, Fedora can see it's own Samba share but nothing (both laptops XP and Vista or the Media Player) can connect to the /public folder..I don't login to either Laptop with a user account, so I believe I do not have to create a user.

View 7 Replies View Related

Programming :: Need To Monitor Samba Share Access

Jul 1, 2010

i want to do a script that check samba shares with command smbstatus and see if one of the folders is accessed by unauthorized user by comparing with list of authorized users.

View 5 Replies View Related

Red Hat :: Can't Access Samba Share On Virtual Machine

Feb 8, 2010

I have Samba shares on a Red Hat server vmware virtual machine. We just upgraded our vmware tools and vmware hardware to vsphere and now I can't authenticate to the samba shares. It prompts for credentials, but it won't take the login. Has anyone seen this or have any idea how to fix this?

View 1 Replies View Related

CentOS 5 Server :: Can't Access Samba DFS Share

Feb 19, 2010

I'm trying to set up a test system for Windows 7. I've been having trouble getting it to map drives on the domain where I work, so I wanted to set up a test system with a similar setup so I can play around with settings without mucking up our network. Only problem is I can't get it configured to even work with XP, which does work on our domain.

When I type \server in the Run box I get the explorer window showing all of the test shares I've set up. But when I try to access them, it says the network path could not be found. Here is my smb.conf file:

[global]
workgroup = MAJOR
netbios name = VPN
realm = MAJOR.COM

[Code]....

View 14 Replies View Related

Ubuntu :: Sudo: Unable To Resolve Host / Setting Up Network Sharing With Samba?

May 21, 2010

I am having a problem with Ubuntu 10.04. I was setting up network sharing with Samba. Set up went fine, then I decided to change the hostname.

Following instructions I found on the web, I edited etc/samba/samba.conf to reflect my desired hostname.

Now I have to use superuser to run synaptic or update center. I don't know what else I have "broken".

I would like to change my hostname, if I did it incorrectly for 10.04 please enlighten me.

View 2 Replies View Related

Ubuntu Networking :: Mount A Samba Share To Access It From A Terminal?

Feb 3, 2010

I am trying to properly mount a samba share in order to access it from a terminal and run a script that I've written over a folder in the share. How could I do that? I tried smbclient but after successfully logging in I couldn't issue the sh command. Isn't it possible to have it mounted in the /mnt folder like a normal filesystem?

View 1 Replies View Related

Debian :: SMBClient Not Installed But Can Access Samba Share

Apr 13, 2010

How come I can access samba share, and windows workgroup computer and don't have any samba package installed? Sudo aptitude show smbclient says not installed. Sudo aptitude show samba says not installed.

View 2 Replies View Related

OpenSUSE Network :: 11.2 - No Longer Can Access Samba Share

Apr 13, 2010

I have a samba server on my LAN. It can be accessed without any problems from Windows machines on the LAN without password. I have two computers that I have updated to OpenSuse 11.2 (both used to run 10.3). Since doing this upgrade I can no longer access the samba share from the Suse machines. Basically, both Dolphin and Konqueror ask for a username and password to access "avoca" (the workgroup).

View 9 Replies View Related

Server :: No Write Access To Subfolders Of Samba Share

Dec 4, 2009

I am using samba t share my files.I am sharing /media/MEDIA folder. it is a ntfs partition mounted with ntfs-3g with write/read access from linux.I can see and browse my shares and also create files in the root of this partition, ie /media/MEDIA, but in its subfolders i do not have write permissions.

another interesting thing is that i have permission to create directory and delete files everywhere and in any folder, subfolder but when trying to create files i get not enough free disk space error.by the way i dont know if this config file is correct, i find as template in internet.

View 8 Replies View Related

Server :: Not Able To Make Samba Share That Has Write Access

Mar 21, 2010

I'm running Ubuntu 9.1 server on an PII Compaq. Read an article "Samba: How to share files for your LAN without user/password" [URL] and some others and can see and pull up files, can't change or delete. Here is my smb.conf:

# Sample configuration file for the Samba suite for Debian GNU/Linux.
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example

# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here .....

View 22 Replies View Related

CentOS 5 :: Can't Access Samba Share Folder From Windows

Feb 25, 2010

i did install and configure samba buy google tutorials. I can ping the centos box from windows but cannt access folder which is on centos. I can ping the machine.

View 9 Replies View Related







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