Server :: Unable To Mount Samba Share

Nov 11, 2010

I've began to work on getting my access control, set up properly on my server, and want to create a "my documents" folder for each user I add. I do not want it being part of the home directory and have read everything and still can't seem to get it to work. I've got a second drive that is mounted at /private on my server, with a folder that is underlying on it call users and groups. Then from there is has the exact unix username that I set up in Users and Groups. Ex. /private/user/gary . With Samba, I added the following code:

Code:

[My Documents]
guest ok = no
comment = %u's Documents

[code]....

I've tried using %u,%U,%S, and the normal username and of all of them, it will only work with the username. I've even used force user. added root to the valid users list and it still gives me access denied or the multiple connections to a single share with multiple user names prohibited but nothing is mounted on this share. On Webmin, it doesn't show any connections to the share. I'm rather at a stumped state in which is frustrating me, because I want to have this so when I go from my desktop to my laptop I have "My Documents" On either unit. Security on the server is set to User because I've searched to see if I can't find a way to make shares visible by a guest but read only to them and when I access them from my log in to make it read write using the "Share" option.

View 9 Replies


ADVERTISEMENT

Server :: Unable To Permanently Mount Samba Share

Nov 13, 2010

my samba server is working properly but i want to mount it permanently on linux (red hat) client.i have tried /etc/fstab and also autofs service but both are not working for me.

1. /etc/fstab i made the following entry in it //192.168.0.254/myshare /temp smbfs credentials=/root/pass 0 0 and when i use comman mount -a it shows "unknown filesystem smbfs" why this is so?

2. using autofs

my auto.master file is shown below

#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file

[code]....

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

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

Ubuntu Networking :: 10.04 Unable To Mount Samba Version 3 Share?

Aug 3, 2010

I've just loaded a laptop with Ubuntu 10.04, and I am unable to mount a samba share from an older Red Hat server. The problem first occurred when I tried using "Places -> Network" or "Places -> Connect to server", and the server's log gives me something like this

[2010/08/03 15:40:38, 1] auth/auth_server.c:check_smbserver_security(363)
password server 10.100.1.2 rejected the password: NT_STATUS_LOGON_FAILURE
[2010/08/03 15:40:38, 2] auth/auth.c:check_ntlm_password(319)

[code]....

View 2 Replies View Related

General :: Unable To Mount Samba Share, DBus Error

Apr 14, 2010

Today when I try to mount a samba drive on my Ubuntu 10.04 server, which worked before, I now get the error message below:

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

Any ideas is much appreciate.

View 1 Replies View Related

Server :: Mount A Win-share On Debian Using SAMBA?

Jan 6, 2010

"My network" is behind a firewall inside a larger windows network with AD. My network has a Debian Server with samba 3.2 running. There are 50 users on my server. Users has accounts on the win-server, but is only using this to read mail. How do I mount a windows share on my Debian server in a way that all my users can read and write there?

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

Server :: Samba Share With AD2008 Unable To Write

Jun 29, 2010

I can map the share just fine, but cannot write, regardless of how open I make the permissions of the Samba share.

Share from testparm:

[student]
comment = Test share
path = /home/share/students
valid users = @students
admin users = DSSJCAdministrator
write list = @students
read only = No
create mask = 0770
force create mode = 0770
directory mask = 02770
force directory mode = 02770
directory security mask = 0775
guest ok = Yes

getfacl:

getfacl /home/share/students/
getfacl: Removing leading '/' from absolute path names
# file: home/share/students/
# owner: root
# group: students
user::rwx
group::rwx
group:students:rwx
mask::rwx
other::rwx

AD auth works fine with winbind, getent/wbinfo returns properly enumerated groups.

Unfortunately, the logs say:

[2010/06/29 11:17:32, 2] smbd/open.c:2447(open_directory)
open_directory: unable to create New folder. Error was NT_STATUS_ACCESS_DENIED

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

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

Software :: Unable To Connect To Samba Share (XP Client, RHES5 Server)

Nov 19, 2008

OS:
Red Hat ES 5.2

Kernel:
2.6.18-92.1.18.el5

Samba version:
[root@intranet samba]# rpm -qa |grep samba
system-config-samba-1.2.39-1.el5
samba-common-3.0.28-1.el5_2.1
samba-client-3.0.28-1.el5_2.1
samba-3.0.28-1.el5_2.1

When I try to connect to the share from my XP machine, I get a "network path cannot be found" error message.

Below is the entry in /var/log/samba/samba.log

[2008/11/19 11:57:51, 0] smbd/service.c:make_connection_snum(1003)
'/server2/test' does not exist or permission denied when connecting to [server2] Error was Permission denied

Here is my smb.conf file:

[global]
# Server name
server string = Intranet Server (Primary)

# These are the default password settings.
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd

# Define NT domain/workgroup name.
workgroup = intranet

# Security mode. (See SAMBA documentation for details.)
; security = user

# Restrict conections to specific IP addresses.
hosts allow = all

# The %m variable sets a separate log file for each
# connecting machine.
# log file = /var/log/samba-log.%m
# Keep it basic - one file!
log file = /var/log/samba/samba.log

