CentOS 5 Networking :: Unable To Get Update Or Download Any Native Programs. But Able To Access File From Samba?

Jul 4, 2010

Unable to get update or download any native programs. But able to access file from Samba

View 1 Replies


ADVERTISEMENT

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

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

CentOS 5 :: Samba, Smbusers File, Anonymous NFS Access?

Apr 20, 2011

I have a test server (2.6.18-194.el5) that allows automated tools from Windows 7/Windows Server 2008 to access the filesystem (anonymous NFS access) via Samba (3.5.4-0.70.el5_6.1). Documentation on the smbusers file on samba.org seems a little thin.

* why is it necessary map unix users to samba users?

* what purpose does this mapping serve?

* does the umask of the unix user limit the samba user it is mapped to when creating files/directories? what about anonomous access?

* why are files created via anonymous access owned by 'nobody'?

* how can I control what user and permissions files/directories are created with?

View 3 Replies View Related

Ubuntu :: Unable To Access File Structures After Update

Jul 16, 2010

I just ran the update manager and am now unable to access any of my files. Additionally I can not run the software center or run apt-get from the terminal. Luckily my web browsers and email client are still working.

I first ran the update a few days ago, but for some reason, about 30 or so packages wouldn't download, so update manager installed all but those ~30 packages. Afterwards everything seemed fine, except the clock was broken on my desktop, which corrected itself after two reboots.

Since that time the only major change I've made to the system is to rollback my version of gcc to 4.3.0 from 4.4.3. This was done in hopes that the older version of gcc would read a header file in some software I need to get installed (apparently ubuntu doesn't like locale.h). However, doing so did help.

Today when I got into work I thought I would see if I couldn't finish the update before trying some different versions of gcc, so I ran the update manager again. This time it downloaded the remaining ~30 packages and installed them, no problem. It wasn't until I ran apt-get that I noticed that all the icons on my desktop had disappeared.

below is the error I get from running apt-get

Code:
chris@chris-laptop:~$ sudo apt-get install build-essential
apt-get: /usr/local/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by apt-get)
apt-get: /usr/local/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libapt-pkg-libc6.10-6.so.4.8)

View 7 Replies View Related

CentOS 5 Networking :: Samba Share Access Restriction?

Apr 29, 2010

cannot restrict share access to a single user. I've played with the security and valid users options in the smb.conf and I can get it to mount if I remove the valid users option, but this does not provide the access restriction I need. I also left it open and tried making the folder permissions rwx for backupadmin only and that didn't work. I'm using a credentials file which I include below, but I've tried manually entering them in the command too.

[root@aaphst02 /]# mount -t cifs //aapsan01/aapxen01 /mnt/aapxen01 --verbose -o credentials=/root/smbcreds
mount.cifs kernel mount options: unc=//aapsan01aapxen01,ip=10.0.1.34,user=backupadmin,ver=1,rw,credentials=/root/smbcreds,pass=********

[Code].....

View 3 Replies View Related

Ubuntu Networking :: Unable To Access SAMBA Shares Hosted On HOMESERVER?

Jan 6, 2011

I am traveling to the UK next week, and whilst I am there, I need to be able to access my SAMBA shares hosted on my HOMESERVER, via my laptop in england.

I have tried Hamachi before, which works fine on windows, but the linux version is awful, and hardly works. So I need an alternative. I did a bit of googling, but I don't know what "bridged" means when I found a OpenVPN tutorial

I was wondering if anyone could give me some information as to what I'll need, and what I'll need to do on both my homeserver and my laptop?

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

CentOS 5 Networking :: Unable To Access Internet?

Jul 4, 2010

On my Centos 5 box my internet won't work. I am unable to get update and I can't download any native programs. But I have Samba running and I am able to access all my files for my other computers.

View 6 Replies View Related

CentOS 5 Networking :: Unable To Access Company Vpn?

Mar 8, 2011

I am trying to access my company VPN using my Centos 5.5 laptop. I have the vpn client certificate issued by my company's IT dept. I am able to access the webmail using the same certificate which I installed in firefox. But I would like to know how to use this certificate to sign in to the VPN. Some of my colleagues use the Cisco VPN client v5.0.? software and the vpn client certificate to login. It works fine. But I would like to do the same with Centos.I tried connecting using vpnc. I converted the pcf file to conf using pcf2conf. Converted the certificate to .pem file. I replaced the /etc/vpnc/default.conf file with the pcf2conf converted file. Following is the converted conf file:

IPSec gateway example-vpn.companyname.com
IPSec ID <groupid>
IPSec secret <groupsecret>

[code]....

View 1 Replies View Related

CentOS 5 Networking :: Unable To Get Internet Access To 5 Server

Jan 17, 2009

