Ubuntu Networking :: Deleting Files Off A Samba Share From A Windows Box?

May 17, 2011

I'm trying to make my music directory, located on my Ubuntu box, available to all the windows clients (Windows 7, to be specific) located around the apartment. It seems to work fine, I can see and read from the shares from my windows box, but deleting files doesn't work, I just get a permission denied.I've tried being as lenient as I can in the smb.conf, as well as setting 777 on the affected files, nothing changes. I've read, from my various googling, that the octal file permissions aren't as important as the samba permissions. Okay fine, but how do I tell samba to ignore permissions and let everyone delete files? I've read that samba works with samba users, but again, I don't care about users, I just want a global share that anyone can connect to and read (and delete) files.

Here's my smb.conf file: http:[url]...As you can see, I've played around a bit with options, but I just can't seem to get anything to work.

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: Samba - Share Files From Windows Machine

Jun 6, 2010

I am trying to see share files on my windows machine to my linux machine. I would like an answer to how to fix the problem. This is where i am at i am using my own network to learn who to use nmap properly. I ping my whole network with nmap -sS -O. Then i used nmblookup -a which gave me the infromation i needed. Then i run smbclient -L computername -I ip address -N

This will not show me the windows os this only show me my laptop. What can i change for this to show me the other computer on this network. The port i am wanting is open. I want to be able to mount the share files and move them to my computer i am going to use the commands put and get to move the files when i am able to get to the smb: >

[Code]...

View 6 Replies View Related

Ubuntu :: Deleting Files On A Windows Share

Mar 17, 2010

I am connecting to a Windows 2003 server share from my Ubuntu 9.10 machine. This is not a problem & deleting normal files is fine. What I am actually trying to do is remove a virus from this server. If I have AV software running on the server it is constantly picking up the virus & eventually this kills the server. The AV software is unable to remove the virus on the server, but is able to on desktop machines.Anyway, I thought use Linux to do the job & get the AV software back on the server. No go. I get a permission denied error when trying to remove the files with rm -f "filename"Is there anyway around this? I am reluctant to start the server with the Ubuntu live CD as it is in use as a file server. If I could remove the files manually this would be good.

View 9 Replies View Related

Ubuntu Networking :: Static IP Address To Share Files With Windows Using Samba?

Aug 30, 2010

I seem to remember I could just use DHCP given addresses when sharing from Windows to Windows, and they'd keep sharing even when the IPs changed.

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

Ubuntu Networking :: Create A Samba Share To See It On Windows Computer But Have Had Nothing?

Aug 6, 2010

I am trying to create a Samba share on Ubuntu so that I can see it on my Windows computer but have had nothing but trouble. I've tried everything that I could find in Google but the best I can get is that my Ubuntu computer shows up as Unknown device on my Windows computer. Unfortunately, my Windows computer belongs to my company or I would just switch to Ubuntu altogether. I have posted a couple of screenshots of what I see in Windows, my GParted partitions, and the options that I have enabled for the folder I am trying to share. Below are my fstab and my samba files from Ubuntu. I am sure that this is just some rookie mistake as I am new to Ubuntu. It certainly seems that this should be easy, but I just can't get it.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

[code]...

View 8 Replies View Related

Networking :: Unable To Share Files In SUSE 11.3 + Samba

Dec 10, 2010

My server info:
SUSE 11.3 , authenticated against LDAP, I am able to log in using LDAP credentials.
I did run smbpasswd -w password

After I configured the smb.conf file, I try to do this on the Terminal to make sure it will work in Windows machines but I got this error:

user@mybox:~> smbclient -L mybox.mydomain.com
Enter user's password: (I enter the user password here)
Connection to mybox.mydomain.com failed (Error NT_STATUS_CONNECTION_REFUSED)

so I went to /var/log/samba.log to check the error file, I got this :

Connection to LDAP server failed for the 1 try!
[2010/12/10 18:08:50.919813, 1] lib/smbldap.c:1330(another_ldap_try)
Connection to LDAP server failed for the 2 try!
[2010/12/10 18:08:52.133624, 1] lib/smbldap.c:1330(another_ldap_try)
Connection to LDAP server failed for the 3 try!

and it kept going on and on until I stop it.

