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


ADVERTISEMENT

CentOS 5 Networking :: Get Samba To Share Files From Ntfs Drive?

Jun 12, 2009

The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?

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

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

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

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

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

Server :: Common Share Drive In Samba?

Aug 13, 2011

I am using Cen OS 5. I have configured Samba server on it. I create a accounts suppose tom and 2nd is jarry in my samba server and map it in my windows xp computer as P drive (Private Drive) where the users can access their home directories. When tom tom enter into own account he can access his own home folder and same position with jarry. I want to create a common share drive using samba where all samba users can keep their data with their respective folders normally s drive i.e share drive. They can create file and folders and even all users can access the files of each others. Like tom can access jarry files and jarry can access tom files or folders to share their office work with each others.I want to know is it possible in samba to create a common share drive where all users share their files each others.

View 3 Replies View Related

Fedora Servers :: Samba Share On External USB Drive?

May 29, 2009

I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.

I also tried a symbolic link, no good.

Here is a screen shot
http://aivila.com/temp/screen.jpg
Here is my smb.conf file:
Code:
[home]
path = /home/savona
read only = no

[Code]...

View 12 Replies View Related

Ubuntu Networking :: Can't Share (samba) From NTFS Drive?

Sep 15, 2010

I managed to install samba and it's GUI. I tried to share a directory within the pictures folder (at home/mark/pictures/share) just as a test. I had everything set up right, but it was inaccessible from a windows XP machine on my network. After some digging I found the problem lay with the permissions of it's parent folder. I right clicked on the parent folder then clicked properties, then clicked on the permissions tab. I changed the permissions for others and it's working fine.

I'm having the same problem now but with a share on a NTFS drive called storage. I cannot change the permissions for the shared folder or any of it's parents by right clicking. Any changes I make revert immediately back to their previous setting. Is there any way to change the permissions to allow read access to everyone?

View 9 Replies View Related

Ubuntu Networking :: Samba Share : Get An Error Message "unable To Mount Location, Failed To Mount Windows Share"?

Jan 22, 2011

I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got

Firewall off (utf disabled)

Internal Sata /dev/sda1 (EXT4 FS)

External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)

I have two shares

1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.

2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.

View 4 Replies View Related

OpenSUSE Network :: Samba - Windows Share - SVN

Oct 10, 2010

System: openSUSE 11.3, Gnome

In the Windows network, there are 2 or more shares as follows:

I can access both shares in nautilus e.g. "smb://bla.bla.company.com/share $". The shares are mounted then in "home/user/.gvfs/". ok.

In one of shares, is a file-based repo, which I can access easily with svn.

Unfortunately when I try to checkout any normal folder from a share (as in MS$ with Tortoise), I fail...

What's more in the file-based repo, external references exist to other shares in the network, the name is as "file:///X:/folder/file.txt". SVN gives error messages about such references and does not access files (where "X:/" is also mounted, but as a "test$ to smb://bla.bla.company.com/test$" in "home/user/.gvfs/ ").

My questions:
- what is the best solution to mount shares, so I can access all the SVN repos?
- How can I access normal files and folders from a share with svn?
- How can the problem with external file references in a file-based SVN repo can be solved? without to checkout/commit files "manually"...
- Some checkouted scripts (Perl, etc.) use libs from shares:
"Use lib qw(r:/tools/perl/lib/). how to get around this as well?
- How can I change mount-names: "test$ on smb://bla.bla.company.com/test$" to something like "share-test$?
- How can I change the mount location? in "home/user/SAMBA/" instead of "/home/user/.gvfs/"..

I had tried to use "fuse-smb": installed, created config, but when I run "fusesmb /home/user/SHARES/", i get an error message: smb.conf is missing.. Where can I get this config?

And one last question: Can someone recommend me a svn-gui? i have tried tried rabbitcvs, esvn and some others .. but all either do not work or crash.

I'm not sure, but maybe I can use svn and tortoise in wine, and checkout/commit the necessary files from/to "home/user/project/"? there raises the questions whether it is possible to install tortoise in wine and how to mount the shares on the wine? How to manage the hard-coded lib-names in some scripts...

View 1 Replies View Related

Ubuntu :: Connecting To Samba Share From Windows XP In An AD?

Mar 5, 2010

I have an Ubuntu server with some shares and a Windows XP client in an active directory, i've created all the right accounts but can't seem to connect my linux box from the XP machine wouldn't the user name box popping up with ACTIVEDIRETORYNAMEusername like that? hope that makes sense, the account to access the share is locally created on the linux box?