I've installed centos 5 on an old computer with success and it works great.I can access the web server hosted on the centos server from any computer on the wireless and wired local network. I can also use ssh (putty) and nx client from any computer on the local network (wired and wireless) to access the centos server.On the wireless router I've configured a port forwarding to the wireless network interface on the centos server. I can access the centos server from the outside (internet) through this port forwarding both through http and ssh or nx client.MY problem is that I can't access the centos server from the internet through the wired network interface. Any attempt to view a web page or login with ssh or the nx client will timeout.

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

Ubuntu Networking :: Unable To Compile Native Driver For ASUS USB-N13 Wireless Device

Mar 27, 2011

1. Installed a fresh 10.10 and upgraded all packages (via Ethernet).
2. Downloaded latest drivers from ASUS webiste (DPO_RT3070_LinuxSTA_V2.3.0.2_20100422)
3. Unpacked and tried to compile:

The wireless card is working with the driver rt2870sta, but I've read not all the capabilities of the device is unleash unless the native driver is used.

View 2 Replies View Related

Networking :: CentOS 5.5 Box Unable To Access Live Web Service On Interwebs

Oct 27, 2010

From my office and home, I can access a web service, no problem. However, from my server at the data center, I cannot. Could this be a DNS issue? I've tried with iptables enabled and disabled. selinux is disabled. This server has multiple network interfaces, one public and two private. The public has a WAN IP address (1.1.1.1), the private is 10.1.10.2 and the other private is connected via crossover cable to another server 192.168.100.1. I think route -n tells me the WAN interface is used to access the internet, as its gateway is my ISP's upstream gateway. CentOS 5.5.

View 4 Replies View Related

5 :: Download CentOS 5.2 Updates For Samba?

Jan 25, 2011

From where to download Cent OS 5.2 updates for samba? I would like to download samba 3.0.28 rpms.

View 2 Replies View Related

CentOS 5 :: Update Samba At Least To Samba 3.0.37?

Jun 7, 2010

I had installed Centos 5.4 , then upgraded to 5.5 hoping that new version has samba 3.5.x. However the updated Centos 64-bit 5.5 also has Samba 3.0.33-3.28.el5.

How can I update samba at least to Samba 3.0.37 ? The reason is, there seems to be security concerns on samba website, and I wish, at least update to latest 3.0.x .

View 1 Replies View Related

CentOS 5 Networking :: DNSMasq Update Looking For Config File

May 26, 2010

I did a yum update this morning that included a dnsmasq update. Subsequently, for an unrelated reason, I restarted dnsmasq, but it failed because /etc/dnsmasq.d didn't exist. It looks like my /etc/dnsmasq.conf file now includes "conf-dir=/etc/dnsmasq.d" at the end. Since dnsmasq was starting and I didn't remove dnsmasq.d, I assume this line was added by the update. Commenting the line resolves the issue.

An alternative hypothesis, given that I don't really know what the state of /etc/dnsmasq.conf and /etc/dnsmasq.d/ was before the update, might be that the directory did exist, but was removed by the update. I find this the least likely of my 2 stated hypotheses. (There are other hypotheses, but I think they are even less likely). Am I correct is concluding the conf-dir line was added by the update? If so, shouldn't the updated RPM create the directory during install?

View 6 Replies View Related

Server :: Unable To Access Samba Shares

Jul 24, 2011

First off a little history of me lol. I'm not completely a Linux noobie, but I'm not the most advanced user either. With that said I have a few interesting problems with Samba.First off I can see the NetBios name under Windows Networking (Windows 7), however everytime I try to connect to it I get an Access Denied and/or "Incorrect Password/Username" error. I have gone into secpol.msc and changed the values that other posts have suggested. Both the server and the workstation are located under the same group, and I have used the smbpasswd -a <username>. The server is not configured to be a Primary Domain Controller so.. I'm lost. Infact my brain hurts from 3 days of this. I have posted my SMB.CONF file to see if that helps. Hum.. Maybe I'm just trying to access a file share that isn't there..

View 13 Replies View Related

CentOS 5 Server :: Cannot Access / Var Through Samba

Jul 3, 2010

I'm planning to use a virtual CentOS box for web development (to use the same software as on the real server). I configured Samba to have root guest access to /var/www/ but it doesn't let me in /var. Chmod 777 doesn't help. Nethertheless, I have full access to /sbin and /etc.

View 2 Replies View Related

CentOS 5 :: Yum Update Three Systems With Only One Download?

Mar 31, 2009

I have three CentOS machines which want updating from CentOS 5.2 to 5.3 sometime in the next week or two.I've always just done su -c 'yum update' on each machine, and let it slowly download and update a zillion pkgs. And every time I do that, I tell myself that *next* time, I'll figure out a better way.