Here is my smb.conf file, please take a look to see what I've done wrong here. I tried to to take out WORKGROUP in GLOBAL but there were error like " Work group name x.x.x.com is too long, so I put in WORKGROUP = etc.

[global]
workgroup = mybox
passdb backend = ldapsam:ldap://ldap.my domain.com:11389/
ldap suffix = dc=my domain,dc=com
name resolve order = wins bcast hosts
ldap machine suffix = ou=Computers
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap admin dn = "cn=sambaLabs2,ou=roles,dc=domain name,dc=com"
ldap ssl = start tls
server string = "my File Server"
security = user
log file = /var/log/samba.log
log level = 1
Max log size = 50
wins support = yes
wins server = my wins servers here
winbind enum users = no
winbind enum groups = no
unix extensions = no
wide links = yes
hosts deny = ALL
hosts allow = 192.168.
interfaces = lo eth0
bind interfaces only = true
browseable = No
read only = No
usershare allow guests = No

load printers = yes
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User


[homes]
comment = home directories
browseable = No
valid users = %S
read only = No
writable = yes
create mask = 0660
directory mask = 0770
inherit acls = Yes
inherit permissions = yes


[sharefolder]
path = /sharefolder
valid users = @users,%S
inherit acls = Yes
inherit permissions = yes

[printers]
path = /var/spool/samba
browsable = no
public = yes


