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


ADVERTISEMENT

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

General :: Using Samba To Share A Folder From A Guest With A Windows Host In VirtualBox

Mar 15, 2011

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this using Samba, but I am a little bit lost and need more information on how to proceed.

So far, I managed to set up two network adapters (one NAT and one host-only) and to install Samba on the Linux guest, but I have the following questions now: What do I need to type in samba.conf to share a folder from the Linux guest? (the tutorial provided in one of the links above only explains how to share home directories) Are there any Samba commands that I need to run on the guest to enable sharing? How do I make sure that these folders are only available to the host OS and not on the Internet? Once the Linux guest is setup, how do I access each of the individual shared folders from the Windows host? I read that I need to mount a drive on Windows to do this, but do I use Samba logins, or Linux logins, also do I use localhost? or do I need to set up an IP for this?

View 1 Replies View Related

Ubuntu Servers :: Samba And Share A Folder An Sub Folders For Windows Users

Feb 19, 2010

I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.

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

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

General :: Windows 7 -Samba Share-Network Access Denied

Feb 8, 2010

I have set up RHEL 5 file server with Winbind and samba services running.I am able to assign and authenticate windows XP users against my RHEL 5 server.No issues.But one or two of my users are using Windows 7 Ultimate edition and they are not able to access my network samba shares.I can view the shares in windows 7 box but trying to access gives me "network access denied error".But i can access the same share in Windows xp machine for the above tested users.Working great but not in windows 7 box.I haven't tested with Vista OS yet.

View 2 Replies View Related

CentOS 5 Server :: Samba Share - Subfolders Users Access

Mar 4, 2010

I installed Samba on CentOS, create a principal share called "public" . I want to populate this share with subfolders, and to grant access rights to specific folders for specific users. The content of "public" will be visible for all Samba users, but they will have read/write access only to the specified subfolders based on my security policy. I need the best way for doing this kind of stuff...

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

Fedora :: Samba Sharing For F12 Folder Access In Windows

Mar 29, 2010

I want to share folder in fedora 12 so that any windows user can access my folder (without modifying its content) and there should be no password to be entered by the windows user. I tried samba gui but the folder does not open using windows.

View 3 Replies View Related

CentOS 5 :: Map Drive To Samba Share From Windows?

Apr 18, 2011

Below is my samba config. Is there anything that appears obviously wrong?

Why can't I map a drive?

from a windows 7 x64 workstation:

The network path was not found.

View 9 Replies View Related

Ubuntu Networking :: Samba - Access The Share On 300 Windows Machine - Systems At A Time

Mar 8, 2011

I have ubunto desktop 10.04 LTS I installed samba and able to access the share on windows machines. However i want to access the share on 300 windows machine(for example) systems at a time Is it possible.

View 5 Replies View Related

CentOS 5 Networking :: Windows Permissions On Samba Share?

Apr 30, 2009

I have set up a Samba share via my CentOS 5 server (the samba share is actually a mounted filesystem, not local machine space). I have been successful in adding permissions for my windows users within the smb.conf, but have an additional need that I cannot figure out. I would like for my Windows administrators to be able to create folders and assign permissions from their machines (and their Windows GUI). Ultimately I need the folders on the Samba share to behave correctly when Windows group permissions are applied by these administrators.

When the folders are created, the "Everyone" identity cannot be deleted and sometimes "Creator Owner" or "Creater Group" show up. I have seen several threads start down this path, but haven't seen a definite answer (I may have just missed it!).

View 1 Replies View Related

Ubuntu :: 10.10 On HPtx2000 - Use Samba To Access A Public Folder Of A Windows Computer?

Jan 20, 2011

I recently installed Ubuntu 10.10 on my sister's HPtx2000 since she isn't going to use it anymore and it worked better than I expect. The touchscreen works without any additional driver tweaking and installation <3, the wireless works fine, the sound works. I listed those because when i was installing, I was looking around at other people that did this and those were the problems they had (but those was of an old OS).