I'd like to be a little more efficient this time, and have the 2nd & 3rd machines re-use some of the packages that the first machine downloaded. Two are workstations, and the third, a headless non-X11 fileserver, so they have different (but overlapping) sets of packages that they'll need. But the in-common packages comprise a lot of downloading that I would rather do only once. There's some way to set up a local yum repo on my server, mirror *everything* onto it, and update all machines from it. But that looks trickier, and way overkill for my purpose. Or I could just download ISOs, and work from there, but two machines don't have optical drives to boot from, and the ISOs contain tons of stuff that none of these systems need, so the download savings would be cancelled out.

A little reading of forums/manpages/etc, and I think I want to make use of yum localupdate (which I've never tried before), and do something along the lines of: 1.) Update the first workstation. It'll download all pkgs it needs overnight, and then update itself: [wkstn]$ su -c 'yum update'

2.) Make sure everything is working correctly.

3.) Grab every *.rpm from wkstn's /var/cache/yum and all its subdirs, and copy these to a temp dir on the server's raid: [wkstn]$ cp -a /var/cache/yum /server/raida/wkstn_yum_cache

4.) Update any server packages that the wkstn already downloaded.[server]$ su -c 'yum localupdate /raida/wkstn_yum_cache/'

5.) Update any server packages that the wkstn did NOT download: [server]$ su -c 'yum update'

6.) Deal with anything that broke on the server. The raid drivers, for example, always seem to need rebuilding, after kernel updates.

7.) Update the other workstation.

Question #0: Will this do what I want? I've never tried yum localupdate before, and the yum manpage doesn't elaborate much. Am I really barking up the wrong tree? Is there some much better way of doing this, for updating just 2 to 4 machines.

[Code]...

View 2 Replies View Related

CentOS 5 :: Mirrors Cant Download Or Update Anything?

Feb 6, 2011

there is a problm with my mirrors..i cant even download or update anything .When i write yum install vlc

it tries to download and says
trying another mirror
again trying another mirror
Similarly it tries different mirror and stopped.

View 8 Replies View Related

Debian :: Unable To Download All The Update In One Go And To Complete The Upgrade?

Jul 16, 2010

My internet connectivity is not that fast. Since I am using Squeeze, there will be very frequent updates.

My problem is that I am not able to download all the update in one go and to complete the upgrade. As the number of files to be downloaded and upgraded increases, I can't seem to be able to reach the end point to complete any update.

Can aptitude upgrade just the files that have been downloaded so far, and resume downloading the rest in the next attempt? MS Windows will update the OS with whatever patches downloaded without waiting for the rest if I prematurely shutdown the pc.

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

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

Fedora Networking :: Unknown Samba Password - Use Samba For File Sharing Like On A Windows Home Network

Jul 17, 2010

I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.

My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.

View 2 Replies View Related

Server :: Unable To Open New Log File /var/log/samba/xxx.xxx.xxx.xxx. No Such File Or Directory

Mar 8, 2010

CentOS 5.x with AD authentication. My samba servers(3) are all reporting the same error:

Quote:

Unable to open new log file /var/log/samba/xxx.xxx.xxx.xxx. No such file or directory.
lib/debug.c:reopen_logs(625)

The xxx.xxx.xxx.xxx is the ip address of the station accessing the samba share I assume.

View 4 Replies View Related

Networking :: Access Programs From Machine In The NAT Using Ssh?

May 14, 2010

I am behind NAT using private IPs like 172.x.x.x in my lab. I need to access programs from other machines which are also behind NAT. What is the syntax of ssh command that i can run? Because when i make connection within one LAN for example:ssh -X 172.x.x.10 to 172.x.x.3 it works fine. I can access programs like gedit, firefox etc. But when i try to do the same on the machine that are behind NAT then i get this error;

[root@localhost ~]# gedit
(gedit:3977):WARNING **: cannot open display:

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

Ubuntu Networking :: Some Programs Cannot Access Internet

May 29, 2010

I have used other distros on and off in the past with no trouble, but for some reason I seem to have had this problem with several versions and flavours of Ubuntu on various systems. I've never solved this problem the previous times I've had it, just given up. But this time I actually need to get this working. I've recently upgraded my computer, so my old system has been relegated to HTPC duties in my lounge. I installed Ubuntu 10.04 and I'm having issues getting internet access with some programs, while others work fine.

Firefox and Evolution haven't been able to access the internet from the start.Empathy IM has no trouble connecting to my MSN and Facebook accounts.I had no trouble downloading and installing Google Chromium browser through Ubuntu Software Center, and have no trouble accessing the internet with Chromium.On the first boot after the install, Ubuntu automatically told me to update my nVidia drivers online, and did so without error.Update Manager detects updates, but fails to download them.

I successfully and flawlessly downloaded installed XBMC Media Center and some related skins and things through Synaptic, but XBMC cannot access the internet. However it can access shared files over my LAN, including Windows 7 shares.Ubuntu itself cannot access any files on my Windows 7 computer. It can access the work group and see my Win7 shares, but refuses to mount them. Strangely, XBMC can access these shares and stream media from them fine.

View 3 Replies View Related







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