Fedora Servers :: Shared Access With Samba And Apache

Mar 30, 2011

I'm trying to set up a computer to allow a specific samba user to access and write to a folder on the web-server without any luck. I've tried creating symbolic links in the users home to the folder (/var/www/html/something) on the web server and from the server to a directory in the users home but neither seems to work. I haven't seen any errors from SELINUX either but I'm kind of stuck. Also tried adding a directory section and alias line to the httpd.conf but after doing that apache wouldn't start so I'm not really sure how this would be done properly.

View 1 Replies


ADVERTISEMENT

Fedora Servers :: Encrypting Home Directory Shared Over Samba?

May 6, 2009

I am looking into encrypting some data on a Fedora samba server. I'm not entirely sure the best way to do this. The server is currently running Fedora 5 but it can be updated if necessary.

I would prefer if the server could be booted up and that no interaction at the server itself have to be done so that users can access their shares.

Is there a way for the data to be encrypted on the server but when the user access the share over samba that it can be accessed?

The research i have done so far seems to point towards methods more intended for a desktop setup. Such as entering passwords at bootup or when opening folders.

View 1 Replies View Related

Server :: Access Samba Shared Files

Feb 11, 2010

I have installed samba server one month ago and it was working fine till yesterday but today morning when any network client is trying to access samba shared files by giving smb://<serveripaddress> it is asking for password...that is ok but when he is giving the password it is again opening the same password window to enter password again.The clients are giving correct password that is confirm. At the server side i have run smbclient -L localhost -U% and that is giving proper response so that also means that samba server is working fine so i dont know what could be the problem and what its solution.

View 7 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 :: Samba Cannot Access Windows Shared Folders?

Jan 2, 2010

spent so much time trying to get Samaba working, but with no luckHere is my smb.confQuote:

[global]
realm =
netbios name = rlx-laptop

[code]....

View 9 Replies View Related

Networking :: Samba On F13 - No Permission To Access Shared Folder

Aug 29, 2010

I have a Linux Box running Fedora 13, it has Samba installed, and I have configured it, I also have a Windoze 7 PC, I want to be able to access the Windoze PC's files from my Linux Box, and vice versa, but when I try to open the Windoze PC in the network on my Linux Box, it asks for my Username and Password, I enter them, the box goes away then pops back up asking for them again... and on the Windoze PC, I find my Linux on the network, open it, it asks for my username and password, I enter them, and it lets me in, but then when I try opening my shared folder, it gives me: "You do not have permission to access \LINUX Shared Folder. Contact your network administrator to request access".

View 1 Replies View Related

Ubuntu Networking :: Access To Samba Shared Folder With Password

May 31, 2010

I have created a shared folder via nautilus. I can not access it, because it asks me for user name and password again and again. I'm sure both username and password are exactly right. But I can not access the folder. Only when I check "Allow guest user access" it will allow me to access my data, Which is not secure enough for me.

View 6 Replies View Related

Fedora Servers :: Samba Doesnt Work In 12 - Not Allowed To Access

Mar 29, 2010

I am fairly new to Fedora or rather use it only for some school exercises I get. I have to setup a Samba server with some basic settings and it doesn't want to work. I first tried it on the Fedora VM I got from school (version 11). It somehow worked, but extremely bad ... the Windows client had to wait for over a minute to get either access or an errormessage, that the server was not found (but when entered the ip in the adressfield on top it worked (with a minute or more to wait)). I tried updating the VM - no improvement. So I decided to download Fedora 12, installed it and the Windows client gains instant access on first glance. But when I try to get access to a specific share, it only tells me, that I am not allowed to access it Oo.

Here is my config:

Code:

I even turned off iptables and Windows firewall.

The funny thing is: I tried exactly the same config on my homeserver (copy and paste), which runs Arch, and it works with no problem. But on Fedora I cant access it from nowhere. Not from WinXP, Win7 or any Linux. Simply won't work.

I dont have any gui on Fedora

View 5 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 Can't Access To Any Shared Folder On Secondary Drive

Sep 27, 2010

I successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.

View 8 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

Ubuntu Servers :: Cannot See Shared Samba PC On XP Network Places

Mar 24, 2011

I did set samba server up. I just modified only one configuration from default /etc/samba/smb.conf file.

Just workgroup = MSHOME to workgroup = WORKGROUP.
And browseable = yes.
Beacuse my xp workgroup is WORKGROUP. So I changed as same workgroup name
both unbuntu and XP.

But I couldn't find samba pc on network places at XP. I have started smbd and nmbd already. There is a ridiculous something. I can access samba at XP only typing \samba IP address. But why I can't see at network places. I am using ubuntu 10.04 TL.

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

OpenSUSE Network :: Port Forwarding & Samba Access For An Apache Lamp Server?

May 23, 2010