[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browsable = yes
guest ok = no
read only = yes
write list = root
force group = ntadmin
create mask = 0664
directory mask = 0775


Thank you in advance.

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

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 Networking :: Windows PC Doesn't See Samba Share But Can Connect Manually

Aug 29, 2010

I'm running Lucid and and trying to get Samba set up to allow sharing files on my network. My problem is that my Windows laptop (Win7) can't see the Linux PC when I click on Network. It only shows my own laptop and my roommate's Vista laptop. However, if I manually connect to the computer (\serenity) it works just fine.

Right now I'm simply using the smb.conf that comes with the package and adding my share info.

The relevant section is:

Code:

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

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

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

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

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

Networking :: MS Office Files Open In Read Only Mode From Samba Share?

May 17, 2011

I can not edit my own .ppt file from samba share. Current desktop OS is windows 7. Samba server having RHEL 5 with following samba packages installed.

Code:
libsmbclient0-3.5.6-43.el5
pam_smb-1.1.7-7.2.1
pam_smb-1.1.7-7.2.1
I can able to edit and save the file if I copy this file from samba to local system. But from Samba share it open in read only mode.

View 7 Replies View Related

Networking :: Configure Nfs Mount Disk To Samba Share For Windows Client ?

Nov 8, 2010

I am not able to configure nfs mounted disk for shareing samba. i have a server X. which configure samba for windows XP client this is done. now i have export X server samba share disk to mount Y server using nfs. this is mount and ok. but i don't share this disk using Y server samba configure.

View 2 Replies View Related

Ubuntu Networking :: Getting Windows 7, XP - To Share Files

Sep 22, 2010

Recently, I've again been trying to get file sharing working on my home network. I made some progress last night, getting so far as having all the shares on my Windows XP desktop visible to a netbook running Ubuntu 10.04 & connected wirelessly. But I ran into some snags.

Here's what I'm working with:

-a desktop running Windows 7 Ultimate
-a desktop which dual boots Ubuntu 9.10 64-bit and Windows XP Pro SP3
-a netbook which dual boots Ubuntu Netbook Remix 9.10 and Ubuntu 10.04.

Everything connects wired except the netbook, which connects wirelessly. The router assigns each a specific internal IP address, so in effect all have static internal IP addresses, tied to the MAC addresses of their network adapters.

I have Samba Server Configuration Tool installed on both the desktop (Ubuntu 9.10) and netbook (Ubuntu 10.04). Versions are 1.2.63 in both Ubuntu 9.10 and 10.04.

Here's as far as I got last night:

-Shares on the Windows XP machine were accessible from both the Windows 7 machine and Ubuntu 10.04 on the netbook, with no password required.

-I configured Samba on both machines to be part of the same workgroup (named PENGUIN) as the Windows 7 machine and the desktop when it's running Windows XP.

-I set up a share in Samba on the netbook while running Ubuntu 10.04. The share is visible on the network from the Windows 7 machine, but I couldn't access it. I was asked for a username and login. I had no idea which one to use, but no combination I tried worked. Windows kept saying it couldn't find a "path" to the share.

-In the Nautilus "network" item on the netbook, I can see the shares on my Ubuntu 9.10 desktop. But I can't access them. Again, I get asked for a username and password, and I have no idea what to enter, or where the username and password can be set.

-I set up a share on the Windows 7 machine, allowing read-only access to everyone. But it doesn't show up on either of the Ubuntu machines, at all, in the "Penguin" workgroup. So I'm not sure how to proceed.

Do I need to explicitly configure the IPv4 settings on each machine to a static internal IP? As I stated, each machine gets a predictable address assigned by the router, so in effect the machines do have static IP addresses. However, I'm not sure that's all the same to Samba.

View 6 Replies View Related

Ubuntu Networking :: Accessing Files From A Windows Share Within Applications

Dec 7, 2010

I cannot access figure out how to access files stored on a windows share within an application. I can access files on a windows share from places>network but if I am trying to access files from say audacitcy or gtkpod by means of file>open when the application brings up the "places" dialog there is no network Icon to choose from.

View 7 Replies View Related

Ubuntu Networking :: Way To Quickly Share Files With Windows Clients On The LAN

Dec 13, 2010

Here I am editing /etc/samba/smb.conf and trying to remember what I should chmod the directory and the files to, then I think to myself there's probably an easier way. That way should be clear to the user.

There's dropbox and Ubuntu one but these are something slightly different, these sorts of things involving a cloud service or something needing to download to Windows clients, which is not what we want if we don't have an internet connection. So, is there a better way? Something to aide making smb.conf and permissions perhaps?

View 1 Replies View Related

Networking :: Share Files Between Windows XP Machine And Ubuntu Server

Dec 9, 2010

I am trying to share files between my Windows XP machine and ubuntu server. I set up and configured samba following the instructions in the Online Ubuntu Server Guide. [URL] This is the abbreviated version of my smb.conf file here.

[global]
workgroup = HOME
server string = %h server
interfaces = 127.0.0.0/8, 192.168.1.101/24
# map to guest = Bad User

[code]....

View 15 Replies View Related

Fedora Networking :: Network Share Files With Windows ?

Sep 1, 2011

I am trying to both access files shared by Windows machines on my network, and I also want to share files on my Fedora 15 box. In Nautilus, if I choose the 'Browse Network' option on the left toolbar, I am shown a Windows Network icon. If I try to double click this, I am given an "Unable to mount location" error. Does anyone know why this is and how to fix it? Further, where is the GNOME 3 option to right click and choose to share a folder? Both KDE 4.5/4.6 and older versions of GNOME (at least on Ubuntu) had this. Is there a way to share files this way, and if not, is there some workaround?

View 2 Replies View Related

Ubuntu Networking :: Share Files On Windows Based Router And Network?

Jun 14, 2010

I have a Linksys router configured via Windows 7 and have to other PC's using Ubunto, and would like to share folders on the 2 Linux boxes with the Windows Laptop. I can see the windows network through the Linux machines but not vice-versa. I also have a Konica 1400W printer connected to the Linux box but can't get the W7 laptop to find it.Sharing message box states I haven't installed the correct sharing packages, but cant find them

View 2 Replies View Related

Ubuntu Networking :: Cant Edit / Delete Files Over Samba From Windows?

Jan 2, 2010

I just installed Ubuntu server 9.04 and am try to get it all set up but Ive run into a snag with Samba. I cant delete, add, or change files from my windows machine like I could before. Here is my minimalist Samba config that I used on my old ubuntu server:

Quote:

[global]
server string = %h server (Samba, Ubuntu)
security = SHARE
map to guest = Bad User
obey pam restrictions = Yes

[Code]....

Im sure its just one small thing Im forgetting..Its been a while since I played around with my server!

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

Fedora Installation :: Samba / Network Folder And See Other Computers Shared Files And Share Files?

May 5, 2010

I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.

How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?

I hope it's not so difficult and that I have to change i config-files.

I am new to Fedora.

View 4 Replies View Related

Networking :: Sharing Files On Windows Network Using Samba?

Sep 18, 2010

I am using ubuntu 10.04 .I tried to share my files on windows network using samba , I changed theworkgroup name in samba configuration file ..but it dint work for me will you please tell me the exact procedure to share the files on windows network ..

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







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