View 4 Replies View Related

Ubuntu :: File Share With Windows Not Samba?

Jan 25, 2011

I had a connection to my other Windows computer the other day automatically in the Places-->Network-->Windows Network folder but it now seems to have disappeared. I tried going to Place connect to server and typing in the WIndows computer name but it won;t connect and errors out. I also tried the IP: Cannot display location "smb://%5C%5C192.168.1.36/"

View 1 Replies View Related

Red Hat / Fedora :: Mount Samba Share To Windows?

Aug 31, 2010

i hav configured samba share in RHEL 5.4 , it can be accessable from other linux machine but i want to access it from windows machine, how can i do it? i also want want to know that in RHEL my partitions are in ext3 format, so how can windows can detect this partition, Is samba share is independent of filesystem on either machines

case2:---
i hav configured samba on windows server 2008 , how can i mount it on linux machine

View 9 Replies View Related

General :: Can't Connect To Samba Share From Windows

Mar 9, 2011

I am setting up samba on my CentOS server for the first time. I am using webmin to configure samba. Here is the smb.conf

Code:

[global]
netbios name = KISKA
cups options = raw
load printers = yes
server string =

[code]...

I can see the domain name "KISKA" in the "network" tab of windows explorer, however when I click on it I get this error: Windows cannot access \KISKA check the spelling of the name. otherwise there might be a problem with your network. Under the details of this error I get this: "The network path was not found" Also I have stopped iptables so it cant be firewalled

View 5 Replies View Related

Ubuntu Networking :: Samba Can Share Mounted Thumb Drive But Can't Write?

Sep 6, 2010

so after searching and reading, and searching some more, im stuck. i cant seem to get a mounted thumb drive to give write access. first thing to know is that, im using a seagate dockstar with a primary thumb drive[sda1] booting debian and samba.

i guess you could say im still in the testing phase, just trying to make sure files can be shared, mounted and accessed by users. the problem is stated as the title. i have successfully shared a folder in sda1 with rw access, but i cant do the same for the second drive[sdb1].

for sda1 with rw access, here are the smb.conf settings:

Code:
[shared]
path = share
available = yes
valid users = mark

[Code]....

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

CentOS 5 Networking :: Can Use Samba Share But Cannot Mount It

May 27, 2010

I am trying to mount a file server directory on a client machine. I tried using NFS, but could not mount the share on the client. Several respobses were given to a post on this problem. but I still was not able mount the NFS share. I decided to try instead to mount the directory as a Samba share because I can already access it using Samba from windows, or from KDE or Gnome using smb://fileserver as a desktop location icon URL. When I try to mount the Samba share I get error messages that nearly identical those that occurred with NFS. . Here are some of the setup parameters

CentOS 5.4 on client and server behind a D-Link router
server IP: 192.168.0.44 (can ping it client)
client IP: 192.168.0.101 (can ping from server)

[code]....

This is the only error message that these commands have produced in the messages log, secure log or smbd log for either machine. My immediate goal is to set up the simplest possible local mount that will allow Grsync to backup to the file server.

View 4 Replies View Related

General :: Setup A Samba Share Between Windows Xp And U11 In A Vm Player?

May 31, 2011

I am trying to mount a shared folder from windows xp to my ubuntu vm. It is running in vm player.

I installed samba with sudo apt-get smbclient smbfs

Next, I run smbclient -L computer_name_here and get the error NT_STATUS_LOGON_FAILURE. What am I doing wrong? How can I solve this?

View 1 Replies View Related

Ubuntu :: Setup A SAMBA Network And Share To Windows 7 / OSX?

Feb 10, 2010

running a Ubuntu 8.10 Desktop in the living room with a LOT of files. I've tried all week to get this working, and can't tell where the problem is. I want to make a music share that will: Allow guests, but as read-only Allow me to mount in Windows 7 with the user 'thecheeks' Give user thecheeks read/write access to that share

I swear Samba ends up working but maybe the problem is with Windows 7. I looked at the SAMBAWiki Win 7 page and made sure my registry values were what they should have been (and they were).

View 1 Replies View Related

Ubuntu Networking :: Connecting Via Samba To Windows Share

May 6, 2010

I'm able to connect to a networked Windows machine and its shares using the Places -> Network -> Windows network interface, but unable to do so using smbclient at terminal command line. I can see the shares using:

smbclient -L //server -U username

But when issuing the command:

smbclient //server/service -U username

I get:

domain=[server] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

The share name has spaces, like

lab raid root share

