Red Hat / Fedora :: Windows Cannot Access Samba Directories?
Sep 12, 2010
I am trying to set up samba on my CentOS Linux 5.5 server, and I've gotten to the point where the Windows Sharing Center recognized the server, can even connect to it with credentials, but when I try to access a directory, I get this Message:Code: Windows cannot access \HOMEpublicCheck the spelling of the name. Otherwise, there might be a problem with your network. Try to identify and resolve network problems, click Diagnose. When I click diagnose, it does not fix the issue.This happens with any directory I create. I chmod the directories to 777, so I don't see the problem with permissions.
This is my config file. (smb.conf):
Code: # This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
I am trying to set up samba on my CentOS Linux 5.5 server, and I've gotten to the point where the Windows Sharing Center recognized the server, can even connect to it with credentials, but when I try to access a directory, I get this Message:
Code: Windows cannot access \HOMEpublic
Check the spelling of the name. Otherwise, there might be a problem with your network. Try to identify and resolve network problems, click Diagnose. When I click diagnose, it does not fix the issue.
This happens with any directory I create. I chmod the directories to 777, so I don't see the problem with permissions.
This is my config file. (smb.conf):
Code: # 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 (perhaps too # many!) most of which are not shown in this example
i set up samba and im trying to acces from windows xp. i can see the drive if i go to run and type the ip adress but when i click on the share i get an error that says "sharename" in this case "sam is not accessible" you might not have permission under this network resource. so how do i give myself permissions. I have followed several tutorials tried different types of set up , restart of samba and what not. but still nothing. I should mentioned that i have been at this for 3 days now and still cant get it to work. i have red hat linux 5.1 and window xp proffesional.
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.
I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:
[Code]....
At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:
[Code]...
how I can get the correct default permissions when users create directories through Windows?
I have a fileserver running openSUSE 11.2 and samba services for file access from MS Windows based workstations. My question relates to changing default permissions on files and directories created from the windows clients.
Following are extracts of the /etc/samba/smb.conf file :
Even with the above entries, sometimes there are files and directories created by the windows clients having permission
I have it set right now to be open so that there's no need to type in username and password information. It works great. I can type \*IP Address* on my WinXP laptop while on the network, and it brings me to the Public folder that I'm trying to share. But, when I click on the folder to open it up, it just sits there and eventually will give a userid/password prompt or will give me an access denied error.
So I finally managed to get my Samba file server working () but now I have a question. On the server I have 4 folders, each being used for a certain topic. How would I set the folders as read only but not the contents, so that way remote users can read/write to the folder but can't delete or rename the folder itself? Also, if I restart the Linux box it will cease to show on the Windows Network unless I delete the Samba share and remake.
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?
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.
My Fedora box is giving me an SELinux security error:
Code: Summary:
SELinux is preventing the samba daemon from reading users' home directories.
Detailed Description:
SELinux has denied the samba daemon access to users' home directories. Someone is attempting to access your home directories via your samba daemon. If you only setup samba to share non-home directories, this probably signals an intrusion attempt. For more information on SELinux integration with samba, look at the samba_selinux man page. (man samba_selinux)
Allowing Access: If you want samba to share home directories you need to turn on the samba_enable_home_dirs boolean: "setsebool -P samba_enable_home_dirs=1"
I installed samba (in Ubuntu 9.10) and I can access shared files in Ubuntu from Windows 7 but when I try to access W7 files from ubuntu: Places>Network, it prompts me Username,Domain, Password. I tried Username = W7 usernameDomain=my workgroup (MSHOME)Password=W7 login passwordbut it prompts me same thing again...checked some other related threads but couldn't get any luck.
I have just configured samba on suse linux. I can see it in the windows workgroup but i cannot access it. When it says the server is not accessible. You might not have permission to use this network resource.I have attached a copy of smb.conf
I am trying to connect to a Windows 7 PC through Samba, and while samba can find the Windows 7 PC, it cannot access it, asking for a username and password instead. However, I can access the another Windows XP share perfectly fine.
I had 10.04 set up in my computer so that I had two folders in home, they connected to folders in a windows 7 computer by adding the following to the fstab file:
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 have samba set up, and I can log in, etc. However, whenever I try to access a symbolic link, windows tells me that "windows cannot access [directory name]".
I have this under global, but it doesn't seem to help:
So I setup the newest Ubuntu on my old desktop on a 30g HD and have 2 200G HDs with a ntfs file system on those two. I got SSH and FTP configured, then went on to setup Samba.I have it (seemingly) set up well. /dev/sb1 gets mounted on /data1 /dev/sc1 gets mounted on /data2.I want anyone connected to my router to be able to see this machine and be able to read and write to both shares.
I configured WINS on my laptop to point to the linux box. and i've seen the pc in question (TECH-PC) in "My Network Places" on both of our laptops.Long story short, I try to connect to my network share and it says i don't have permission and i need to contact my network admin. This computer is the only one with Linux installed, the rest are windows-OS.Let me know if you need more info, pretty stumped here, have searched, read, scrapped my install and started from scratch, maybe i need to sleep on it
I've recently been experiencing an issue connecting to my Samba shares on a Ubuntu 10.4 server box on my network from a Windows 7 client. If I use Ubuntu 10.10 on the same machine, or a Windows XP Virtual Machine running under both Windows and Linux host the share works absolutely fine.
What happens is if I browse to the hostname or the IP address I see a login prompt (there is access control) but my username and password no longer work. Before I didn't need to login as they are the same as my windows credentials.
I'm not sure what information/logs etc would be most relevant so I've posted some information, if any more is required then let me know where to find it and I'm sure I'll be able to get it.
Here is the last few days of the log when I believe it was working, there are no entries since.
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.
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.
I'm a refugee from WindowsXP, running Fedora 14 with three user accountsMy problem is that I need the primary user (userd 500) to be able to have full access all other users' files in their home directories so that user can copy, move, delete, etc.I tried making that user a member of the other users' groups - but I still get the 'not got permission' error when I try to access their home directories
I have been having problems with Samba sharing from my Ubuntu-Server to all of my Windows 7 machines. All of the machines are able to access the samba shares however when i try to write to these shares i get a "Access Denied" error. This only happens under windows 7, my Ubuntu laptop easily writes to these shares. PS My permissions are read/write to all
So far I've been able to get Samba to connect to the my WORKGROUP and I can see my Vista PC as well as my 3 hdd's but when I try and open the folder, any folder, C$; D$; or E$ I'm confronted with a user name and
password prompt. No user name or password combination that's associated with either machine, openSUSE or Vista will grant me access. Why am I seeing this prompt and what I would really like to know is can it be
disabled all together? Otherwise, what user name and password does Suse want? Do I need to tell Suse in a terminal a user name and password?
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.
I'm running Ubuntu 9.10, and am getting the following error when I attempt to access the HADEN workgroup on my Windows network via Samba: Unable to mount location - Failed to retrieve share list from server. I ran the following command:
Code: peterv@MBP17U:~$ findsmb sh: /usr/bin/nmblookup: not found *=DMB +=LMB IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
[Code]...
On my Windows XP machine, I can see the Ubuntu directory and can access files on it. I just can't access the Windows workgroup from Ubuntu.