How do you configure the firewall to allow external web access (it's a LAMP server) and internal access for samba shares ?

View 6 Replies View Related

General :: Apache And Access To Samba Shares Index (or Contents) Trough Http

Aug 10, 2010

i want to access to my samba shares index (or contents) trough http. something like this: [URL] i read something about aliases...i wrote this in the httpd.conf:

[Code]...

View 6 Replies View Related

Software :: CUPS Installation / Shared Printer And Not Able To Access Shared Printer From Any Of Fedora Machine?

Jul 21, 2010

Installed fedora/configued samba, shared printer and i am not able to access shared printer from any of the fedora machine. I am able to access the printer /shared folder from windows machine. I dont know the process of cups installation.

View 1 Replies View Related

Ubuntu Servers :: Apache Access Though VPN

Sep 1, 2010

just switched our company from windows server to linux and everything is going good except we have 4 vpn connections though out the country coming to our server. All giving the client machines ip addresses of 192.168.x.x based on where they are located 192.168.1.x for the main location 192.168.2.x for a second location etc, and IIS could see the clients ip instead of the wan ip and was setup to block all ips except 192.168.x.x ip's and this worked great.

So i set up apache the same way, to allow only 192.168 ip's but i guess it doesn't work that way in apache for connections coming though vpn? 2 out of our 4 VPN connections are not static IP's, so the 2 that are I just add that ip to the allow list and that worked.But i don't think we should HAVE to get static ips for the other 2, that's one of the benefits of using VPN, especially if our old windows server didnt need it.Is there any way for apache to see the clients ip address for access or is there something somewhere else that needs changed for this?

View 8 Replies View Related

Fedora Servers :: Disable Samba Security To Avoid "Access Denied" Errors When Shares It Via Windows XP?

Aug 25, 2009

Does anybody know if there is a quick and easy way to simply disable samba security to avoid "Access Denied" errors when trying to access shares via Windows XP?

View 2 Replies View Related

Ubuntu Servers :: Setup A Server To Where It Does Not Give A Password Prompt To Access A Shared Folder

Nov 28, 2010

How do I set up a server to where it does not give a password prompt to access a shared folder?

View 1 Replies View Related

Ubuntu Servers :: 8.04 - Apache Access Log Stopped

Mar 6, 2010

I am running an apache server thru webmin, on a 8.04 install. Attempting to install awstats I have realized that access.log stopped writing some months ago. Went back thru the error logs and found I had deleted the virtual server, and started a new one. Everything else works fine, it never even occurred to me that logging would not also be restarted. I would just like to get it going again, any clues???

View 5 Replies View Related

Ubuntu Servers :: Using Apt For Updating From A Local Directory And Samba Shared Directory

Jul 9, 2010

I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.

View 1 Replies View Related

Ubuntu Servers :: Apache Log And Remotely Access Desktop

Mar 9, 2011

I came back to see on the screen a message requesting remote desktop control. So I said no and went into remote desktop and said never allow connection. I had recently hosted a PHP app on the home pc for testing purposes using apache. Here are some of the last logs entries:

Code:
127.0.0.1 - - [08/Mar/2011:18:26:34 -0500] "POST /z3950search.php HTTP/1.1" 200 1731 "http://localhost/z3950search.php" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [08/Mar/2011:18:26:37 -0500] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15"
127.0.0.1 - - [08/Mar/2011:18:26:38 -0500] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15" .....

View 2 Replies View Related

Ubuntu Servers :: Can't Access Apache - Any Server Over My Primary Ip Address / Do That?

May 17, 2010

I have no idea what is going on here and this is the second time it has done this but. I just installed Lucid Lynx Desktop Edition for my Server. I have installed apache php5 mysql binarys. I have 3 ips on the machine 10.0.1.30, 10.0.1.37, 10.0.1.38. .30 is the main ip 10/100 the rest are 10,100,1000 ports. I can only access Apache 2.2 over .37 or .38 but not .30

I have not used Ubuntu alot but I am starting to and this really pisses me off since all my computer have aliases to the machine through .30

View 5 Replies View Related

Ubuntu Servers :: HTTP Response Into Apache Access Logs

Jul 6, 2011

I am new to web server support. I have a request from my management to modify the logging slightly. Effectively I need to redirect a custom string from our http response into the apache access logs. When a user navigates to our site they receive a "dye" number that is associated with them. This number follows them to whatever cluster they are directed too. The string is formatted as such, com-company-dye: d0a2#6dfce. I need that that header dye to appear in the access logs so we can use that dye number as a key for troubleshooting issues though out our various monitoring systems.

View 3 Replies View Related

Ubuntu Servers :: Can See Samba FileServer Cannot Access Shares

Jun 27, 2010

I recently upgraded my ubuntu samba fileserver to 10.04 along with increasing the size of my RAID 1 /home directory.I am using the same smb.conf file setup I have used on intrepid ibis setup and hardy heron setup before that.On my new setup, I can see the ubuntu server on my windows 7 machines, but I can't see the shares and can't access them.In checking the logs (/var/log/samba), one log continues to look for a printer share from one Windows machine that I have not set up on samba yet.

I have found a few people who have reported similar problems online, even a few who have filed bugs, but then they say "my computer started working suddenly. I don't know what happened." so they closed the bug. or "my computer started working after I rebooted my machine." I have rebooted all machines on the network. That doesn't fix it.

View 1 Replies View Related

Ubuntu Servers :: Other Comps Can't Access Samba Shares

Nov 13, 2010

I can see mycomputer on the network, but not the share. Not sure what to do, why isn't the share available?

View 1 Replies View Related

Fedora Servers :: Samba Messages In Syslog - Allow Logging To The Standard Samba Logfiles

Mar 18, 2010

I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.

nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null

For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.

View 1 Replies View Related

Ubuntu Servers :: Apache Virtual Host To Access Internal Server?

Apr 20, 2010

I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.

View 3 Replies View Related

Ubuntu Servers :: Apache Setup For Hostname Access On Local Network

Apr 13, 2011

I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].

View 3 Replies View Related

Ubuntu Servers :: Apache Include Hostname In Access.log And Error.log File Names?

Feb 8, 2010

I am sure this information is out there somewhere, but Googling apache access.log and hostname does not give you any good leads... so I hope someone here might be able to provide me with a quick answer...I am setting up a cluster of web servers, so I would like to name the access.log and error.log with the hostname of the individual servers to be able to distinguish one from another.

View 4 Replies View Related







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