I use 40 to fill in the spaces. This problem must be something fairly simple if I can connect via the Places GUI but not through the command line.

View 8 Replies View Related

Networking :: Can't Print From Windows 7 - Samba Printer Share

Aug 30, 2010

I'm giving up in ever hoping that I'll get printing working with windows 7 with the strange comments I've found on the net. Basically I have a samsung ML2240 printer shared on the network, everything can print to it fine except for my windows 7 laptop. It's shared via Samba.

Quote:

Once you have extracted the driver files, copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below:

[Windows 2000 and higher]
ps5ui.dll
pscript.hlp
pscript.ntf
pscript5.dll

However after checking this, I dont have the files named within int he correct folder on my windows system :

%WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers.I've tried installing the printer via the windows installer, however this adds the driver then tells me its not working and fails to print. I really dont know where to turn with this one. I've tried installing the samsung supplied drivers from the website. However they still fail to connect.

View 4 Replies View Related

Networking :: Samba And Windows: Cannot Open User Share

Nov 11, 2009

ubuntu 9.04 and win xppro i've been pounding my head aganst this for hours now. reading anything i can find samba works mostly shares created from nautilus work fine from both ubuntu and windows if i check to allow guest access if not i can not log in it does work in the nautilus browser fine. shouldn't make a difference but am using a virtualbox win xp guest shares work without issue. printers work here is a dump of my service defenitions

[global]
workgroup = HOME
server string = %h server (Samba, Ubuntu)
map to guest = Bad User

[code]....

View 4 Replies View Related

Networking :: Samba Displaying A Windows Share Incorrectly

May 3, 2011

I have a linux box that I'm using to mount a windows 7 share with samba or cifs. The mounting itself goes fine, but directories with more subdirs or files do not seem to have all the content they actually have.

For example, viewing my music folder shows only first 37 subdirs. The ls says "total 49", which is the correct amount, but the listing itself shows only 37 first in alphapetical order.

On the other hand, my wallpaper folder contains 122 files. Ls claims there is 41872 and displays only 70.

Adding the mount option noserverino increases the listed files or dirs, but it still does not show them all.

I've tried to enable debug printk level, but dmesg doesn't show anything interesting.

I've tried to change values in /proc/fs/cifs, but it does not seem to have any effect.

I've tried changing samba package. So far I've tested with 3.5.7, 3.5.2, 3.5.4 and now 3.5.8.

My distribution was yesterday slackware 13.1. Today I upgraded to 13.37 (with samba 3.5.8) but the problem persists.

I've tried with kernel versions 2.6.35.12, 2.6.38.2 and 2.6.37.6.

View 5 Replies View Related

General :: Samba Windows Share \ Made 2 Users?

Jan 9, 2011

want to made 2 users in samba by which windows machine we access share, say user1 has read,execute permission, user2 has read write delete update full permission. we have done user1 configuration as premia user. we need your guideline for user2

we change the smb.conf file
# less /etc/samba/smb.conf
[global]

[code]...

View 2 Replies View Related

Server :: Cannot Browse Samba Share Remotely From Windows 7

Feb 20, 2011

I wanted to setup a Samba share on a box running Ubuntu 10.4 and share it to Windows 7 computers throughout my house. When I browse the Network (thru Windows), I can see "Media Devices" that correspond with the locations of where I will put the media. The problem is that I have been unable to copy the media to the Ubuntu server because I cannot see the Ubuntu "computer" from Windows 'Network'.

All computers are on the same Workgroup

Running the following command line from Windows returns no errors and lists the samba share:

Using the testparm command on my smb.conf returns only one error (which previous googling seems to indicate is not an issue). The following is what was returned by the command:

Code:

View 3 Replies View Related

Server :: Can't Change Attributes From Windows On Samba Share

Mar 24, 2010

I need to allow my Windows users to be able to check off "Read-Only" or "Hidden" attributes on our Samba share. Currently its not allowing me to do so.

After searching online, I set the map readonly, hidden and archive option to "yes". Then my entire files were hidden.

I'm having a hard time understanding the concept of the "map" option in smb.conf

View 1 Replies View Related

Server :: Mount Samba Share On Windows Permanently?

Jul 7, 2010

Client OS :- Windows XP
Server OS :- Centos 5.4
Service :- samba or smb

Actually i want to take a back of windows xp's users data which on d: or etc and that backup i want to store in samba share which i made on my centos 5.4 . To do this we need to mount samba share as local drive then any script or any software can detect that share easily in that drive.

View 4 Replies View Related







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