# The number of minutes inactivity before a connection is
# disconnected. (This disconnection should be transparent to most
# clients, which an have auto-reconnect feature. Removing inactive
# connections is to preserve the server's resources.)
deadtime = 10

# These socket options are suggested in the default smb.conf file.
# Who am I to disagree?
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Define both Ethernet interfaces. (Otherwise, I suspect only one
# will be configured??)
interfaces = eth0 eth1
username map = /etc/samba/smbusers
; guest ok = no
; guest account = nobody


[server2]
comment = server2
path = /server2/test
write list = @intranet
force create mode = 775
force directory mode = 2775
writeable = yes
; browseable = yes
valid users = intranet

/server2 and /server2/test are owned by user intranet and both directories have permissions set to 777.

Has anyone come across this problem in the past?

View 3 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

General :: Unable To Mount Windows Server 2008 Share?

Aug 22, 2010

I am trying to mount a shared drive on a Windows Server 2008 machine using a Linux machine (Fedora 13). I try mounting by

# mount //HOSTNAME/SHARENAME /mnt/FOLDER

and I get mount error(13): Permission denied.

I have tried other options like # mount -t nfs //HOSTNAME/SHARENAME /mnt/FOLDER -o username=USERNAME and the same thing with different filesystem types (ntfs, smbfs, cifs).

I have:

checked all firewall configurations.
verified security/sharing settings
for the drive
verified registry keys under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNfsSvrParameters
verified NFS server is running

I am familiar with Windows Server 2008 but I have never configured a system from scratch on my own. The computer I'm using used to have Windows 7 for sharing folders to a Linux server. I have just switched to Server 2008 and have not been able to mount anymore.

One thing that I think is that I tried setting up an identity mapping solution; however, I do not have a domain controller setup. I am still functioning on a workgroup.

View 1 Replies View Related

Ubuntu :: Unable To Mount Location: Failed To Retrieve Share List From Server

Mar 19, 2010

I am running Ubuntu 9.10 on VMware Player and wish to access my Windows files inside Ubuntu. When I go to Place -> Network there exists a folder called Windows Network. When I try to open it I get the message: Unable to mount location: Failed to retrieve share list from server

View 1 Replies View Related

Ubuntu :: Unable To Mount Location; Failed To Retrieve Share List From Server

Oct 18, 2010

My network was running happily with no problems. After clicking "Places," then "Network," I double-clicked "Windows Network." My wife's laptop appeared merrily ready to be clicked. I browsed through and accessed the "Public" folder. Ubuntu auto-mounted the "Public" folder on the Windows Vista machine to the desktop. All was well.

I wanted to change the icon to a disk so it would mimic a "mapped" drive like in Windows. I right-clicked the shared folder mounted on the desktop, clicked "Properties," and then clicked the picture of the folder. I then clicked through to "/usr/share/icons/Human/scalable/devices" and selected the "drive-harddisk.svg" icon. The icon changed and I could still browse. I unmounted and re-mounted the folder with no problems, then changed back the disk to the regular folder icon.

After restarting the computer, if I click "Places," then "Network," then double-click "Windows Network," I'm greeted with the following error message:

Unable to mount location. Failed to retrieve share list from server.

WORKAROUND: Opening Firefox and typing smb://IP-of-wife's-laptop shows the share list. I can open and access the "Public" folder no problem.

View 1 Replies View Related

Fedora Networking :: Unable To Mount Location - Failed To Retrieve Share List From Server

Aug 20, 2009

My network has several machines on it. They are all connected to a single router. Two of the machines are running Windows Vista, one Windows XP and one Fedora 11. When I go to places.network, I see an icon that says Windows Network. If I click on it, I get the message: Unable to mount location, Failed to retrieve share list from server. When I had Ubuntu running on this machine, I had no problem seeing and connecting to the Windows Vista machine.

View 11 Replies View Related

Ubuntu Networking :: Unable To Mount Location; Failed To Retrieve Share List From Server

Oct 18, 2010

My network was running happily with no problems. After clicking "Places," then "Network," I double-clicked "Windows Network." My wife's laptop appeared merrily ready to be clicked. I browsed through and accessed the "Public" folder. Ubuntu auto-mounted the "Public" folder on the Windows Vista machine to the desktop.

THE REASON:I wanted to change the icon to a disk so it would mimic a "mapped" drive like in Windows. I right-clicked the shared folder mounted on the desktop, clicked "Properties," and then clicked the picture of the folder. I then clicked through to "/usr/share/icons/Human/scalable/devices" and selected the "drive-harddisk.svg" icon. The icon changed and I could still browse. I unmounted and re-mounted the folder with no problems, then changed back the disk to the regular folder icon.

THE PROBLEM: After restarting the computer, if I click "Places," then "Network," then double-click "Windows Network," I'm greeted with the following error message: Unable to mount location. Failed to retrieve share list from server.

WORKAROUND: Opening Firefox and typing smb://IP-of-wife's-laptop shows the share list. I can open and access the "Public" folder no problem.

View 3 Replies View Related

Ubuntu Networking :: Unable To Mount Location - Failed To Retrieve Share List From Server

Sep 1, 2011

It seems this is a common problem. I used Samba to configure and connect the computer running Ubuntu 11.04 with my Windows Visa workgroup. This is a wired, not wireless, connection.

In Ubuntu, under Network, I can see the name of the other computer (NOVA_MORAI), but when I click, I get the error:

Unable to mount location - Failed to retrieve share list from server

I tried the nmblookup command, here is the output:

eleos@Planet-Morai:~$ nmblookup NOVA_MORAI
querying NOVA_MORAI on 192.168.1.255
192.168.1.2 NOVA_MORAI<00>
And:
eleos@Planet-Morai:~$ nmblookup -A 192.168.1.2

[Code]....

There it it. But when I try the findsmb command, it does not show up.

The error message seems common, but I have been trying solutions all day, and I am still not getting a connection.

View 4 Replies View Related

Ubuntu :: Buffalo NAS - Unable To Mount Location - Failed To Retrieve Share List From Server

Mar 20, 2011

I have a Buffalo Link Station NAS. I can connect to the NAS via my browser and set up users and groups, but I can't get contact through Network.

If I open Shortcuts and select a folder, the Network icon shows in the left pane. Clicking Network opens the folder and Windows Network icon shows.

When I click on the icon, eventually, this message appears - Unable to mount location- Failed to retrieve share list from server

I did have this unit working some time ago under Ubuntu, and then we changed IP to Virgin and have a new cable router.

View 1 Replies View Related

Fedora Networking :: Connecting To NAS - Message - Unable To Mount Location - Failed To Retrieve Share List From Server

Jul 3, 2009

I'm having trouble connecting to my freenas server.

It's part of my windows network and when I try to connect to it,I get this message: Unable to mount location,Failed to retrieve share list from server.

Is there something I need to enable on the server or my OS(CIFS or something)?

View 1 Replies View Related

Ubuntu :: How To Mount A Samba Share

Dec 11, 2010

I need to mount two Samba shares from my Ubuntu Server to my Desktop they are:

[shared]
path = /media/share
read only = no
guest ok = yes
[www]
path = /var/www
read only = no

I made two directories in my home folder on the desktop called share and www how do I mount these now? I have to use the terminal btw.

If I run the command: smbclient -L //192.168.10.101 which is the IP of my server it works.

View 1 Replies View Related

Networking :: Share A NFS Mount With Samba?

Apr 21, 2010

Can I share an NFS mount with samba?

Scenario:

ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs

I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).

