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?
i have Centos 5.3 installed with TXT mode i want to create and share one folder to be accesible to me from the network, to download and share files into it with my Host, i created the folder but dont know how to share it,
I feel ashamed for even asking this, since it seems like there's about 3 samba questions here every day. However after an hour of searching, I keep finding strange variants that aren't what I need.
My Goal: Create a single file share on an Ubuntu Server - share it via samba to Windows clients that are on a domain with active directory. It sure would be nice if AD authentication would work - so users don't have to type in a linux user/passsword each time they want to access the share.
In my adventures, I've found the following items (which may overlap)
1. Joining the server to a Windows Domain
2. Turning the server into a Windows Domain Controller
3. Authentication with LDAP (still not quite sure how/what this would do)
4. Stuff with Kerberos
5. Lots of people bickering about Samba 3/4 & how it's impossible to make Samba a PDC.
I'm not sure if I need to make the ubuntu server a domain controller or not...all I want to do is create a file share and share it on the domain...I don't need to make the ubuntu server a domain controller for that, right? Maybe just a member? Maybe nothing at all?
I guess if I want to authenticate stuff correctly (or forward authentication requests? Not sure), I probably need to join the ubuntu server to the domain...I think.
But let's say I do join it to the domain...then how to I create a file share that is authenticated via active directory rather than a local ubuntu server account? I see a dozen guides on joining the server to the domain, but nobody ever mentions sharing the folder over the domain.
The lines are also blurred between joining Ubuntu to the domain and making it a domain controller. What should I keep an eye out to avoid in these tutorials?
I get lost between the Kerberos/LDAP/Samba/WinBind etc...and I have a feeling I don't need all of these for something this simple.
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.
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: >
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.
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.
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
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?
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
in my office we are using redhat server and 20 windows client machine. some times while viewing the server stored files or not able to view.yesterday i saw a problem all the files are showing but not able to open a single fine after restarting the computer iam able to open the file.
I have a fileserver running openSUSE 11.2 and samba services for file access from MS Windows based workstations. My question relates to changing default permissions on files and directories created from the windows clients.
Following are extracts of the /etc/samba/smb.conf file :
Even with the above entries, sometimes there are files and directories created by the windows clients having permission
I have a client in Pittsburgh that has a Mac server and a Linux (RHEL) server on a LAN. They have a Netgear FVS 318v3 router on which they had a VPN running. They could do this because they had the router configured for IP-SEC and they only had Mac laptops as clients. I'm told Mac laptops can be configured to connect to IP-SEC VPNs, but Linux (I have Ubuntu) clients cannot.
I'm told that we need an PPTP VPN, and that the Netgear can not act as an endpoint, but can pass PPTP traffic to one of the servers if we set them up as a PPTP server.
We hired two different network consultants to set up the VPN, but neither one is able to set up a VPN to allow both the Mac and Linux laptops to connect.
Why is this so difficult? Lots of companies have VPNs that allow any client to connect.
Would it be better for us to purchase a different router that can act as a PPTP endpoint?
Do I want the router to act as a PPTP endpoint, or would it be better for me to use the Netgear and set up a PPTP service on one of the servers? Or, is there some better solution?
having trouble connecting to many websites due to recent actions of the Iranian government on banning a lot of websites.That's why, I decided to make my computer act like a bridge for their computers, so that they can surf the web using my Internet connection in US. I have Arch linux running on my desktop. I tried to install OpenVPN based on the instructions at ArchWiki page, but I had no success. I guess OpenVPN is too much for what I want to achieve and ArchLinux repositories don't have all the necessary packages to configure it based on some posts I read.
Earlier this year I had probs getting Windows 7 to share files with Linux over a network. I uninstall Windows sign-in assistant and this worked.
Recently I installed Windows Live Essentials 2011 and all seems to have gone pear shaped because I can no longer share files with Ubuntu and Windows 7.
I need to view 10.858 text files by this friday to see which ones I need (searching file contents is not a solution), I was wondering if anyone knew any way/program to quickly view them as if they were, for example, images? And, optionally, to be able to save them to a different location from there? It doesn't necessarily have to be for Ubuntu as I also have WinXP and Vista, but it would save me having to transfer those couple of gigabytes to another computer.
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.
I am having trouble sharing files between Ubu and Win boxes. We have seval boxes hooked up to the same router. XP and Vista boxes are part of the same workgroup (lets call it FOO). No domain. It is a simple home network. Each Win box has its own name. Win boxes can see each other (by clicking Network icon from control panel). Shared resources can be accessed by providing user name and password. Now I need to make Maverick box a part of the the same workgroup. All group members should be able to access Maverick's shared recourse by providing user name and password and vice versa.
I installed samba (is that what I need?), but couldn't get things working yet. Official docs aren't very clear. What is the server name and domain? Win boxes don't need any of that. I can just click network icon and go into any computer I want. What are the steps to setup Ubu box similarly? Samba docs say edit smb.conf file. I have 2 in my box :
/usr/share/samba/smb.conf /etc/samba/smb.conf
Which one is for editing. Where do I put FOO (our work-group name)? How to set permissions?
Is there a way to use Nautilus (or another non-KDE based burning program) to burn files to CD which exist on a Windows share? Whenever I drag files into the Blank CD window, it says Error (Operation not supported by backend). I'm running Ubuntu 10.04 (Lucid)
I have been able to accomplish my goal of creating an AD-like authentication using LDAP,SAMBA and LAM. From what I have seen you can have this type of setup but it doesn't allow the passing of group policies to the desktops of the users.
Using a GUI file browser, I would like to be able to mark files with an emblem or something similar as quickly as possible, with a single click. I'm currently using Gnome Nautilus in my Ubuntu 10.04, which doesn't seem to offer the functionality. I'm not keen on trying the extension Nautilus-Actions as it doesn't seem to be open source. I've set up some scripts though, but accessing them through the pop-up submenu is just clunky enough to still have me searching for a faster solution. Does a file browser exist that would let me set up a toolbar button for marking files? Or a button for launching scripts, which would amount to the same thing.
I can see linux share folders from windows,but not the windows share files from Linux.The windows pc name is jm-pc and the share file is temp. When the command nmblookup is used it discovers the Windows pc ok.
Code: nmblookup jm-pc querying jm-pc on 10.0.0.255 10.0.0.3 jm-pc<00>
i created a folder /home/windows and ran the smbmount command
Code: root[~]# smbmount \\jm-pc\temp /home/windows mount error: could not resolve address for jm-pc: No address associated with hostname No ip address specified and hostname not found
When i try to run smbclient,and enter the correct password that was created for samba(which is the same password as the Windows pc):
I have an internal domain (dev.lan) for which my Ubuntu server is authoritative. We have a number of subdomains under that domain (test.dev.lan, svn.dev.lan, etc.). The server also acts as the primary DNS server for my office. It was originally set up under Ubuntu 8 and worked great.
However, ever since we upgraded to Ubuntu 10, our Windows clients periodically lose the ability to resolve domains on the dev.lan domain. Internal IP addresses can still be pinged from the Windows machines so it does not appear to be a network-connectivity issue. External domain names continue to resolve without any problems. The only workaround is to restart networking on the Windows clients. It's frustrating because it happens several times a day.
I have Ubuntu 10.04 in my laptop and at the same time I have Windows 7 (partitioned disk). I use mostly Ubuntu, but I need windows for some stuff. I want to share files of windows with Ubuntu (is weird but when I installed Ubuntu never gave me the option "share files from windows", I dunno why). Anyway, I can see the disk in Ubuntu, and I can see the folder /Documents and settings/, that creates windows by default with my files. However, the route is too long to arrive there from Ubuntu using the Terminal.
I created a shadow link using lndir to arrive to my files easier. It works fine, however, sometimes when I go to the files using this route, these are lightened in red, and when I try to enter to one of these folders, the system doesn't recognize it. After a while, these are in blue and I can go in them. Why it is happening?. What I did Is the "correct" way to do it?.
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
Given a single SMB network share (for example, \server\SHARED_FOLDER), I want to recursively list all the files, including those in the subdirectories (like find(1)).
I would prefer to do it in Linux, but I also accept Windows answers.
I just made my first RedHat Enterprise v5 installation, the thing is that i have on my network a windows server that i use for storage, i want to be able to share files between the windows server and the RH server, i already edit the smb.conf file and put my workgroup name, but i still cant see my the windows server. When o try to connect using the connect to server option it says, "could not open the location 'smb://server_ip_address/' Unknown error code: 46", i can ping the windows server
I am buying a new laptop and am curious about dual booting it. I currently run Ubuntu full time, but will need windows for a few applications. (there are no cross over applications to do this)
When you put both windows and ubuntu on a computer do you share the hard drive? Meaning would I be able to access all my music in windows and then restart my computer-run ubuntu, would I have access to all the files?