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


ADVERTISEMENT

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

Fedora Servers :: Connect To Samba Server ( Share ) From Windows Xp?

Mar 31, 2009

if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:

Quote:

[root@********* samba]# rpm -qa |grep samba
samba-common-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
samba-winbind-3.2.8-0.27.fc10.i386

after that, i've configured the smb.conf file, as follows:

Quote:

[root@*********** samba]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
workgroup = GROUP

[code]....

there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.

View 14 Replies View Related

Ubuntu Servers :: Get A Samba Server Up And Running To Share With Windows Machines?

Oct 14, 2010

i manged to get a samba server up and running to share with my windows machines. But i still want more. My main goal is to be able to share my movies. I have a laptop hooked to my flat screen with 3TB's of external drives, thats whats acting as my server. I have ubuntu desktop installed because i use it to play movies also.

I'm looking to set up something that is a little faster than samba (yes i no trying to share through USB 2.0 external drives and a wifi connection isn't going to be real fast no matter what) but i want to be able to access my server remotely. like maybe FTP? but what i'm asking here is what protocol should i use and what programs? i was thinking gadmin-proftpd and then filezilla to access?

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

General :: Samba Does Not Keep Windows Attributes (read Only Files As Read Only For Example)?

Jul 16, 2011

I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:

[global]
workgroup = DOMAIN
server string = File Server

[code]...

View 3 Replies View Related

Security :: Unable To Use Windows To Change The Security Of The Samba Share?

Mar 19, 2010

I've got a samba share on a linux server, connecting to it with a windows 2k3 server via tools > map network drive. The goal is to be able to use windows to change the security of the samba share. The good news is it works! The bad news is it's not QUITE perfect:

The share is called /company. I started with the following to give everyone access to everything, set the owner of the share to administrator (my domain admin on the Windows domain), and set the group owner to domain users (group that everyone on the domain is part of):

Code:
chmod -R 777 /company
chown -R administrator /company
chgrp -R domain users /company

I then mapped the drive as a regular user, and of course, can access/modify/delete/rename/create anything I want. Then I picked a folder to lock down. Let's call it /company/myFolder. I did this on the Windows server by mapping the drive as administrator (the owner), right click > properties > security tab > advanced > highlight "domain users" and "everyone" and click edit > clear all (i.e. remove all access). Go back to Linux and

[Code]..

The only issue that remains is that I am able to rename/delete "myFolder" as a regular user. I thought this was coming from the "acl map full control = true" parameter in smb.conf, but I changed it to false and verified the change and it still happens. If I remove group and world write access to /company, I am no longer allowed to rename/delete myFolder, but then I can't create a new folder. If I add group write access back in I can create files but can also rename/delete folders within /company that have --- specified for group access. Any ideas what I need to tweak to make this right?

View 1 Replies View Related

Server :: Replace Windows AD With SAMBA - Restrict Clients Not To Change IP

Feb 14, 2011

I want to replace Windows AD with SAMBA I want to know what policies restrictions I can get in SAMBA as compared to windows AD - whether it is possible to restrict clients not to change IP, access cdrom or control panel.

View 1 Replies View Related

Server :: Samba Openldap PDC Cannot Change Password From Windows XP Client

Jul 24, 2010

I finished setup Samba PDC with Openldap backend. I can joint Winxp client to domain but can not change pass by press Ctrl + Alt + Delete and choose Change password button

This is my conf.
I used
samba3x-3.3.8
openldap 2.3.43
slapd.access.conf

Code:
access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword
by dn="cn=Manager,dc=microhdesk,dc=net" write
by anonymous auth
by self write
by * none

[Code]....

View 1 Replies View Related

CentOS 5 :: Windows Users Cannot Change Password On PDC Samba Server?

Sep 3, 2009

I'm using on my smb.conf

# Sincronizacion de cuentas LDAP, NT y LM
# unix password sync = Yes
ldap passwd sync = Yes

[code]....

View 2 Replies View Related

Networking :: Change The Win Net Bios Name Of Opensuse Samba Share?

Sep 20, 2010

I have an openSUSE 11.1 (64 bit ) machine file sharing with samba in a mixed os enviroment [ linux , winxp , mac ]and the share appears in network nghborhood on pcs ok , and the sharing is ok .But-- ther is 1 matter that i would like to change.in network neighborhood the machine name appears asSamba 3.2.7-11.7.1-2373-SUSE-CODE11 (NameMyMachine)the NameMyMachine is just fine but the 1st part --Samba 3.2.7-11.7.1-2373-SUSE-

View 3 Replies View Related

OpenSUSE :: Get A Script Or App That Go Through The Samba Share Recursively And Change All File Names?

Apr 5, 2011

I have a samba share that was previously hosted by and accessed by Windows operating systems. As a result the filenames of all the files are not very command-line/linux friendly. I need to get a script or app that can go through the samba share recursively and change all file names to lowercase and replace spaces in the names with a ".", "_" or something.

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

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 Multimedia :: Can't Change Any Of File Attributes

Oct 23, 2010

I need your assistance before I start reloading software.I have a MP3 player which is owned by Root. I have tried the following:

- in terminal - chown as both my usual log-in and root...operation not permitted I ran chown as both su, root, and myself
- In Nautilus - I can't change any of the file attributes..again opening it as any of the users above.
I used to be able to copy files over to the MP3 player but not the Sandisk..but not I can't copy or do anything to the files on both.

View 1 Replies View Related

CentOS 5 Server :: Samba-3.0.33 - Cannot Change Computer Names In A Samba Domain?

Oct 8, 2009

I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:

===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)

[code]....

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







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