I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)

I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.

I have disabled oplocks in samba and the problem still persists.

View 1 Replies View Related

Ubuntu Networking :: Unable To Mount Location / Failed To Mount Windows Share

Jul 26, 2010

I have a Dell Inspiron 1720 running Ubuntu v10.04 with a wireless card.My desktop is a Dell Optiflex running WinXP.The desktop is connected via ethernet cable to a Linksys wireless router. Certain folders on the desktop are set for sharing. Up until early last week I was able to access the desktop folders from the laptop with no issues.Suddenly I am now getting this error "Unable to mount location Failed to mount Windows share" whenever I try to access the desktop folders from the laptop.I suspect an upgrade is the culprit, but not sure.

View 3 Replies View Related

Networking :: Unable To Mount Location: Failed To Mount Windows Share

Mar 21, 2010

i'm trying to connect to the three other machines in my house but am having quite a hard time doing so. i've never had a problem in the past with ubuntu, but, with 9.1 and windows 7, things have gotten a bit harder. i'm running 9.1 and my roommates are running windows 7. i've installed, set up and configured samba and i can see the computers on my network, but any time i try to access either of the drives, it says unable to mount location: failed to mount windows share.

View 4 Replies View Related

Ubuntu :: Mount A Samba Share Form Another Pc?

Feb 8, 2010

I want to mount a samba share form another Ubuntu pc.

With nautilus I can do: smb://xxxxxxx;username@192.168.1.12/sharedfolder/ And i can browse the shared folder without problem

but I want to mount it. I have tried:

Code:
user@compu:~$ sudo mount -t smbfs //192.168.1.12/sharedfolder /mnt/folder -o username=username
mount: wrong fs type, bad option, bad superblock on //192.168.1.64/esco3,
missing codepage or helper program, or other error

[Code].....

Im aware I'm not passing the password and I was hoping it would ask me. Also I'd like to store all that info in my computer and try to auto mount the shared every time i use the pc.

View 3 Replies View Related

Ubuntu :: Auto Mount A NAS Samba Share

Jan 13, 2011

One problem I'm having is with getting some apps to access NAS hosted files and folder over samba. Two examples are photo managment apps and backup apps, which seem to only want to work with local files and folders.I have come across a number of articles about cifs, autofs, gigolo, fstub, etc (including the autofs community documentation). But so far I've had no luck in auto mounting a samba shared resource as local.

Can anyone point me to a definitive tutorial, or provide an explanation on how I might accomplish auto mounting samba shares?

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

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

Ubuntu :: Samba Share Mounting - From 'mount' To Fstab

Mar 21, 2010

I have a command line that mounts the disk of my mobile

Code:

It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.

Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.

View 7 Replies View Related







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