Well anyways, what I want to ask is about the stuff that doesn't work and the stuff I want to do: The buttons that flip the screen and etc doesn't work. Is there a way to map them and flip the orientation of the screen? And the other buttons too, like the media button. Is there a way to map them to open VLC or something? Does anyone know any tablet programs for Ubuntu? E.g a simple text program that can convert stuff written to neat, typed font? A way to write text into a google search bar using the stylus? And while we're on this, is there a way to map a left click on the touch screen?

In Windows, the left click could be mapped to: a). a side button of the pen, b) the top button of the pen, and c) holding the pen down onto the touchscreen. how to use Samba to access a public folder of a Windows computer? And to access the printer connect to the Windows computer? Some of the tutorials I found were only for folders and printers on the Ubuntu computer.

View 4 Replies View Related

Networking :: Share A Folder On Centos To Use Via Windows Clients

Mar 3, 2010

i have Centos 5.3 installed with TXT mode i want to create and share one folder to be accesible to me from the network, to download and share files into it with my Host, i created the folder but dont know how to share it,

View 6 Replies View Related

CentOS 5 Networking :: Samba Share Not Accessible From Windows Machine?

Feb 13, 2010

I have Linux installed on one machine with samba running and a second machine running XP. They are going through my router and I am using the same username/passwords for both machines and I have even gone to the point of allowing access to everyone for the share I created and the worgroup in samba is MSHOME just like my XP machine. When I view (or search) my workgroup computers my Linux machine shows up and so do the shares I created but when I try to open them I just get a message that permission is denied and I may not have permission to use this resource. I even tried setting access to the shared folder to 777 but still I can't open this share. Has anyone got any idea of why this is?

View 3 Replies View Related

CentOS 5 Server :: Openvpn Connect To Samba Share From Windows XP Client?

Sep 15, 2009

I'm trying to set up a VPN connection between our CentOS 5.3 server at work and my bosses XP computer at home. At this point, we are kinda locked into Quickbooks. I'm testing the connection from my XP boot at home to see if it works. I can log into our servicemanuals easily enough from XP at home however, the windows takes forever to update. I have the Samba server only listening on port 445 because is seems to work more efficiently at work. I connect to the Samba shares via linux from home and everything works well but, when I try to do anything with the shares from Windows client at home, it's very slow!

I'm thinking that it must have something either to do with the Windows OpenVPN client or the client.conf file. Is there anything I should look at in the .conf file for answers?

View 1 Replies View Related

CentOS 5 :: Windows XP And Windows 7 Cannot Access SAMBA Shares?

Jan 27, 2011

I have setup CentOS 5.5 with SAMBA 3, configured all my Unix users, Samba users and shares. My server hostname is REL3

[root@REL3 ~]# smbclient -L REL3
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]

[code]....

View 16 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 Servers :: Samba - Access Folder To Delete Or Restore From The Recycle Bin Folder

Apr 24, 2010

I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)

Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?

[Code]///

View 1 Replies View Related

Ubuntu :: Folder Permissions In A Samba Share?

Mar 22, 2010

i have an old desktop that i have decided to use as a central point for localhost/website files. I have 2 laptops, a ubuntu and vista, and i want them both to be able to see the public_html folder on my desktop, and be able to create/update folders and files.

I have set up the samba sharing and that's working fine, but when i create folders using my laptop, they are not writeable to the desktop or other laptop because my laptop is the creator. Is there a way that I can set it so that whenever folders/files are created from either laptop, they have full permissions?

View 2 Replies View Related

Fedora Networking :: Can't Share A Folder On Samba Network?

Jul 12, 2011

In this post I will give a quick solution for a possible problem with sharing a folder in Fedora 15.I had to spend some time for research and frustration so, hopefully this post will save you from both. If you have Samba installed and configured to share certain folders on your Fedora machine for a Windows network but, they can't be accessed then following might solve the problem:

1. Go to Applications, Other and run FIREWALL

a). go to TRUSTED SERVICES and check SAMBA and SAMBA CLIENT that are located in the list of services
b). click APPLY
c). go to ICMP FILTER and check ECHO REPLY (PONG) and ECHO REQUEST (PING)
c). click APPLY

[Code]...

If your Samba is configured correctly, your shared folder should be available on your Windows network.A little hint: if you don't want other users to use passwords for accessing your shared folder, select SHARE as an Authentication Mode in Samba GUI Configuration Tool, Preferences, Server Settings, Security

View 3 Replies View Related

Ubuntu Networking :: Getting Error When Try To Share A Folder Through Samba

Jan 12, 2011

I am getting this error when I try to share a folder through samba.

Error 255 cannot convert name "Everyone" to a SID

I do not have a file /etc/init.d/samba Has this been replaced by /etc/init.d/smbd ?

Also, I have a /var/lib/samba/usershares folder but it is empty. Is there supposed to be something inside?

View 4 Replies View Related

General :: Login - Samba: Share A Folder Using Account Username And Password?

Sep 7, 2011

I'm working on sharing a user's home folder using the username and password of the user's lLnux account. I noticed that home folder sharing is quite easy as I just need to change the smb.conf file to enable it. However I can't seem to login anyway. It seems that Samba keeps its own records of username and passwords. Is there a way that I can map/sync the Linux users' usernames and passwords automatically to Samba? The end result should be that whenever I add a new user or a user changes his/her Linux login password,Samba automatically changes its password as well.

View 1 Replies View Related

Ubuntu Networking :: Samba - Error - Get After Right Clicking And Going To Sharing - Share The Folder

Sep 4, 2010

I can't share my /var/www folder on this machine - it worked fine on my Desktop, it just asked me to install the samba windows something.

What's going wrong with this.

Here is the error I get after right clicking and going to sharing and trying to share the folder...

Code:

View 5 Replies View Related

Ubuntu Servers :: Disable Copy Paste In Samba Share Folder?

Feb 5, 2011

We have 10.x ubuntu server with XP clients. We have samba share folders at LAN. Is there any possibility that we can disable copy and paste option for some specific folders, while other data folders remain as usual in our shared data?

View 4 Replies View Related

Ubuntu Networking :: Mounting A Samba Share On Two Machines - Can't Place Anything Into The Folder

Apr 24, 2011

I'm having some trouble mounting a Samba share on my two Ubuntu machines. The Samba share is setup so that all files are readable and writable by everyone (it's only accessible via the local network). When I create a new folder on the share with either of my Ubuntu machines, the folder becomes non-writable by anyone ie. I can't place anything into the folder. I'm using the following command to mount the share:

[Code].....

I think the problem is with the way I'm mounting the share on my Ubuntu machines. If I go to the share using smb://192.168.1.160 in a file browser, I can create new folders which are readable and writable by everyone. But, if I create the new folder where it's mounted at /mnt/backup, no-one can modify or change it.

View 2 Replies View Related

General :: Share A Folder In Samba With No Need Of Password For Individual User Not Guest?

Jun 13, 2011

I would like to know how to share a folder in samba with no need of password for individual user without using guest

View 5 Replies View Related

General :: Httpd Virtual Host Set To Mount To Samba Share Folder?

Dec 23, 2010

The scenario like this. I'm working on Ubuntu 10.10. I've enable samba sharing with full guest access enable. In my office I had another server (CentOS 5.5) installed just for me and I've created a Apache VirtualHost which root document pointed to share folder on my comp

This is my fstab setting
//my ubuntu computer name/sharing/www /media/www cifs context=system_ubject_r:httpd_sys_content_t:s0,username=username,password=******,iocharset=utf8,fi le_mode=0777,dir_mode=0777 0 0

After label the mount folder as httpd_sys_content_t the Apache web server working in correct way (duno much but at least it can index files and excute some php code so) then the troll come in : if some file was created by my ubuntu (personal comp) then the file would be listed in Apache virtualhost correctly.

But if I'm ssh to CentOS server goto /media/www which was mounted to my unbuntu computer. Then type command like $mkdir something Suprising that folder ./something could not be accessed by Apache anymore except I remount by umount and mount it again or "setenforce 0" What is wrong with my system can anyone point me out of this headache

View 1 Replies View Related







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